Documentation of 'boofcv.examples.segmentation.ExampleSegmentSuperpixels' Java class
ExampleSegmentSuperpixels
boofcv.examples.segmentation

Class ExampleSegmentSuperpixels



  • public class ExampleSegmentSuperpixels
    extends java.lang.Object
    Example demonstrating high level image segmentation interface. An image segmented using this interface will have each pixel assigned a unique label from 0 to N-1, where N is the number of regions. All pixels which belong to the same region are connected. These regions are also known as superpixels.
    • Constructor Detail

      • ExampleSegmentSuperpixels

        public ExampleSegmentSuperpixels()
    • Method Detail

      • performSegmentation

        public static <T extends ImageBase> void performSegmentation(ImageSuperpixels<T> alg,
                                                                     T color)
        Segments and visualizes the image
      • visualize

        public static <T extends ImageBase> void visualize(GrayS32 pixelToRegion,
                                                           T color,
                                                           int numSegments)
        Visualizes results three ways. 1) Colorized segmented image where each region is given a random color. 2) Each pixel is assigned the mean color through out the region. 3) Black pixels represent the border between regions.
      • main

        public static void main(java.lang.String[] args)

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.