Package boofcv.abst.disparity
Class DisparitySmootherSpeckleFilter<Image extends ImageBase<Image>,Disp extends ImageGray<Disp>>
java.lang.Object
boofcv.abst.disparity.DisparitySmootherSpeckleFilter<Image,Disp>
- All Implemented Interfaces:
DisparitySmoother<Image,Disp>
,VerbosePrint
public class DisparitySmootherSpeckleFilter<Image extends ImageBase<Image>,Disp extends ImageGray<Disp>> extends Object implements DisparitySmoother<Image,Disp>
Wrapper around
ConnectedTwoRowSpeckleFiller_F32
for DisparitySmoother
-
Constructor Summary
Constructors Constructor Description DisparitySmootherSpeckleFilter(ConnectedSpeckleFiller<Disp> filler, ConfigSpeckleFilter config)
-
Method Summary
Modifier and Type Method Description void
process(Image image, Disp disp, int disparityRange)
Process the disparity image and smooth it.void
setVerbose(@Nullable PrintStream out, @Nullable Set<String> configuration)
-
Constructor Details
-
DisparitySmootherSpeckleFilter
public DisparitySmootherSpeckleFilter(ConnectedSpeckleFiller<Disp> filler, ConfigSpeckleFilter config)
-
-
Method Details
-
process
Description copied from interface:DisparitySmoother
Process the disparity image and smooth it. The input disparity is modified.- Specified by:
process
in interfaceDisparitySmoother<Image extends ImageBase<Image>,Disp extends ImageGray<Disp>>
- Parameters:
image
- (Input) Rectified image the disparity is computed from. Pixels should line up.disp
- (Input, Output) The disparity image which is to be smoothed.disparityRange
- (Input) Range of values in the disparity image.
-
setVerbose
public void setVerbose(@Nullable @Nullable PrintStream out, @Nullable @Nullable Set<String> configuration)- Specified by:
setVerbose
in interfaceVerbosePrint
-