Package boofcv.alg.flow
Class DenseOpticalFlowBlockPyramid.F32
java.lang.Object
boofcv.alg.flow.DenseOpticalFlowBlockPyramid<GrayF32>
boofcv.alg.flow.DenseOpticalFlowBlockPyramid.F32
- Enclosing class:
- DenseOpticalFlowBlockPyramid<T extends ImageGray<T>>
Implementation for
GrayF32
-
Nested Class Summary
Nested classes/interfaces inherited from class boofcv.alg.flow.DenseOpticalFlowBlockPyramid
DenseOpticalFlowBlockPyramid.F32, DenseOpticalFlowBlockPyramid.U8
-
Field Summary
Fields inherited from class boofcv.alg.flow.DenseOpticalFlowBlockPyramid
flowCurrLayer, flowPrevLayer, maxError, regionRadius, scores, searchRadius, template, tmp
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected float
computeError
(int cx, int cy, GrayF32 curr) Computes the error between the template and a region in 'curr' centered at cx,cyprotected void
extractTemplate
(int cx, int cy, GrayF32 prev) Extracts a square template from the image 'prev' center at cx and cyMethods inherited from class boofcv.alg.flow.DenseOpticalFlowBlockPyramid
checkNeighbors, findFlow, getOpticalFlow, getRegionRadius, getSearchRadius, process
-
Constructor Details
-
F32
public F32(int searchRadius, int regionRadius, int maxPerPixelError)
-
-
Method Details
-
extractTemplate
Description copied from class:DenseOpticalFlowBlockPyramid
Extracts a square template from the image 'prev' center at cx and cy- Specified by:
extractTemplate
in classDenseOpticalFlowBlockPyramid<GrayF32>
-
computeError
Description copied from class:DenseOpticalFlowBlockPyramid
Computes the error between the template and a region in 'curr' centered at cx,cy- Specified by:
computeError
in classDenseOpticalFlowBlockPyramid<GrayF32>
-