public static void run(ImageProcessor ip,
Apply local contrast enhancement to and ImageProcessor.
The method performs best when you adjust the ImageProcessors
min and max range such that a region of interest in the image has
optimal contrast and spans the full range.
brx - block width
bry - block height
stds - in case that the contrast is to be stretched, how many STDs
wide should it be
cent - local contrast range at the estimated mean (the original
mean is at (max-min)/2), that is mean is mapped to min+(max-min)/2.
stret - stretch contrast such that mean-stds*STD is mapped to min
and mean+stds*STD is mapped to max (if cent is true) otherwise only
the scaling is performed such that max-min = 2*stds*STD