Q - Type of pixelT - Type of imagepublic abstract class PixelClassificationModel<Q,T extends org.openimaj.image.Image<Q,T>> extends Object implements ImageClassificationModel<T>
| Constructor and Description |
|---|
PixelClassificationModel() |
| Modifier and Type | Method and Description |
|---|---|
org.openimaj.image.FImage |
classifyImage(T im)
Classify the given image and return the corresponding probability map
|
protected abstract float |
classifyPixel(Q pix) |
abstract PixelClassificationModel<Q,T> |
clone() |
boolean |
estimate(List<? extends org.openimaj.util.pair.IndependentPair<T,org.openimaj.image.FImage>> data) |
protected abstract T[] |
getArray(int length) |
int |
numItemsToEstimate() |
org.openimaj.image.FImage |
predict(T data) |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitlearnModelpublic PixelClassificationModel()
protected abstract float classifyPixel(Q pix)
public org.openimaj.image.FImage classifyImage(T im)
ImageClassificationModelclassifyImage in interface ImageClassificationModel<T extends org.openimaj.image.Image<Q,T>>im - the image to classifypublic boolean estimate(List<? extends org.openimaj.util.pair.IndependentPair<T,org.openimaj.image.FImage>> data)
public int numItemsToEstimate()
public abstract PixelClassificationModel<Q,T> clone()