[ImageJ-bugs] [Bug 1205] ImageProcessor.flipHorizontal()/flipVertical() requires use of updateImage()
bugzilla at fiji.sc
bugzilla at fiji.sc
Fri Dec 11 22:15:51 CST 2015
http://fiji.sc/bugzilla/show_bug.cgi?id=1205
Wayne Rasband <wsr at nih.gov> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |wsr at nih.gov
Resolution|--- |WONTFIX
--- Comment #1 from Wayne Rasband <wsr at nih.gov> ---
Use the updateAndDraw() method. It updates the ImagePlus from the pixel data in
the associated ImageProcessor and updates the display. The setProcessor()
method will also work. Here is a runnable JavaScript example:
imp = IJ.openImage("http://imagej.nih.gov/ij/images/boats.gif");
imp.show();
ip = imp.getProcessor();
ip.flipVertical();
ip.flipHorizontal();
imp.updateAndDraw();
//imp.setProcessor(ip);
--
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/20151212/baa43eef/attachment.html>
More information about the Imagej-bugs
mailing list