- All Known Implementing Classes:
public interface ImageSuperpixels<T extends ImageBase<T>>
High level interface for computing superpixels. Superpixels are sets of connected adjacent pixels which belong. They are intended to break the image up intelligently along object boundaries allowing for easier processing. Each pixel in the output segmented image is assigned an integer label to identify which region in the image it belongs to. A region is a continuous connected set of pixels.
Modifier and Type Method Description
()Type of input image it can process
()Connectivity rule used to determine if a pixel is connected
()Returns the total number of image segments/superpixels found
T input, GrayS32 output)(Segments the input image into superpixels and puts the output in labeled image.
segmentSegments the input image into superpixels and puts the output in labeled image.
input- (Input) image.
output- (Output) Labeled image
getTotalSuperpixelsint getTotalSuperpixels()Returns the total number of image segments/superpixels found
- Number of superpixels
getRuleConnectRule getRule()Connectivity rule used to determine if a pixel is connected
- Connectivity rule
getImageTypeType of input image it can process
- Input image type