Package adams.data.image
Class BinaryMorphology
- java.lang.Object
-
- adams.data.image.BinaryMorphology
-
public class BinaryMorphology extends Object
Helper class for morphology operations on binary image data.- Version:
- $Revision$
- Author:
- FracPete (fracpete at waikato dot ac dot nz)
-
-
Constructor Summary
Constructors Constructor Description BinaryMorphology()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static boolean[][]
dilate(boolean[][] data)
Performs a dilate operation.static boolean[][]
erode(boolean[][] data)
Performs an erode operation.
-
-
-
Method Detail
-
erode
public static boolean[][] erode(boolean[][] data)
Performs an erode operation.- Parameters:
data
- the data to "erode"- Returns:
- the eroded data
-
dilate
public static boolean[][] dilate(boolean[][] data)
Performs a dilate operation.- Parameters:
data
- the data to "dilate"- Returns:
- the dilated data
-
-