public class FactoryImageBorder
extends java.lang.Object
| Constructor and Description |
|---|
FactoryImageBorder() |
| Modifier and Type | Method and Description |
|---|---|
static <T extends boofcv.struct.image.ImageBase<T>> |
generic(boofcv.struct.border.BorderType borderType,
boofcv.struct.image.ImageType<T> imageType) |
static <T extends boofcv.struct.image.ImageBase<T>> |
genericValue(double value,
boofcv.struct.image.ImageType<T> imageType) |
static <T extends boofcv.struct.image.ImageInterleaved<T>> |
interleaved(java.lang.Class<T> imageType,
boofcv.struct.border.BorderType borderType)
Creates an instance of the requested algorithms for handling borders pixels on
ImageInterleaved. |
static <T extends boofcv.struct.image.ImageInterleaved<T>> |
interleavedValue(java.lang.Class<T> imageType,
double value)
Creates an
ImageBorder that returns the specified value always. |
static <T extends boofcv.struct.image.ImageInterleaved<T>> |
interleavedValue(T image,
double value)
Creates an
ImageBorder that returns the specified value always. |
static java.lang.Class<boofcv.struct.border.ImageBorder> |
lookupBorderClassType(java.lang.Class<boofcv.struct.image.ImageGray> imageType)
Given an image type return the appropriate
ImageBorder class type. |
static <T extends boofcv.struct.image.ImageGray<T>> |
single(java.lang.Class<T> imageType,
boofcv.struct.border.BorderType borderType)
Creates an instance of the requested algorithms for handling borders pixels on
ImageGray. |
static <T extends boofcv.struct.image.ImageGray<T>> |
singleValue(java.lang.Class<T> imageType,
double value)
Creates an
ImageBorder that returns the specified value always. |
static <T extends boofcv.struct.image.ImageGray<T>> |
singleValue(T image,
double value)
Creates an
ImageBorder that returns the specified value always. |
static <T extends boofcv.struct.image.ImageBase<T>> |
wrap(boofcv.struct.border.BorderType borderType,
T image) |
public static java.lang.Class<boofcv.struct.border.ImageBorder> lookupBorderClassType(java.lang.Class<boofcv.struct.image.ImageGray> imageType)
ImageBorder class type.imageType - Type of image which is being processed.public static <T extends boofcv.struct.image.ImageBase<T>> boofcv.struct.border.ImageBorder<T> wrap(boofcv.struct.border.BorderType borderType,
T image)
public static <T extends boofcv.struct.image.ImageBase<T>> boofcv.struct.border.ImageBorder<T> generic(boofcv.struct.border.BorderType borderType,
boofcv.struct.image.ImageType<T> imageType)
public static <T extends boofcv.struct.image.ImageBase<T>> boofcv.struct.border.ImageBorder<T> genericValue(double value,
boofcv.struct.image.ImageType<T> imageType)
public static <T extends boofcv.struct.image.ImageGray<T>> boofcv.struct.border.ImageBorder<T> single(java.lang.Class<T> imageType,
boofcv.struct.border.BorderType borderType)
ImageGray. If type
BorderType.ZERO is passed in then the value will be set to 0. Alternatively you could
use singleValue(Class, double) instead.imageType - Type of image being processed.borderType - Which border algorithm should it use.ImageBorder.public static <T extends boofcv.struct.image.ImageInterleaved<T>> boofcv.struct.border.ImageBorder<T> interleaved(java.lang.Class<T> imageType,
boofcv.struct.border.BorderType borderType)
ImageInterleaved. If type
BorderType.ZERO is passed in then the value will be set to 0. Alternatively you could
use singleValue(Class, double) instead.imageType - Type of image being processed.borderType - Which border algorithm should it use.ImageBorder.public static <T extends boofcv.struct.image.ImageGray<T>> boofcv.struct.border.ImageBorder<T> singleValue(T image,
double value)
ImageBorder that returns the specified value always.image - The image the border is being created for.value - The value which will be returned.ImageBorderImageBorderValuepublic static <T extends boofcv.struct.image.ImageGray<T>> boofcv.struct.border.ImageBorder<T> singleValue(java.lang.Class<T> imageType,
double value)
ImageBorder that returns the specified value always.imageType - The image type the border is being created for.value - The value which will be returned.ImageBorderImageBorderValuepublic static <T extends boofcv.struct.image.ImageInterleaved<T>> boofcv.struct.border.ImageBorder<T> interleavedValue(T image,
double value)
ImageBorder that returns the specified value always.image - The image the border is being created for.value - The value which will be returned.ImageBorderImageBorderValuepublic static <T extends boofcv.struct.image.ImageInterleaved<T>> boofcv.struct.border.ImageBorder<T> interleavedValue(java.lang.Class<T> imageType,
double value)
ImageBorder that returns the specified value always.imageType - The image type the border is being created for.value - The value which will be returned.ImageBorderImageBorderValue