public class IqmOpFracScan extends AbstractOperator
| Modifier and Type | Field and Description |
|---|---|
private String |
fileName |
private String |
imgName |
private static org.apache.log4j.Logger |
logger |
private javax.media.jai.PlanarImage |
piSource |
private double |
typeGrayMax |
isCancelable, name, parentTask, pcs, type| Constructor and Description |
|---|
IqmOpFracScan() |
| Modifier and Type | Method and Description |
|---|---|
private javax.media.jai.PlanarImage |
addBorder(javax.media.jai.PlanarImage pi,
int kernelSize,
int borderMethod,
double[] borderValue)
Adds a border to the PlanarImage.
|
private void |
boxScan(WritableRaster wr,
javax.media.jai.PlanarImage pi,
int kernelSize,
int method,
int eps,
int boxSize)
Calculates different parameters based on arrays.
|
private double |
calcBoxDim(javax.media.jai.PlanarImage pi,
int eps)
Calculates Box dimension for kernel-array.
|
private double |
calcFFTDim(javax.media.jai.PlanarImage pi,
int eps)
Calculates FFT dimension for kernel-array.
|
private double |
calcMinkDim(javax.media.jai.PlanarImage pi,
int eps)
Calculates Minkowski dimension for kernel-array.
|
private double |
calcPyrDim(javax.media.jai.PlanarImage pi,
int eps)
Calculates Pyramid dimension for kernel-array.
|
String |
getName()
Gets the unique name of the
IOperator by returning the
"GlobalName" element from the resources[][] of the
associated IOperatorDescriptor. |
OperatorType |
getType()
Gets the type of the operator listed in an enumeration.
|
private void |
nexelScan(WritableRaster wr,
javax.media.jai.PlanarImage piWithBorder,
int kernelSize,
int method,
int eps)
Calculates different parameters based on arrays.
|
IResult |
run(IWorkPackage wp)
This method contains the entire logic (algorithm) of the operator.
|
addProgressListener, fireProgressChanged, getParentTask, getPcs, getProgressListeners, initializeOperator, isCancelable, isCancelled, setCancelable, setParentTaskprivate static final org.apache.log4j.Logger logger
private javax.media.jai.PlanarImage piSource
private String imgName
private String fileName
private double typeGrayMax
public IResult run(IWorkPackage wp)
IOperatorIOperator does not declare any class members, since the execution
of this code must be thread-safe.run in interface IOperatorrun in class AbstractOperatorwp - the parameters and sourcesIResult containing all processed datapublic String getName()
IOperatorIOperator by returning the
"GlobalName" element from the resources[][] of the
associated IOperatorDescriptor.getName in interface IOperatorgetName in class AbstractOperatorpublic OperatorType getType()
IOperatorgetType in interface IOperatorgetType in class AbstractOperatorOperatorTypeprivate javax.media.jai.PlanarImage addBorder(javax.media.jai.PlanarImage pi,
int kernelSize,
int borderMethod,
double[] borderValue)
pi - kernelSize - borderMethod - borderValue - private double calcBoxDim(javax.media.jai.PlanarImage pi,
int eps)
PlanarImage - private double calcPyrDim(javax.media.jai.PlanarImage pi,
int eps)
kernel - private double calcMinkDim(javax.media.jai.PlanarImage pi,
int eps)
PlanarImage - private double calcFFTDim(javax.media.jai.PlanarImage pi,
int eps)
kernel - private void boxScan(WritableRaster wr, javax.media.jai.PlanarImage pi, int kernelSize, int method, int eps, int boxSize)
wr - pi - kernelSize - statMethod - boxSizue - private void nexelScan(WritableRaster wr, javax.media.jai.PlanarImage piWithBorder, int kernelSize, int method, int eps)
wr - piWithBorder - kernelSize - statMethod - Copyright © 2009–2017 Helmut Ahammer, Philipp Kainz. All rights reserved.