public abstract class BinaryFilters extends Object
Returned image is converted to BinaryProcessor and it is copy of input image.
Modifier and Type | Class and Description |
---|---|
static class |
BinaryFilters.EmptyMorpho
Dummy filter that does nothing.
|
static class |
BinaryFilters.Filters
Filters available in this class.
|
static class |
BinaryFilters.MedianMorpho
Perform median filtering with radius 2 on image.
|
static class |
BinaryFilters.MorphoOperations
Available binary operations.
|
static class |
BinaryFilters.SimpleMorpho
Filter image using 1 iteration opening.
|
Constructor and Description |
---|
BinaryFilters() |
Modifier and Type | Method and Description |
---|---|
static ij.process.BinaryProcessor |
getBinaryProcessor(ij.process.ImageProcessor input)
Converts input image to BinaryProcessor duplicating it.
|
static BinaryFilters |
getFilter(BinaryFilters.Filters type)
Factory of filters supported by this class.
|
static ij.process.ImageProcessor |
iterateMorphological(ij.process.ImageProcessor ip,
BinaryFilters.MorphoOperations oper,
double iter)
Run morphological operation on input image.
|
public static BinaryFilters getFilter(BinaryFilters.Filters type)
type
- type of demanded filterBinaryFilters.Filters
public static ij.process.BinaryProcessor getBinaryProcessor(ij.process.ImageProcessor input)
input
- image to convertpublic static ij.process.ImageProcessor iterateMorphological(ij.process.ImageProcessor ip, BinaryFilters.MorphoOperations oper, double iter)
ip
- Image to process, must be IJ binary (8-bit-image with only 0 and 255)oper
- Operatoriter
- number of iterationsCopyright © 2002–2019 Department of Computer Science, Warwick University. All rights reserved.