public abstract class FilterBank extends Object implements ImageAnalyser<FImage>
Modifier | Constructor and Description |
---|---|
protected |
FilterBank(FConvolution[] filters) |
Modifier and Type | Method and Description |
---|---|
void |
analyseImage(FImage in)
Analyse an image.
|
float[] |
getResponse(int x,
int y)
Get the response vector for a given pixel.
|
FloatFV |
getResponseFV(int x,
int y)
Get the response vector for a given pixel as a
FloatFV . |
FImage[] |
getResponseImages()
Get the response images for the image analysed with
analyseImage(FImage) . |
float[][] |
getResponses()
Build an array of responses for every pixel.
|
FImage |
renderFilters(int numFiltersX)
Create an image to visualise the filters in the bank.
|
protected FilterBank(FConvolution[] filters)
public void analyseImage(FImage in)
ImageAnalyser
analyseImage
in interface ImageAnalyser<FImage>
in
- The image to process in place.public FImage[] getResponseImages()
analyseImage(FImage)
.public float[] getResponse(int x, int y)
x
- the x-ordinatey
- the y-ordinatepublic FloatFV getResponseFV(int x, int y)
FloatFV
.x
- the x-ordinatey
- the y-ordinatepublic FImage renderFilters(int numFiltersX)
numFiltersX
- number of filters to display per rowpublic float[][] getResponses()