org.cybertory.MSS
Class ZoneFeaturesImageOpDesc.CheckerboardFunction

java.lang.Object
  extended byorg.cybertory.MSS.ZoneFeaturesImageOpDesc.CheckerboardFunction
All Implemented Interfaces:
javax.media.jai.ImageFunction
Enclosing class:
ZoneFeaturesImageOpDesc

public class ZoneFeaturesImageOpDesc.CheckerboardFunction
extends java.lang.Object
implements javax.media.jai.ImageFunction

Produces an image so that the number of pixels horizontally & vertically matches the number of columns and rows of features, respectively. The image can be scaled to the desired size with parameters to the ImageFunction JAI operation.


Constructor Summary
ZoneFeaturesImageOpDesc.CheckerboardFunction(float[][][] intensities, int numChannels)
           
 
Method Summary
 void getElements(double startX, double startY, double deltaX, double deltaY, int countX, int countY, int element, double[] real, double[] imag)
           
 void getElements(float startX, float startY, float deltaX, float deltaY, int countX, int countY, int element, float[] real, float[] imag)
           
 int getNumElements()
           
 boolean isComplex()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ZoneFeaturesImageOpDesc.CheckerboardFunction

public ZoneFeaturesImageOpDesc.CheckerboardFunction(float[][][] intensities,
                                                    int numChannels)
Method Detail

getElements

public void getElements(double startX,
                        double startY,
                        double deltaX,
                        double deltaY,
                        int countX,
                        int countY,
                        int element,
                        double[] real,
                        double[] imag)
Specified by:
getElements in interface javax.media.jai.ImageFunction

getElements

public void getElements(float startX,
                        float startY,
                        float deltaX,
                        float deltaY,
                        int countX,
                        int countY,
                        int element,
                        float[] real,
                        float[] imag)
Specified by:
getElements in interface javax.media.jai.ImageFunction

getNumElements

public int getNumElements()
Specified by:
getNumElements in interface javax.media.jai.ImageFunction

isComplex

public boolean isComplex()
Specified by:
isComplex in interface javax.media.jai.ImageFunction