Package boofcv.alg.distort
Class ImageDistortBasic_SB<Input extends ImageGray<Input>,Output extends ImageGray<Output>>
java.lang.Object
boofcv.alg.distort.ImageDistortBasic<Input,Output,InterpolatePixelS<Input>>
boofcv.alg.distort.ImageDistortBasic_SB<Input,Output>
- All Implemented Interfaces:
ImageDistort<Input,Output>
public class ImageDistortBasic_SB<Input extends ImageGray<Input>,Output extends ImageGray<Output>> extends ImageDistortBasic<Input,Output,InterpolatePixelS<Input>>
Most basic implementation of
ImageDistort
for ImageGray
. 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
Fields Modifier and Type Field Description protected AssignPixelValue_SB<Output>
assigner
-
Constructor Summary
Constructors Constructor Description ImageDistortBasic_SB(AssignPixelValue_SB<Output> assigner, InterpolatePixelS<Input> interp)
Specifies configuration parameters -
Method Summary
Modifier and Type Method Description protected void
applyAll()
protected void
applyAll(GrayU8 mask)
protected void
applyOnlyInside()
protected void
applyOnlyInside(GrayU8 mask)
protected void
init(Input srcImg, Output dstImg)
Methods inherited from class boofcv.alg.distort.ImageDistortBasic
apply, apply, apply, getModel, getRenderAll, setModel, setRenderAll
-
Field Details
-
assigner
-
-
Constructor Details
-
ImageDistortBasic_SB
Specifies configuration parameters- Parameters:
interp
- Interpolation algorithm
-
-
Method Details
-
init
-
applyAll
protected void applyAll() -
applyAll
-
applyOnlyInside
protected void applyOnlyInside()- Specified by:
applyOnlyInside
in classImageDistortBasic<Input extends ImageGray<Input>,Output extends ImageGray<Output>,InterpolatePixelS<Input extends ImageGray<Input>>>
-
applyOnlyInside
- Specified by:
applyOnlyInside
in classImageDistortBasic<Input extends ImageGray<Input>,Output extends ImageGray<Output>,InterpolatePixelS<Input extends ImageGray<Input>>>
-