Class SobelFilter
- java.lang.Object
-
- dev.brachtendorf.jimagehash.hashAlgorithms.filter.SobelFilter
-
- All Implemented Interfaces:
Filter,Serializable
public class SobelFilter extends Object implements Filter
Edge detection filter1 0 -1 Gx : 2 0 -2 1 0 -1 1 2 1 Gy: 0 0 0 -1 -2 -1 G : sqrt(Gx^2+ Gy^2)- Since:
- 2.0.0
- Author:
- Kilian
- See Also:
- Sobel Operator, Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SobelFilter(double threshold)Create a sobel filter
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BufferedImagefilter(BufferedImage bi)Apply the filter to the input image and return an altered copy
-
-
-
Method Detail
-
filter
public BufferedImage filter(BufferedImage bi)
Description copied from interface:FilterApply the filter to the input image and return an altered copy
-
-