public class AdaptiveBlur extends AbstractIMSimpleOperation
-logging-level <OFF|SEVERE|WARNING|INFO|CONFIG|FINE|FINER|FINEST> (property: loggingLevel) The logging level for outputting errors and debugging output. default: WARNING
-radius <double> (property: radius) The radius of the Gaussian in pixels. default: 1.0 minimum: 0.0
-sigma <double> (property: sigma) The sigma of the Gaussian in pixels. default: 0.0 minimum: 0.0
Modifier and Type | Field and Description |
---|---|
protected double |
m_Radius
the radius of the gaussian (in pixels).
|
protected double |
m_Sigma
the sigma (in pixels).
|
m_OptionManager
m_Logger, m_LoggingIsEnabled, m_LoggingLevel
Constructor and Description |
---|
AdaptiveBlur() |
Modifier and Type | Method and Description |
---|---|
protected void |
addOperation(org.im4java.core.IMOperation op)
Adds the operation.
|
protected String |
check(PlaceholderFile input,
PlaceholderFile output)
Hook method for performing checks before applying the operation.
|
void |
defineOptions()
Adds options to the internal list of options.
|
String |
getQuickInfo()
Returns a quick info about the actor, which will be displayed in the GUI.
|
double |
getRadius()
Returns the radius in pixels.
|
double |
getSigma()
Returns the sigma in pixels.
|
String |
globalInfo()
Returns a string describing the object.
|
String |
radiusTipText()
Returns the tip text for this property.
|
void |
setRadius(double value)
Sets the radius in pixels.
|
void |
setSigma(double value)
Sets the sigma in pixels.
|
String |
sigmaTipText()
Returns the tip text for this property.
|
doApply
apply
cleanUpOptions, destroy, finishInit, getDefaultLoggingLevel, getOptionManager, initialize, loggingLevelTipText, newOptionManager, reset, setLoggingLevel, toCommandLine, toString
configureLogger, getLogger, getLoggingLevel, initializeLogging, isLoggingEnabled, sizeOf
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getLoggingLevel
protected double m_Radius
protected double m_Sigma
public String globalInfo()
globalInfo
in interface GlobalInfoSupporter
globalInfo
in class AbstractOptionHandler
public void defineOptions()
defineOptions
in interface OptionHandler
defineOptions
in class AbstractOptionHandler
public String getQuickInfo()
getQuickInfo
in interface QuickInfoSupporter
getQuickInfo
in class AbstractImageOperation
public void setRadius(double value)
value
- the radiuspublic double getRadius()
public String radiusTipText()
public void setSigma(double value)
value
- the sigmapublic double getSigma()
public String sigmaTipText()
protected String check(PlaceholderFile input, PlaceholderFile output)
check
in class AbstractIMOperation
input
- the input fileoutput
- the output fileprotected void addOperation(org.im4java.core.IMOperation op)
addOperation
in class AbstractIMSimpleOperation
op
- the operation object to updateCopyright © 2021 University of Waikato, Hamilton, NZ. All Rights Reserved.