T
- the type of image that the model can be applied topublic interface ImageClassificationModel<T extends Image<?,T>> extends EstimatableModel<T,FImage>, Serializable
EstimatableModel
constructed between
an generic image and a probability map in the form of an FImage.
Potential uses for such a model are for the prediction of certain classes of
pixels in an image. For example, a model could be constructed that predicted
skin-tones in an image based on hue and saturation values of pixels. With
such a model, a colour image could be presented, and a probability map would
be returned.Modifier and Type | Method and Description |
---|---|
FImage |
classifyImage(T im)
Classify the given image and return the corresponding probability map
|
ImageClassificationModel<T> |
clone()
Clone the model
|
void |
learnModel(T... images)
Learn the model from the given
MBFImage s. |
estimate, numItemsToEstimate
void learnModel(T... images)
MBFImage
s.images
- the images to learn fromFImage classifyImage(T im)
im
- the image to classifyImageClassificationModel<T> clone()
EstimatableModel