public class OrthotopePixelModel extends MBFPixelClassificationModel
| Modifier and Type | Field and Description |
|---|---|
protected float[] |
max |
protected float[] |
min |
ndims| Constructor and Description |
|---|
OrthotopePixelModel(float[] minCoords,
float[] maxCoords)
Construct with the given number box.
|
OrthotopePixelModel(int ndims)
Construct with the given number of dimensions.
|
| Modifier and Type | Method and Description |
|---|---|
protected float |
classifyPixel(Float[] pix) |
OrthotopePixelModel |
clone()
Clone the model
|
void |
learnModel(MBFImage... images)
Learn the model from the given
MBFImages. |
getArrayclassifyImage, estimate, numItemsToEstimate, predictpublic OrthotopePixelModel(int ndims)
MBFImages
you wish to classify.ndims - number of dimensionspublic OrthotopePixelModel(float[] minCoords, float[] maxCoords)
MBFImages
you wish to classify.minCoords - coordinates of the corner of the box with the smallest coordinates.maxCoords - coordinates of the corner of the box with the largest coordinates.protected float classifyPixel(Float[] pix)
classifyPixel in class PixelClassificationModel<Float[],MBFImage>public OrthotopePixelModel clone()
EstimatableModelclone in interface ImageClassificationModel<MBFImage>clone in interface EstimatableModel<MBFImage,FImage>clone in class PixelClassificationModel<Float[],MBFImage>public void learnModel(MBFImage... images)
ImageClassificationModelMBFImages.images - the images to learn from