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
ConstructorsConstructorDescriptionImageDistortCache_SB_MT(AssignPixelValue_SB<Output> assigner, InterpolatePixelS<Input> interp) Specifies configuration parameters -
Method Summary
Modifier and TypeMethodDescriptionprotected voidprotected voidapplyOnlyInside(GrayU8 mask) protected voidprotected voidprotected voidMethods 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:
applyOnlyInsidein classImageDistortCache_SB<Input extends ImageGray<Input>,Output extends ImageGray<Output>>
-
applyOnlyInside
- Overrides:
applyOnlyInsidein classImageDistortCache_SB<Input extends ImageGray<Input>,Output extends ImageGray<Output>>
-