Re: 90 Rotation in one buffer only
- From: "Andrey Kuznetsov" <spam0@xxxxxxxxxxxxxxxxxxx>
- Date: Fri, 25 Nov 2005 10:52:25 +0100
> That looks of course better. (-; However, there's still a problem
> here: You need at least a buffer of width and height =
> max(width,height) of the original image data, i.e. it will perform
> "out of bounds" accesses unless the image is square. Solving that
> problem is actually the harder part of it. Of course a memory chunk of
> width * height pixels should be enough to perform a rotation "in
> place", but it is very hard to do unless width = height.
yes, I spoke only about square images.
However, it should be possible to rotate non-square
image - since buffer size doesnot change...
--
Andrey Kuznetsov
http://uio.imagero.com Unified I/O for Java
http://reader.imagero.com Java image reader
http://jgui.imagero.com Java GUI components and utilities
.
- Follow-Ups:
- Re: 90 Rotation in one buffer only
- From: Naresh
- Re: 90 Rotation in one buffer only
- References:
- 90 Rotation in one buffer only
- From: Naresh
- Re: 90 Rotation in one buffer only
- From: Andrey Kuznetsov
- Re: 90 Rotation in one buffer only
- From: Thomas Richter
- Re: 90 Rotation in one buffer only
- From: Andrey Kuznetsov
- Re: 90 Rotation in one buffer only
- From: Thomas Richter
- 90 Rotation in one buffer only
- Prev by Date: Re: 90 Rotation in one buffer only
- Next by Date: Re: Phase Correlation...
- Previous by thread: Re: 90 Rotation in one buffer only
- Next by thread: Re: 90 Rotation in one buffer only
- Index(es):
Relevant Pages
|