Package boofcv.alg.distort
Class ImageDistortBasic_IL_MT<Input extends ImageInterleaved<Input>,Output extends 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 ImageInterleaved<Input>,Output extends ImageInterleaved<Output>>
extends ImageDistortBasic<Input,Output,InterpolatePixelMB<Input>>
Most basic implementation of
ImageDistort
for ImageInterleaved
. 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.-
Field Summary
-
Constructor Summary
ConstructorDescriptionImageDistortBasic_IL_MT
(AssignPixelValue_MB<Output> assigner, InterpolatePixelMB<Input> interp) Specifies configuration parameters -
Method Summary
Modifier and TypeMethodDescriptionvoid
applyAll()
void
void
void
applyOnlyInside
(GrayU8 mask) protected void
Methods inherited from class boofcv.alg.distort.ImageDistortBasic
apply, apply, apply, getModel, getRenderAll, setModel, setRenderAll
-
Constructor Details
-
ImageDistortBasic_IL_MT
public ImageDistortBasic_IL_MT(AssignPixelValue_MB<Output> assigner, InterpolatePixelMB<Input> interp) Specifies configuration parameters- Parameters:
interp
- Interpolation algorithm
-
-
Method Details
-
init
- Overrides:
init
in classImageDistortBasic<Input extends ImageInterleaved<Input>,
Output extends ImageInterleaved<Output>, InterpolatePixelMB<Input extends ImageInterleaved<Input>>>
-
applyAll
public void applyAll()- Specified by:
applyAll
in classImageDistortBasic<Input extends ImageInterleaved<Input>,
Output extends ImageInterleaved<Output>, InterpolatePixelMB<Input extends ImageInterleaved<Input>>>
-
applyAll
- Specified by:
applyAll
in classImageDistortBasic<Input extends ImageInterleaved<Input>,
Output extends ImageInterleaved<Output>, InterpolatePixelMB<Input extends ImageInterleaved<Input>>>
-
applyOnlyInside
public void applyOnlyInside()- Specified by:
applyOnlyInside
in classImageDistortBasic<Input extends ImageInterleaved<Input>,
Output extends ImageInterleaved<Output>, InterpolatePixelMB<Input extends ImageInterleaved<Input>>>
-
applyOnlyInside
- Specified by:
applyOnlyInside
in classImageDistortBasic<Input extends ImageInterleaved<Input>,
Output extends ImageInterleaved<Output>, InterpolatePixelMB<Input extends ImageInterleaved<Input>>>
-