public class IqmOpFracPyramid extends AbstractOperator
| Modifier and Type | Field and Description |
|---|---|
private static org.apache.log4j.Logger |
logger
Logging variable.
|
private File |
logicalDepthDir |
isCancelable, name, parentTask, pcs, type| Constructor and Description |
|---|
IqmOpFracPyramid() |
| Modifier and Type | Method and Description |
|---|---|
private double[] |
calculateKC(javax.media.jai.PlanarImage pi)
This method estimates the Kolmogorov Complexity by lossless compression
|
private double[] |
calculatePDM(javax.media.jai.PlanarImage pi)
This method calculates the sum of differences according to the PDM
(see Mayrhofer-R., PhD thesis, Med.
|
private double[] |
calculateTotalsBlanketMethod(javax.media.jai.PlanarImage pi)
This method calculates the area of a grey value surface one step of
Blanket Method (Minkowski dilation for surface) according to Tang, Tao,
Lam.
|
private double[] |
calculateTotalsEntropyMethod(javax.media.jai.PlanarImage pi)
This method calculates the entropy of a grey value surface
|
private double[] |
calculateTotalsGradientMethod(javax.media.jai.PlanarImage pi,
float[] scale)
PGM - Pyramidal Gradients Method (Sobel kernel)
This method calculates the area of a grey value surface based on the
PGM method developed by Michael Mayrhofer-R.
|
private void |
deleteTempFile(String fileName)
This method is used by the KC method
This method looks for the file (image) and deletes it
|
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.
|
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 File logicalDepthDir
private void deleteTempFile(String fileName)
string - private double[] calculateTotalsGradientMethod(javax.media.jai.PlanarImage pi,
float[] scale)
PlanarImage - pi;private double[] calculatePDM(javax.media.jai.PlanarImage pi)
PlanarImage - pi;private double[] calculateKC(javax.media.jai.PlanarImage pi)
PlanarImage - pi;private double[] calculateTotalsBlanketMethod(javax.media.jai.PlanarImage pi)
PlanarImage - pi2;private double[] calculateTotalsEntropyMethod(javax.media.jai.PlanarImage pi)
PlanarImage - pi2;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 AbstractOperatorOperatorTypeCopyright © 2009–2017 Helmut Ahammer, Philipp Kainz. All rights reserved.