Documentation of 'boofcv.core.image.border.FactoryImageBorder' Java class
FactoryImageBorder
boofcv.core.image.border

Class FactoryImageBorder



  • public class FactoryImageBorder
    extends java.lang.Object
    Contains functions that create classes which handle pixels outside the image border differently.
    • Constructor Detail

      • FactoryImageBorder

        public FactoryImageBorder()
    • Method Detail

      • lookupBorderClassType

        public static java.lang.Class<ImageBorder> lookupBorderClassType(java.lang.Class<ImageGray> imageType)
        Given an image type return the appropriate ImageBorder class type.
        Parameters:
        imageType - Type of image which is being processed.
        Returns:
        The ImageBorder for processing the image type.
      • single

        public static <T extends ImageGrayImageBorder<T> single(java.lang.Class<T> imageType,
                                                                  BorderType borderType)
        Creates an instance of the requested algorithms for handling borders pixels on ImageGray. If type BorderType.ZERO is passed in then the value will be set to 0. Alternatively you could use singleValue(Class, double) instead.
        Parameters:
        imageType - Type of image being processed.
        borderType - Which border algorithm should it use.
        Returns:
        The requested {@link ImageBorder).
      • interleaved

        public static <T extends ImageInterleavedImageBorder<T> interleaved(java.lang.Class<T> imageType,
                                                                              BorderType borderType)
        Creates an instance of the requested algorithms for handling borders pixels on ImageInterleaved. If type BorderType.ZERO is passed in then the value will be set to 0. Alternatively you could use singleValue(Class, double) instead.
        Parameters:
        imageType - Type of image being processed.
        borderType - Which border algorithm should it use.
        Returns:
        The requested {@link ImageBorder).
      • singleValue

        public static <T extends ImageGrayImageBorder<T> singleValue(T image,
                                                                       double value)
        Creates an ImageBorder that returns the specified value always.
        Parameters:
        image - The image the border is being created for.
        value - The value which will be returned.
        Returns:
        An ImageBorder
        See Also:
        ImageBorderValue
      • singleValue

        public static <T extends ImageGrayImageBorder<T> singleValue(java.lang.Class<T> imageType,
                                                                       double value)
        Creates an ImageBorder that returns the specified value always.
        Parameters:
        imageType - The image type the border is being created for.
        value - The value which will be returned.
        Returns:
        An ImageBorder
        See Also:
        ImageBorderValue
      • interleavedValue

        public static <T extends ImageInterleavedImageBorder<T> interleavedValue(T image,
                                                                                   double value)
        Creates an ImageBorder that returns the specified value always.
        Parameters:
        image - The image the border is being created for.
        value - The value which will be returned.
        Returns:
        An ImageBorder
        See Also:
        ImageBorderValue
      • interleavedValue

        public static <T extends ImageInterleavedImageBorder<T> interleavedValue(java.lang.Class<T> imageType,
                                                                                   double value)
        Creates an ImageBorder that returns the specified value always.
        Parameters:
        imageType - The image type the border is being created for.
        value - The value which will be returned.
        Returns:
        An ImageBorder
        See Also:
        ImageBorderValue

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.