mpicbg.ij.clahe
Class FastFlat

java.lang.Object
  extended by mpicbg.ij.clahe.Flat
      extended by mpicbg.ij.clahe.FastFlat

public class FastFlat
extends Flat

&lsquot;Contrast Limited Adaptive Histogram Equalization&rsquot; as described in
BibTeX:

 @article{zuiderveld94,
   author    = {Zuiderveld, Karel},
   title     = {Contrast limited adaptive histogram equalization},
   book      = {Graphics gems IV},
   year      = {1994},
   isbn      = {0-12-336155-9},
   pages     = {474--485},
   publisher = {Academic Press Professional, Inc.},
   address   = {San Diego, CA, USA},
 }
 
This version calculates the CDF for adjacent blocks and interpolates the respective CDF for each pixel location in between.

Version:
0.3b
Author:
Stephan Saalfeld

Constructor Summary
FastFlat()
           
 
Method Summary
static void run(ImagePlus imp, int blockRadius, int bins, float slope, ByteProcessor mask)
          Deprecated. Use the instance method Flat.getInstance().Flat.run(ImagePlus, int, int, float, ByteProcessor, boolean) instead.
protected  void run(ImagePlus imp, int blockRadius, int bins, float slope, int boxXMin, int boxYMin, int boxXMax, int boxYMax, ByteProcessor src, ByteProcessor dst, ByteProcessor mask, ImageProcessor ip, boolean composite, ArrayList<mpicbg.ij.clahe.Apply<?>> appliers)
          The actual implementation
 
Methods inherited from class mpicbg.ij.clahe.Flat
getFastInstance, getInstance, run, run
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FastFlat

public FastFlat()
Method Detail

run

@Deprecated
public static void run(ImagePlus imp,
                                  int blockRadius,
                                  int bins,
                                  float slope,
                                  ByteProcessor mask)
Deprecated. Use the instance method Flat.getInstance().Flat.run(ImagePlus, int, int, float, ByteProcessor, boolean) instead.

Process an ImagePlus with a given set of parameters. Create mask and bounding box from the Roi of that ImagePlus and the passed mask if any. Process CompositeImages as such.

Parameters:
imp -
blockRadius -
bins -
slope -
mask - can be null

run

protected final void run(ImagePlus imp,
                         int blockRadius,
                         int bins,
                         float slope,
                         int boxXMin,
                         int boxYMin,
                         int boxXMax,
                         int boxYMax,
                         ByteProcessor src,
                         ByteProcessor dst,
                         ByteProcessor mask,
                         ImageProcessor ip,
                         boolean composite,
                         ArrayList<mpicbg.ij.clahe.Apply<?>> appliers)
The actual implementation

Overrides:
run in class Flat
Parameters:
imp -
blockRadius -
bins -
slope -
boxXMin -
boxYMin -
boxXMax -
boxYMax -
src -
dst -
mask -
ip -


Copyright © 2007-2016 Fiji. All Rights Reserved.