public class CLSobel extends CLImageAnalyser<FImage>
Modifier and Type | Field and Description |
---|---|
FImage |
gradientX
The computed Sobel gradient in the X direction
|
FImage |
gradientY
The computed Sobel gradient in the Y direction
|
FImage |
magnitude
The computed Sobel magnitude
|
FImage |
orientation
The computed Sobel orientations
|
context, kernel
Constructor and Description |
---|
CLSobel()
Default Constructor
|
CLSobel(com.nativelibs4java.opencl.CLContext ctx)
Construct with context.
|
Modifier and Type | Method and Description |
---|---|
void |
analyseImage(FImage image)
Analyse an image.
|
FImage |
getGradientX() |
FImage |
getGradientY() |
FImage |
getMagnitude() |
FImage |
getOrientation() |
public FImage orientation
public CLSobel()
public CLSobel(com.nativelibs4java.opencl.CLContext ctx)
ctx
- the contextpublic void analyseImage(FImage image)
ImageAnalyser
image
- The image to process in place.public FImage getMagnitude()
public FImage getOrientation()
public FImage getGradientX()
public FImage getGradientY()