Am 15.03.2012 um 10:53 schrieb Thomas Binder:
> Hello, I need help with
>
> Hue histogram, where the population of cells studied turns around the hue circle from
>
> 250 to 255 and continues from 0 to 20
>
> I am no programmer, only a clinical haematologist working on colorimetry of stained blood cells
> (quality assessment of stainig procedures).
>
> Erythroctes display on Pappenheim (MGG) stained smears, depending on the pH of the staining buffer, sometimes
>
> HSB hue values going from 250 to 20, on correct stains from 230 to 250
>
> - the histogram is correct, when values do not turn around
>
> - but, when hue is turning around, only modal value is correct, mean and standard deviation are not
>
> to obtain those values, I have to export the raw hue values, transpose the low values on the top, and then calculate the histogram distribution
> (using OpenOffice tables).
>
> Is there anyone to help me?
>
> Any help greatly appreciated
>
> Kind regards,
>
> Thomas Binder
> Germany
To overcome the modular character of hue, you can calculate mean and sd on a duplicate processed with run("Macro...", "code=[v=((v+128) % 255)]"); The original should be 8-bit!
If the sd of the duplicate is smaller than the sd of the original the mean of the duplicate reduced by 128 is the real mean of hue. The minimum sd is the real sd.
If the hue distribution of the original spreads over the whole range possibly you have to test with several shift values, say 64, 128, 192 or even more to find the minimum sd!
Good luck, statistics on modules is not simple
Karsten
[hidden email]