NIH LISTSERV
NIH LISTSERV
IMAGEJ archives -- August 2003 (#54)

Go to: Previous Message | Next Message
Previous in Topic | Next in Topic
Previous by Same Author | Next by Same Author
Previous Page (August 2003) | Back to Main IMAGEJ Page


Options: Reply | Post a New Message | Join or Leave IMAGEJ, or Change Options | Search
View: Chronologically | Most Recent First | Wrap Text (Proportional Font) | Don't Wrap Text (Non-proportional Font)
*

Importance: Normal
Content-Type: text/plain; charset="us-ascii"
Message-ID:  <[log in to unmask]>
Date:         Thu, 7 Aug 2003 22:53:34 +0200
Reply-To:     ImageJ Interest Group <[log in to unmask]>
Sender:       ImageJ Interest Group <[log in to unmask]>
From:         Denis Bauer <[log in to unmask]>
Subject:      Calling Menu Commands

I'd like to copy a region from an Image with the size "size x size". For this new Image I'd like to do the FFT. I tried to do it like this: ImagePlus new_pic= NewImage.createByteImage ("new_pic", size, size, 1, NewImage.FILL_WHITE); ImageProcessor new_ip = new_pic.getProcessor(); new_ip.copyBits(ip,0,0,Blitter.COPY); // new_pic.unlock(); IJ.run("FFT"); new_pic.show(); new_pic.updateAndDraw(); two problems occurred: 1) an errormessage, which says that the picture is locked. So I tried to unlock it with the commented line, but it didn't work 2) if I use an gif-File the copied picture is inverted Thank you for your help !!! Denis




Back to: Top of message | Previous page | Main IMAGEJ page

NIH LISTSERV Home Page

CIT
Center for Information Technology
National Institutes of Health
Bethesda, Maryland 20892
301 594 6248 (v) 301 496 8294 (TDD)
Comments and Assistance
Accessibility wheelchair icon