Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.modama.jaiutil.operators
Class SliceOpImage  view SliceOpImage download SliceOpImage.java

java.lang.Object
  extended byStatisticsOpImage
      extended byorg.modama.jaiutil.operators.SliceOpImage

public class SliceOpImage
extends StatisticsOpImage

the slice operation, only rectangular ROIs are handled correct


Field Summary
protected  java.awt.Rectangle bounds
           
protected  double fac
          factor to normalize the values if thickness is greater then 1
protected  java.lang.String[] names
           
protected  int numBands
           
 
Constructor Summary
SliceOpImage(java.awt.image.RenderedImage renderedImage, ROI roi, int xStart, int yStart, int xPeriod, int yPeriod)
           
 
Method Summary
protected  void accumulateStatistics(java.lang.String s, java.awt.image.Raster raster, java.lang.Object o)
          make the slice
protected  java.lang.Object createStatistics(java.lang.String s)
          we will always create a double[] object
protected  int getSizeForPeriod(int size, int period)
           
protected  java.lang.String[] getStatisticsNames()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

names

protected final java.lang.String[] names

bounds

protected java.awt.Rectangle bounds

numBands

protected int numBands

fac

protected double fac
factor to normalize the values if thickness is greater then 1

Constructor Detail

SliceOpImage

public SliceOpImage(java.awt.image.RenderedImage renderedImage,
                    ROI roi,
                    int xStart,
                    int yStart,
                    int xPeriod,
                    int yPeriod)
Method Detail

getStatisticsNames

protected java.lang.String[] getStatisticsNames()

getSizeForPeriod

protected int getSizeForPeriod(int size,
                               int period)

createStatistics

protected java.lang.Object createStatistics(java.lang.String s)
we will always create a double[] object


accumulateStatistics

protected void accumulateStatistics(java.lang.String s,
                                    java.awt.image.Raster raster,
                                    java.lang.Object o)
make the slice