bilateralfilterinstant
Class Allocation

java.lang.Object
  extended by bilateralfilterinstant.Allocation
All Implemented Interfaces:
java.lang.Runnable

public class Allocation
extends java.lang.Object
implements java.lang.Runnable

This class is in charge of allocate the memory to store all the intermediate results of the Bilateral Filter.


Constructor Summary
protected Allocation(int nchannels, int size)
           
 
Method Summary
protected  float[][] getArray()
           
protected  float[] getChannel(int c)
           
protected  int getNumberChannels()
           
 void run()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Allocation

protected Allocation(int nchannels,
                     int size)
Method Detail

run

public void run()
Specified by:
run in interface java.lang.Runnable

getArray

protected float[][] getArray()

getChannel

protected float[] getChannel(int c)

getNumberChannels

protected int getNumberChannels()