Consistent equalization on set of images

Stéfan van der Walt stefan at sun.ac.za
Wed May 28 19:50:55 EDT 2014


Hi Jim

On Tue, May 27, 2014 at 7:33 PM,  <jim at rybarski.com> wrote:
> I want to use exposure.equalize_adapthist() on a set of images, but a
> defined part of each image occasionally will have a very bright object in
> it, which I would like to ignore when calculating the equalization.
> Currently, the images with the very bright object are much darker than the
> images without it.

It sounds like histogram matching might be a good first step.  See, e.g.,

https://github.com/stefanv/supreme/blob/master/supreme/photometry/register.py#L30

That function hasn't been battle tested, so you may want to use it as
inspiration only.

Stéfan



More information about the scikit-image mailing list