bundles / skimage 0.26.1rc0.dev0 / skimage / future / trainable_segmentation / TrainableSegmenter / predict
function
skimage.future.trainable_segmentation:TrainableSegmenter.predict
source: /skimage/future/trainable_segmentation.py:77
Signature
def predict(self, image)Summary
Segment new image using trained internal classifier.
Parameters
image: ndarrayInput image, which can be grayscale or multichannel, and must have a number of dimensions compatible with
self.features_func.
Raises
: NotFittedError if ``self.clf`` has not been fitted yet (use ``self.fit``).
Aliases
skimage.future.TrainableSegmenter.predict