On Sun, Oct 04, 2009 at 09:03:57AM +0200, Frank van Maarseveen wrote:
> 
> On Sat, Oct 03, 2009 at 03:26:57PM -0500, Udi Fuchs wrote:
> > > -       horizontal flip + reset doesn't work (no reset)
> > 
> > Fixed. The problem was that value-changed signal was not emitted.
> > 
> > > -       vertical flip is translated into a 180 degree rotation which 
> > > isn't.
> > 
> > I define 0 angle as an arrow pointing upward (12 o'clock). With this
> > definition a vertical flip does translate into a 180 degree rotation.
> 
> Rotation and mirroring are different transformations, visually and in math.

Not entirely. To go between an unmirrored image and a mirrored one, you
need to choose arbitrarily which axis to flip around. If we've chosen
the y axis, then the "flip horizontal" operation is just a flip around
that axis, but "flip vertical" is a combination of that flip and a 180
degree rotation.

The y axis is the right choice for our purposes, because for many
subjects without text or suchlike, a photo can be flipped on that axis
for pure compositional preference. However for almost any subject aside
from closeups of textures, a vertical flip would be considered "upside
down" as well as "mirrored" by the viewer.

If you allow flips around either axis without considering one of them to
involve a rotation, you have a state tracking and normalisation problem
because there are multiple ways to get the same result.


Martin

------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
ufraw-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ufraw-devel

Reply via email to