public class LensDistortionOps
extends java.lang.Object
LensDistortionOps_F32,
LensDistortionOps_F64| Constructor and Description |
|---|
LensDistortionOps() |
| Modifier and Type | Method and Description |
|---|---|
static <T extends boofcv.struct.image.ImageBase<T>,O extends CameraPinhole,D extends CameraPinhole> |
changeCameraModel(AdjustmentType type,
boofcv.struct.border.BorderType borderType,
O original,
D desired,
D modified,
boofcv.struct.image.ImageType<T> imageType)
Creates a distortion for modifying the input image from one camera model into another camera model.
|
public static <T extends boofcv.struct.image.ImageBase<T>,O extends CameraPinhole,D extends CameraPinhole> boofcv.alg.distort.ImageDistort<T,T> changeCameraModel(AdjustmentType type, boofcv.struct.border.BorderType borderType, O original, D desired, D modified, boofcv.struct.image.ImageType<T> imageType)
type - How it should modify the image model to ensure visibility of pixels.borderType - How the image border is handledoriginal - The original camera modeldesired - The desired camera modelmodified - (Optional) The desired camera model after being rescaled. Can be null.imageType - Type of image.