> Hello all,
> I try to use ImageJ for a while and haven't figure
> how I can do this.
> I have a small object inside a 120x120 image. Let
> the rectangle bounded around the small object is
> 25x25. I would like to scale up the 25x25 object to
> NEW 100x100 image.
> May I know how I can do this in ImageJ?
> Thank you.
> Start your day with Yahoo! - make it your home page
> http://www.yahoo.com/r/hs >
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
Within a plugin, the sequence of commands is something like this:
//check for any images open first ! Then make a processor which is the
part of the image inside the ROI. If there is no ROI then the whole
processor will be copied:
ImageProcessor ip =
//then make a new image:
ImagePlus imp = new ImagePlus("the roi", ip);
Institute of Neuroinformatics Tel : +41 1 635 3052
University/ETH Zurich Fax : +41 1 635 3053
Winterthurerstrasse 190 acardona (at) ini phys ethz ch
Zurich 8057, Switzerland www.ini.unizh.ch