mpicbg.ij.clahe
Class Flat

java.lang.Object
  extended by mpicbg.ij.clahe.Flat
Direct Known Subclasses:
FastFlat

public class Flat
extends Object

&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},
 }
 

Version:
0.3b
Author:
Stephan Saalfeld

Constructor Summary
Flat()
           
 
Method Summary
static FastFlat getFastInstance()
           
static Flat getInstance()
           
static void run(ImagePlus imp, int blockRadius, int bins, float slope, ByteProcessor mask)
          Deprecated. Use the instance method getInstance().run(ImagePlus, int, int, float, ByteProcessor, boolean) instead.
 void run(ImagePlus imp, int blockRadius, int bins, float slope, ByteProcessor mask, boolean composite)
          Process and ImagePlus with a given set of parameters.
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
 void run(ImagePlus imp, int blockRadius, int bins, float slope, Rectangle roiBox, ByteProcessor mask, boolean composite)
          Process and ImagePlus with a given set of parameters including the bounding box and mask.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Flat

public Flat()
Method Detail

getInstance

public static Flat getInstance()

getFastInstance

public static FastFlat getFastInstance()

run

@Deprecated
public static void run(ImagePlus imp,
                                  int blockRadius,
                                  int bins,
                                  float slope,
                                  ByteProcessor mask)
Deprecated. Use the instance method getInstance().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

public final void run(ImagePlus imp,
                      int blockRadius,
                      int bins,
                      float slope,
                      ByteProcessor mask,
                      boolean composite)
Process and ImagePlus with a given set of parameters. Create mask and bounding box from the Roi of that ImagePlus and the passed mask if any.

Parameters:
imp -
blockRadius -
bins -
slope -
mask - can be null
composite - how to process CompositeImages true: interpret the displayed image as luminance channel for estimating the contrast transfer function false: process the active channel only as for non-composite images

run

public final void run(ImagePlus imp,
                      int blockRadius,
                      int bins,
                      float slope,
                      Rectangle roiBox,
                      ByteProcessor mask,
                      boolean composite)
Process and ImagePlus with a given set of parameters including the bounding box and mask.

Parameters:
imp -
blockRadius -
bins -
slope -
roiBox - can be null
mask - can be null
composite - how to process CompositeImages true: interpret the displayed image as luminance channel for estimating the contrast transfer function false: process the active channel only as for non-composite images

run

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

Parameters:
imp -
blockRadius -
bins -
slope -
boxXMin -
boxYMin -
boxXMax -
boxYMax -
src -
dst -
mask -
ip -


Copyright © 2007-2016 Fiji. All Rights Reserved.