Login  Register

Re: How to cut an image into image parts ?

Posted by rajava on Oct 06, 2011; 5:40am
URL: http://imagej.273.s1.nabble.com/How-to-cut-an-image-into-image-parts-tp3682979p3682984.html

Hi Ed,
     thanks for the explanation, it really helped, but i have to modify this line to ,

 doWand(X[i],Y[i],10.0, "8-connected"); // run the wand tool at the location of interest from

from:

 doWand(X[i],Y[i]); // run the wand tool at the location of interest

to make it work.

These are some problem iam facing now,

1) I need to cut the part all the way to the outer edge so that that entire part is cut and not get included when i gut the bigger part of the image that might include this part. How do i do it ?

2) Is there any way to find the size  ( no. of pixels) of the cut part so that i can start cutting from the smallest part to the largest part which might work well to cut a finite distinct number of parts out of the image ?

Any help in this matter is appreciated.