Posted by
Joachim Wesner on
Nov 12, 2009; 10:34am
URL: http://imagej.273.s1.nabble.com/Filtering-images-tp3690427p3690436.html
Hi,
I do not fully understand what exactly your problem is, as it seems that
you already successfully filtered 1000 images!?
Is it:
1) How to apply a plugin or macro to a larger number of images
automatically, probably saving the result under a different filename?
OR
2) How to easily adjust some constants in a "fixed" macro without the need
to rewrite the macro any time?
In the case of 1) I do not know if there is a built-in way, but i think it
wouldn´t be too difficult to come up with a plugin that does just that:
Ask for a filename specification and runs a plugin on all images and
resaves them
(maybe specifying the filename by a filter string "*xa*bl.dat" (like Import
Image sequence) or from a text file with all the filenames in question
Such a plugin it would be very useful in many cases IMHO
Maybe somebody will correct me here and already has a flexible ready-to-run
solution
You COULD use the already existing Image Importer to convert your images to
one HUGE(virtual) stack, than you can run automatically apply one plugin
to ALL slices of a stack and resave the slices.... IIRC
In case of 2) you could use a dialog (take a look oin the docs), to avoid
that it later pops up a 1000 times you can later supply those values as
arguments of the plugin/macro,
take a look at what the macro recorder generates if you run your plugin
with a dialog
Joachim Wesner
Olukayode Ajayi
<colenajayi@GMAIL
.COM> An
Gesendet von:
[hidden email]
ImageJ Interest Kopie
Group
<
[hidden email]. Thema
GOV> Filtering images
12.11.2009 07:54
Bitte antworten
an
ImageJ Interest
Group
<
[hidden email].
GOV>
I've about 1000 images and my intention is filter them. Here is a sample of
the original image:
http://www.mypicx.com/11122009/Orignal_image/and the sample of the filtered image is
this:
http://www.mypicx.com/11122009/Filtered_image/Here is my macros:
run("Brightness/Contrast...");
setMinAndMax(0, 140);
run("Apply LUT");
run("Sigma Filter Plus", "radius=4 use=3 minimum=1");
setAutoThreshold();
//run("Threshold...");
setThreshold(0, 168);
run("Convert to Mask");
However, if another 1000 images, I'll have to do another macros. How best I
can go about do this imageJ which automatically gives me the filtered
image.
Regards,
______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit
http://www.messagelabs.com/email
______________________________________________________________________