I did smth like this to simulate it (it was a stack of 14 images split into
3x2 tiles per image). It's not adaptive though (see my original comments):
\begin{ macrocode }
//making a fat_mask (rather complicated and unelegant!)
//making tiles from the original stack
run("Make Montage...", "columns=1 rows=14 scale=1 first=1 last=14
increment=1 border=0");
run("Stack Maker", "images_per_row=3 images_per_column=28");
//automatic thresholding of tiles
for (i=1;i<=nSlices;i++){
setSlice(i);
resetThreshold();
setAutoThreshold();
run("NaN Background", "slice");
}
//making old stack
run("Make Montage...", "columns=3 rows=28 scale=1 first=1 last=84
increment=1 border=0");
run("Stack Maker", "images_per_row=1 images_per_column=14");
\end{macrocode}
you need the new stackMAker plugin (it's macro-recordable)
There's also a plugin that helps you in simulating adaptive thresholding
called _dynamic thresholds_.
Hope it helps,
Tom (also)
-----Ursprüngliche Nachricht-----
Von: ImageJ Interest Group [mailto:
[hidden email]] Im Auftrag von
Thomas Sadowski
Gesendet: Mittwoch, 21. Juni 2006 20:50
An:
[hidden email]
Betreff: ROI and Local Thresholding
Hello all,
I was wondering if anyone knows of any plugin that will break an image into
side by side ROI so that I can apply a local thresholding algorithm
Thanks in advance
Tom
_________________________________________________________________
Try Live.com: where your online world comes together - with news, sports,
weather, and much more.
http://www.live.com/getstarted=