mpicbg.ij.integral
Class NormalizeLocalContrast

java.lang.Object
  extended by mpicbg.ij.integral.BlockStatistics
      extended by mpicbg.ij.integral.NormalizeLocalContrast

public class NormalizeLocalContrast
extends BlockStatistics

Normalize contrast based on per-pixel mean and STD.

Author:
Stephan Saalfeld

Nested Class Summary
 
Nested classes/interfaces inherited from class mpicbg.ij.integral.BlockStatistics
BlockStatistics.RowIntegrator
 
Field Summary
protected  FloatProcessor fpOriginal
           
 
Fields inherited from class mpicbg.ij.integral.BlockStatistics
fp, sums, sumsOfSquares
 
Constructor Summary
NormalizeLocalContrast(FloatProcessor fp)
           
 
Method Summary
 void run(int blockRadiusX, int blockRadiusY, float meanFactor, boolean center, boolean stretch)
           
protected  void runCenter(int blockRadiusX, int blockRadiusY)
           
protected  void runCenterStretch(int blockRadiusX, int blockRadiusY, float meanFactor)
           
protected  void runStretch(int blockRadiusX, int blockRadiusY, float meanFactor)
           
 
Methods inherited from class mpicbg.ij.integral.BlockStatistics
integrateColumns, integrateRows, integrateRowsParallel, mean, mean, sampleVariance, sampleVariance, std, std, variance, variance
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

fpOriginal

protected final FloatProcessor fpOriginal
Constructor Detail

NormalizeLocalContrast

public NormalizeLocalContrast(FloatProcessor fp)
Method Detail

runCenter

protected void runCenter(int blockRadiusX,
                         int blockRadiusY)
Parameters:
ip -
v -

runStretch

protected void runStretch(int blockRadiusX,
                          int blockRadiusY,
                          float meanFactor)
Parameters:
ip -
v -

runCenterStretch

protected void runCenterStretch(int blockRadiusX,
                                int blockRadiusY,
                                float meanFactor)
Parameters:
ip -
v -

run

public void run(int blockRadiusX,
                int blockRadiusY,
                float meanFactor,
                boolean center,
                boolean stretch)
Parameters:
ip -
v -


Copyright © 2007-2016 Fiji. All Rights Reserved.