Re: macro threshold values
Posted by
Jeremy Adler on
URL: http://imagej.273.s1.nabble.com/macro-threshold-values-tp5015759p5015766.html
Hi Natalie,
Do you want to select 2% of the total number pixels (those that are the most intense) or a population comprising of the most intense pixels that make up 2% of the total intensity above background, or something else ?
This may not be a good approach for counting cells if the number of cells is variable.
-----Original Message-----
From: ImageJ Interest Group [mailto:
[hidden email]] On Behalf Of Natalie M
Sent: den 29 februari 2016 18:43
To:
[hidden email]
Subject: macro threshold values
Hi all,
I am writing a macro to count cells in images I've taken of slides. Does anyone know what code I could use to have the macro threshold each image at the top 2% of each histogram, rather than at a set number value on each histogram?
Thanks in advance,
Natalie Morel
University of Wisconsin
--
ImageJ mailing list:
http://imagej.nih.gov/ij/list.html--
ImageJ mailing list:
http://imagej.nih.gov/ij/list.html