|
Re: Less Filling: msg#00215java.imagej
On Wednesday 30 November 2005 16:08, Albert Cardona wrote: > Gabriel, this is a very nice hack, but there is one problem: if there > are holes, they will be included as well in the Wand selection, since > the Wand doesn't out-ROI the holes in its selections. Not necessarily. Here is another hack. I use black background and white foreground. Duplicate the image. Do as before: Adjust threshold, wand the blob, Make inverse, Fill, Invert. Now the blob remains in the original grey levels but includes holes, the background is black. However the red threshold is still maintained, so do this: Make Inverse (again, so the blob is selected) and apply the threshold making sure that the 2 top checkboxes are checked, but the third one is not. This will make a white blob that does not include the holes (they are black now). If you need the original grey levels, then AND this image with the duplicate you already did. This will work as far as the object does not include 0 grey level pixels, but one can be 'creative' about this (for instance add 1 before processing or similar). Cheers, Gabriel
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Less Filling, Albert Cardona |
|---|---|
| Next by Date: | Re: Less Filling, Wayne Rasband |
| Previous by Thread: | Re: Less Filling, Albert Cardona |
| Next by Thread: | Re: Less Filling, Wayne Rasband |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |