Re: image rotation
- From: Willem <willem@xxxxxxxx>
- Date: Thu, 24 Nov 2005 13:17:33 +0000 (UTC)
Nishu wrote:
) its related to post-processing after decompression. just an off-topic
) question.
)
) Pixel by pixel method will make algo a lot of complex.. just consider
) the case of 8x6 (widthxheight) pixel image only for 90 deg rotation,
) content of 1 location -> at 6 location 6 loc -> 36 loc, 36 -> 20, 20 ->
) 22 and so on.. It makes it a lot more complex than i expected.
Well, it's quite easy to figure out where each pixel needs to go, so
following one such cycle should be easy. The difficulty comes in
selecting the set of starting points so you have each cycle exactly once.
You could consider having the decompressor write its values to the
'rotated' positions, it should be easy to write some kind of wrapper around
the 'set_pixel' routine or whatever.
SaSW, Willem
--
Disclaimer: I am in no way responsible for any of the statements
made in the above text. For all I know I might be
drugged or something..
No I'm not paranoid. You all think I'm paranoid, don't you !
#EOT
.
- References:
- image rotation
- From: Nishu
- Re: image rotation
- From: megagurka
- Re: image rotation
- From: Nishu
- image rotation
- Prev by Date: Re: image rotation
- Next by Date: Re: image rotation
- Previous by thread: Re: image rotation
- Next by thread: Re: image rotation
- Index(es):
Relevant Pages
|
|