On Jun 25, 2010, at 11:06 AM, Juanjo Vega wrote:
> Hello everyone,
>
> I'm trying to perform normalization for a set of images. I have seen the
> "Contrast Enhancer" operation, which allows to select "normalize" in its
> dialog, but it only works with single images. What I need is to get
> maximum and minimum value in several images to calculate the
> normalization factor.
>
> I have implemented it by myself and, according to my debugging results,
> it works fine. The problem is about displaying the images, because
> ImageJ seems to adjust bright and contrast when image is shown.
>
> I think the problem might be caused by the image type, as it contains
> float values, but I don't know if there is a way to set the maximum and
> minimum values manually, so I can calculate the global values to send
> them to "contrast enhancer".
>
> I also though that there might be a plugin for that already implemented
> or something, but after a while looking for it, I can't find anything.
>
> Can anybody throw a bit of light into it? =)
>
> Sincerelly,
>
> Juanjo.
The Process>Enhance Contrast command will normalize all the images in a stack if you set "Saturated pixels" to 0.0 and check "Normalize all n images".
-wayne