Manning's Countdown to 2014
. Use discount code crdotd14 all month for 50% off every deal.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Other Open Source Projects
Joined: Feb 22, 2011
Apr 15, 2011 06:26:43
I am trying to embed imagej in a
application, as I need to do the following sequence of operations on a passed image:
1-make rectangle around certain area.
The problem is the step of making rectangle does not work.
Here is a piece of code:
implus.setImage(bf); //bf is a buffered image
ij.run(implus, "Make Binary", ""); // converting to binary
ij.makeRectangle(30, 30, 30, 30);
The output of the program:
There are no images open.
and then the application stops.
Can any one tell me how I can do the operation of making rectangular selection on a passed image or buffered image?
With a little knowledge, a
cast iron skillet
is non-stick and lasts a lifetime.
subject: Imagej Question
Capturing an image to system clipboard
painting hundreds of Rectangles in JPanel
If objects can't be passed....
Conversion of image format
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013