sigus.parameterExtraction
Class ImageMomentsExtractor_
java.lang.Object
sigus.parameterExtraction.ParameterExtractor_
sigus.parameterExtraction.ImageMomentsExtractor_
- All Implemented Interfaces:
- ij.plugin.filter.PlugInFilter
- public class ImageMomentsExtractor_
- extends ParameterExtractor_
Extract features from an image ROI based on Image Moments calculated for each cell of grid imposed on the ROI
Fields inherited from interface ij.plugin.filter.PlugInFilter |
DOES_16, DOES_32, DOES_8C, DOES_8G, DOES_ALL, DOES_RGB, DOES_STACKS, DONE, NO_CHANGES, NO_IMAGE_REQUIRED, NO_UNDO, ROI_REQUIRED, STACK_REQUIRED, SUPPORTS_MASKING |
Method Summary |
private int |
calcRegion(int x,
int y,
java.awt.Rectangle r,
double[] pars,
double[] xsum,
double[] ysum)
|
void |
drawParameters(ij.process.ImageProcessor ip,
java.awt.Rectangle r)
|
void |
extract(ij.ImagePlus imp)
Extract the parameters from the pointed by imp |
void |
initializeNames()
|
(package private) void |
showAbout()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MAX_REG
private static int MAX_REG
MAX_GLOBALS
private static int MAX_GLOBALS
MAX_GRUPOS
private static int MAX_GRUPOS
ignoreMargin
private int ignoreMargin
ImageMomentsExtractor_
public ImageMomentsExtractor_()
initializeNames
public void initializeNames()
- Specified by:
initializeNames
in class ParameterExtractor_
extract
public void extract(ij.ImagePlus imp)
- Description copied from class:
ParameterExtractor_
- Extract the parameters from the pointed by imp
- Specified by:
extract
in class ParameterExtractor_
calcRegion
private int calcRegion(int x,
int y,
java.awt.Rectangle r,
double[] pars,
double[] xsum,
double[] ysum)
drawParameters
public void drawParameters(ij.process.ImageProcessor ip,
java.awt.Rectangle r)
- Specified by:
drawParameters
in class ParameterExtractor_
showAbout
void showAbout()
- Overrides:
showAbout
in class ParameterExtractor_