Dear Oliver,
the attached makro should more or less do what you want to do (if I got it
correct). If you still have questions you can also contact me off-list.
requires("1.33s");
dir1 = getDirectory("Choose Source Directory ");
list = getFileList(dir1);
setBatchMode(true);
for (i=0; i<list.length; i++) {
showProgress(i+1, list.length);
open(dir1+list[i]);
setAutoThreshold();
run("Analyze Particles...", "size=0-Infinity circularity=0.00-1.00
show=Nothing display exclude clear summarize record");
close();
}
Cheers Arne
____________________________________________________
Arne Seitz, Scientific Officer
Advanced Light Microscopy Facility
EMBL Heidelberg
+49 6221 387 8467
-----Ursprüngliche Nachricht-----
Von: ImageJ Interest Group [mailto:
[hidden email]] Im Auftrag von
Oliver Dick
Gesendet: Donnerstag, 16. August 2007 15:30
An:
[hidden email]
Betreff: number of results to excel?
Dear List-members,
I want to analyze images with cells that show different intensity for a
certain nuclear staining. Currently I set the threshold manually and use
the analyze particles feature of ImageJ to count either all or the cells
with the high intensity. From the results table I only need the last
number because I am only interested in the number of cells with a
certain intensity-range.
Unfortunately I have a lot of images to analyze -- meaning open them all
twice, running the threshold/analyze particle thing and then I just note
the number of cells in excel.
Is there a way to tell imageJ to open several images and perform on each
the procedure and then to transfer the number of cells to an excel document?
I have tried to use the excel writer, but this gives me always the
complete results table and not only the last number.
Any help or suggestions are appreciated.
Oliver
--
Dr. Oliver Dick
Neurobiologie
Im Neuenheimer Feld 364
69120 Heidelberg
Tel.: ++49/(0)6221/548329
Fax.: ++49/(0)6221/546700
Email.:
[hidden email]