[ImageJ-bugs] [Bug 1158] New: Selection changes position when rotated and rotated back by the same angle

bugzilla at fiji.sc bugzilla at fiji.sc
Mon Sep 14 20:58:27 CDT 2015


http://fiji.sc/bugzilla/show_bug.cgi?id=1158

            Bug ID: 1158
           Summary: Selection changes position when rotated and rotated
                    back by the same angle
           Product: Fiji
           Version: unspecified
          Hardware: PC
                OS: Windows
            Status: NEW
          Severity: enhancement
          Priority: P5
         Component: Other
          Assignee: imagej-bugs at imagej.net
          Reporter: thedesertshadow at gmail.com

Created attachment 260
  --> http://fiji.sc/bugzilla/attachment.cgi?id=260&action=edit
"Useful information about your system" copied from the Bug Report Form

When I run the following macro, the resulting polygon selection changes
position from the initial polygon. I have tried this on tiff and png files. 

makePolygon(479,637,1003,429,937,335,689,444,604,363,643,463,445,537);
run("Draw");
run("Rotate...", "angle=45");
run("Rotate...", "angle=-45");

When I was testing this problem, it also occurred for squares when the x and y
coordinate were not the same - however, I updated my version of Fiji, and this
no longer occurs. E.g.:
run("Specify...", "width=100 height=100 x=100 y=300");
run("Draw");
run("Rotate...", "angle=45");
run("Rotate...", "angle=-45");

Is the centre of the object the point of rotation?

Thanks,
Linda

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://imagej.net/pipermail/imagej-bugs/attachments/20150915/9e057522/attachment.html>


More information about the Imagej-bugs mailing list