All Packages Class Hierarchy This Package Previous Next Index
Class feature.EdgeMap
java.lang.Object
|
+----feature.EdgeMap
- public class EdgeMap
- extends Object
Realization of canny edge detection algorithm
- Author:
- Di Zhong (Columbia University)
-
map
- Two dimension byte array of edgemap data, map[i][j]=
0 - no-edge pixel ;
>0 - edge pixel.
-
EdgeMap(float[][], float)
- Construct an edge map from a gray level image using Canny operator
-
savePGM(String)
- Save EdgeMap into a PGM file
map
public byte map[][]
- Two dimension byte array of edgemap data, map[i][j]=
0 - no-edge pixel ;
>0 - edge pixel.
EdgeMap
public EdgeMap(float img[][],
float sigma)
- Construct an edge map from a gray level image using Canny operator
- Parameters:
- img - original gray-level image (Note: it will be smoothed)
- sigma - smooth coefficient
savePGM
public void savePGM(String fname)
- Save EdgeMap into a PGM file
- Parameters:
- fname - The file name
All Packages Class Hierarchy This Package Previous Next Index