BIJ API

volume
Class Diffusion

java.lang.Object
  |
  +--volume.Diffusion

public class Diffusion
extends java.lang.Object

This is a class that implements nonlinear diffusion in 2D. Copyright (c) 1999-2003, Michael Abramoff. All rights reserved.


Field Summary
protected  ij.ImagePlus imp
           
protected static int iterations
           
protected static float k
           
protected static float lambda
           
protected  float[] result
           
protected  boolean scaleSpaceContrast
           
 
Constructor Summary
Diffusion(ij.ImagePlus imp)
           
 
Method Summary
 void compute()
           
protected static float dE(float[] source, int width, int x, int y)
           
protected static float dN(float[] source, int width, int x, int y)
           
protected static float dS(float[] source, int width, int x, int y)
           
protected static float dW(float[] source, int width, int x, int y)
           
protected static float g(float grad, float k)
           
 ij.process.ImageProcessor getProcessor()
           
protected static float gScaleSpace(float a, float k)
           
 boolean params()
           
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

iterations

protected static int iterations

k

protected static float k

lambda

protected static float lambda

imp

protected ij.ImagePlus imp

result

protected float[] result

scaleSpaceContrast

protected boolean scaleSpaceContrast
Constructor Detail

Diffusion

public Diffusion(ij.ImagePlus imp)
Method Detail

params

public boolean params()

compute

public void compute()

gScaleSpace

protected static float gScaleSpace(float a,
                                   float k)

g

protected static float g(float grad,
                         float k)

dN

protected static float dN(float[] source,
                          int width,
                          int x,
                          int y)

dS

protected static float dS(float[] source,
                          int width,
                          int x,
                          int y)

dE

protected static float dE(float[] source,
                          int width,
                          int x,
                          int y)

dW

protected static float dW(float[] source,
                          int width,
                          int x,
                          int y)

getProcessor

public ij.process.ImageProcessor getProcessor()

BIJ API

Submit a bug or feature

Copyright (c) 1997-2003 Michael Abramoff
Licensing available. All Rights Reserved.