Class AddEdgeFilters
Object
AnchorBean<DefineAdder>
DefineAdderBean
DefineAdderWithPrefixBean
AddEdgeFilters
- All Implemented Interfaces:
DefineAdder
public class AddEdgeFilters
extends DefineAdderWithPrefixBean
Adds edge filters and their gradients to a
Define object.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddTo(Define define) The ID of the channel that provides the input to the filter.doubleThe sigma value for the Gaussian filter in meters.doubleThe radius of the median filter in meters.booleanIf true, the Gaussian filter is included.booleanisMedian()If true, the median filter is included.voidsetChannelID(String channelID) The ID of the channel that provides the input to the filter.voidsetGaussian(boolean gaussian) If true, the Gaussian filter is included.voidsetGaussianSigmaMeters(double gaussianSigmaMeters) The sigma value for the Gaussian filter in meters.voidsetMedian(boolean median) If true, the median filter is included.voidsetMedianRadiusMeters(double medianRadiusMeters) The radius of the median filter in meters.Methods inherited from class org.anchoranalysis.bean.define.adder.DefineAdderWithPrefixBean
addWithName, getPrefix, resolveName, setPrefixMethods inherited from class org.anchoranalysis.bean.AnchorBean
checkMisconfigured, describeBean, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise, toString
-
Constructor Details
-
AddEdgeFilters
public AddEdgeFilters()
-
-
Method Details
-
addTo
public void addTo(Define define) throws DefineAddException - Throws:
DefineAddException
-
getChannelID
The ID of the channel that provides the input to the filter. -
setChannelID
The ID of the channel that provides the input to the filter. -
getMedianRadiusMeters
public double getMedianRadiusMeters()The radius of the median filter in meters. -
setMedianRadiusMeters
public void setMedianRadiusMeters(double medianRadiusMeters) The radius of the median filter in meters. -
getGaussianSigmaMeters
public double getGaussianSigmaMeters()The sigma value for the Gaussian filter in meters. -
setGaussianSigmaMeters
public void setGaussianSigmaMeters(double gaussianSigmaMeters) The sigma value for the Gaussian filter in meters. -
isMedian
public boolean isMedian()If true, the median filter is included. -
setMedian
public void setMedian(boolean median) If true, the median filter is included. -
isGaussian
public boolean isGaussian()If true, the Gaussian filter is included. -
setGaussian
public void setGaussian(boolean gaussian) If true, the Gaussian filter is included.
-