Class KernelAlgorithm
- java.lang.Object
-
- org.openjump.core.rasterimage.algorithms.KernelAlgorithm
-
public class KernelAlgorithm extends Object
-
-
Field Summary
-
Constructor Summary
Constructors Constructor Description KernelAlgorithm()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LinkedHashMap<String,float[]>
createDataMap()
LinkedHashMap<String,String>
createTextMap()
void
filterRaster(File file, RasterImageLayer rLayer, float[] kernel)
void
filterRaster2(File file, RasterImageLayer rLayer, float[] kernel)
void
load(File outFile, String name, String category)
-
-
-
Field Detail
-
frame
public static WorkbenchFrame frame
-
Description01_Gradient
public String Description01_Gradient
-
Description02_Laplace
public String Description02_Laplace
-
Description03_LineDetection
public String Description03_LineDetection
-
Description04_Roberts
public String Description04_Roberts
-
Description05_Prewit
public String Description05_Prewit
-
Description06_Sharpening
public String Description06_Sharpening
-
Description07_Smoothing
public String Description07_Smoothing
-
Description08_Point
public String Description08_Point
-
Description08_Others
public String Description08_Others
-
Description10_Sobel
public String Description10_Sobel
-
S_gradientEast
public String S_gradientEast
-
S_gradientNord
public String S_gradientNord
-
S_gradientNorthEast
public String S_gradientNorthEast
-
S_gradientNorthWest
public String S_gradientNorthWest
-
S_gradientSouth
public String S_gradientSouth
-
S_gradientWest
public String S_gradientWest
-
S_laplace3x3
public String S_laplace3x3
-
S_laplace5x5
public String S_laplace5x5
-
S_linedet_horizontal
public String S_linedet_horizontal
-
S_linedet_leftdiagonal
public String S_linedet_leftdiagonal
-
S_linedet_rightdiagonal
public String S_linedet_rightdiagonal
-
S_linedet_vertical
public String S_linedet_vertical
-
S_sobel_horizontal
public String S_sobel_horizontal
-
S_sobel_vertical
public String S_sobel_vertical
-
S_roberts_horizontal
public String S_roberts_horizontal
-
S_roberts_vertical
public String S_roberts_vertical
-
S_prewitt_vertical
public String S_prewitt_vertical
-
S_prewitt_horizontal
public String S_prewitt_horizontal
-
S_sharpening3x3
public String S_sharpening3x3
-
S_sharpening5x5
public String S_sharpening5x5
-
S_sharpeningI
public String S_sharpeningI
-
S_sharpeningII
public String S_sharpeningII
-
S_smoothing3x3
public String S_smoothing3x3
-
S_smoothing5x5
public String S_smoothing5x5
-
S_unsharpMasking
public String S_unsharpMasking
-
S_pointspread
public String S_pointspread
-
S_averageblur
public String S_averageblur
-
S_smoothaverageblur
public String S_smoothaverageblur
-
S_gaussianblur
public String S_gaussianblur
-
S_emboss
public String S_emboss
-
gradientEast
public float[] gradientEast
-
gradientNord
public float[] gradientNord
-
gradientNorthEast
public float[] gradientNorthEast
-
gradientNorthWest
public float[] gradientNorthWest
-
gradientSouth
public float[] gradientSouth
-
gradientWest
public float[] gradientWest
-
laplace3x3
public float[] laplace3x3
-
laplace5x5
public float[] laplace5x5
-
linedet_horizontal
public float[] linedet_horizontal
-
linedet_leftdiagonal
public float[] linedet_leftdiagonal
-
linedet_rightdiagonal
public float[] linedet_rightdiagonal
-
linedet_vertical
public float[] linedet_vertical
-
sobel_horizontal
public float[] sobel_horizontal
-
sobel_vertical
public float[] sobel_vertical
-
roberts_horizontal
public float[] roberts_horizontal
-
roberts_vertical
public float[] roberts_vertical
-
prewitt_vertical
public float[] prewitt_vertical
-
prewitt_horizontal
public float[] prewitt_horizontal
-
sharpening3x3
public float[] sharpening3x3
-
sharpening5x5
public float[] sharpening5x5
-
sharpeningI
public float[] sharpeningI
-
sharpeningII
public float[] sharpeningII
-
smoothing_arithmatic_mean
public float[] smoothing_arithmatic_mean
-
smoothing3x3
public float[] smoothing3x3
-
smoothing5x5
public float[] smoothing5x5
-
pointspread
public float[] pointspread
-
averageblur
public float[] averageblur
-
smoothaverageblur
public float[] smoothaverageblur
-
gaussianblur
public float[] gaussianblur
-
unsharp_masking
public float[] unsharp_masking
-
emboss
public float[] emboss
-
-
Method Detail
-
createDataMap
public LinkedHashMap<String,float[]> createDataMap()
-
createTextMap
public LinkedHashMap<String,String> createTextMap()
-
filterRaster
public void filterRaster(File file, RasterImageLayer rLayer, float[] kernel) throws Exception
- Throws:
Exception
-
filterRaster2
public void filterRaster2(File file, RasterImageLayer rLayer, float[] kernel) throws Exception
- Throws:
Exception
-
-