Package boofcv.alg.distort
Class ImageDistortCache_SB_MT<Input extends ImageGray<Input>,Output extends ImageGray<Output>>
java.lang.Object
boofcv.alg.distort.ImageDistortCache_SB<Input,Output>
boofcv.alg.distort.ImageDistortCache_SB_MT<Input,Output>
- All Implemented Interfaces:
ImageDistort<Input,
Output>
public class ImageDistortCache_SB_MT<Input extends ImageGray<Input>,Output extends ImageGray<Output>>
extends ImageDistortCache_SB<Input,Output>
Except for very simple functions, computing the per pixel distortion is an expensive operation.
To overcome this problem the distortion is computed once and cached. Then when the image is distorted
again the save results are simply recalled and not computed again.
-
Field Summary
-
Constructor Summary
ConstructorDescriptionImageDistortCache_SB_MT
(AssignPixelValue_SB<Output> assigner, InterpolatePixelS<Input> interp) Specifies configuration parameters -
Method Summary
Modifier and TypeMethodDescriptionprotected void
protected void
applyOnlyInside
(GrayU8 mask) protected void
protected void
protected void
Methods inherited from class boofcv.alg.distort.ImageDistortCache_SB
apply, apply, apply, getDstToSrc, getInterp, getMap, getModel, getRenderAll, setModel, setRenderAll
-
Constructor Details
-
ImageDistortCache_SB_MT
public ImageDistortCache_SB_MT(AssignPixelValue_SB<Output> assigner, InterpolatePixelS<Input> interp) Specifies configuration parameters- Parameters:
interp
- Interpolation algorithm
-
-
Method Details
-
init
-
renderAll
protected void renderAll() -
renderAll
-
applyOnlyInside
protected void applyOnlyInside()- Overrides:
applyOnlyInside
in classImageDistortCache_SB<Input extends ImageGray<Input>,
Output extends ImageGray<Output>>
-
applyOnlyInside
- Overrides:
applyOnlyInside
in classImageDistortCache_SB<Input extends ImageGray<Input>,
Output extends ImageGray<Output>>
-