Skip to content

Make SparsePyrLKOpticalFlow::buildImagePyramid() public or free #2324

@llschloesser

Description

@llschloesser
System information (version)
  • OpenCV => 4.1.2
  • Operating System / Platform => Ubuntu 64 Bit
  • Compiler => GCC
Detailed description

The overridden virtual function SparsePyrLKOpticalFlow::calc() accepts image pyramids as a possible input. However, there is currently no way to create and subsequently pass image pyramids as arguments because the member function SparsePyrLKOpticalFlow::buildImagePyramid() is protected. SparsePyrLKOpticalFlow::buildImagePyramid() should either be made public or made a free function such that the user can better manage system memory and compute resources and actually pass pyramids to SparsePyrLKOpticalFlow::calc().

Steps to reproduce

N/A

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions