public class VerticalProjection extends Object implements ImageAnalyser<FImage>
Constructor and Description |
---|
VerticalProjection() |
Modifier and Type | Method and Description |
---|---|
void |
analyseImage(FImage image)
Analyse an image.
|
float[] |
getProjection() |
static float[] |
project(FImage image)
Project an image onto the y-axis.
|
public VerticalProjection()
public void analyseImage(FImage image)
ImageAnalyser
analyseImage
in interface ImageAnalyser<FImage>
image
- The image to process in place.public static float[] project(FImage image)
image
- the imagepublic float[] getProjection()
analyseImage(FImage)