Package boofcv.alg.distort
Class ImageDistortBasic_IL_MT<Input extends boofcv.struct.image.ImageInterleaved<Input>,Output extends boofcv.struct.image.ImageInterleaved<Output>>
- java.lang.Object
-
- boofcv.alg.distort.ImageDistortBasic<Input,Output,InterpolatePixelMB<Input>>
-
- boofcv.alg.distort.ImageDistortBasic_IL_MT<Input,Output>
-
- All Implemented Interfaces:
ImageDistort<Input,Output>
public class ImageDistortBasic_IL_MT<Input extends boofcv.struct.image.ImageInterleaved<Input>,Output extends boofcv.struct.image.ImageInterleaved<Output>> extends ImageDistortBasic<Input,Output,InterpolatePixelMB<Input>>
Most basic implementation ofImageDistortforImageInterleaved. Computes the distortion from the dst to src image for each pixel. The dst pixel value is then set to the interpolated value of the src image.
-
-
Constructor Summary
Constructors Constructor Description ImageDistortBasic_IL_MT(AssignPixelValue_MB<Output> assigner, InterpolatePixelMB<Input> interp)Specifies configuration parameters
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidapplyAll()voidapplyAll(boofcv.struct.image.GrayU8 mask)voidapplyOnlyInside()voidapplyOnlyInside(boofcv.struct.image.GrayU8 mask)protected voidinit(Input srcImg, Output dstImg)-
Methods inherited from class boofcv.alg.distort.ImageDistortBasic
apply, apply, apply, getModel, getRenderAll, setModel, setRenderAll
-
-
-
-
Constructor Detail
-
ImageDistortBasic_IL_MT
public ImageDistortBasic_IL_MT(AssignPixelValue_MB<Output> assigner, InterpolatePixelMB<Input> interp)
Specifies configuration parameters- Parameters:
interp- Interpolation algorithm
-
-
Method Detail
-
init
protected void init(Input srcImg, Output dstImg)
- Overrides:
initin classImageDistortBasic<Input extends boofcv.struct.image.ImageInterleaved<Input>,Output extends boofcv.struct.image.ImageInterleaved<Output>,InterpolatePixelMB<Input extends boofcv.struct.image.ImageInterleaved<Input>>>
-
applyAll
public void applyAll()
- Specified by:
applyAllin classImageDistortBasic<Input extends boofcv.struct.image.ImageInterleaved<Input>,Output extends boofcv.struct.image.ImageInterleaved<Output>,InterpolatePixelMB<Input extends boofcv.struct.image.ImageInterleaved<Input>>>
-
applyAll
public void applyAll(boofcv.struct.image.GrayU8 mask)
- Specified by:
applyAllin classImageDistortBasic<Input extends boofcv.struct.image.ImageInterleaved<Input>,Output extends boofcv.struct.image.ImageInterleaved<Output>,InterpolatePixelMB<Input extends boofcv.struct.image.ImageInterleaved<Input>>>
-
applyOnlyInside
public void applyOnlyInside()
- Specified by:
applyOnlyInsidein classImageDistortBasic<Input extends boofcv.struct.image.ImageInterleaved<Input>,Output extends boofcv.struct.image.ImageInterleaved<Output>,InterpolatePixelMB<Input extends boofcv.struct.image.ImageInterleaved<Input>>>
-
applyOnlyInside
public void applyOnlyInside(boofcv.struct.image.GrayU8 mask)
- Specified by:
applyOnlyInsidein classImageDistortBasic<Input extends boofcv.struct.image.ImageInterleaved<Input>,Output extends boofcv.struct.image.ImageInterleaved<Output>,InterpolatePixelMB<Input extends boofcv.struct.image.ImageInterleaved<Input>>>
-
-