SparsePyrLKOpticalFlow
Objective-C
@interface SparsePyrLKOpticalFlow : SparseOpticalFlow
Swift
class SparsePyrLKOpticalFlow : SparseOpticalFlow
Class used for calculating a sparse optical flow.
The class can calculate an optical flow for a sparse feature set using the iterative Lucas-Kanade method with pyramids.
See
calcOpticalFlowPyrLKMember of Video
-
Declaration
Objective-C
+ (SparsePyrLKOpticalFlow*)create:(Size2i*)winSize maxLevel:(int)maxLevel crit:(TermCriteria*)crit flags:(int)flags minEigThreshold:(double)minEigThreshold NS_SWIFT_NAME(create(winSize:maxLevel:crit:flags:minEigThreshold:));Swift
class func create(winSize: Size2i, maxLevel: Int32, crit: TermCriteria, flags: Int32, minEigThreshold: Double) -> SparsePyrLKOpticalFlow -
Declaration
Objective-C
+ (SparsePyrLKOpticalFlow*)create:(Size2i*)winSize maxLevel:(int)maxLevel crit:(TermCriteria*)crit flags:(int)flags NS_SWIFT_NAME(create(winSize:maxLevel:crit:flags:));Swift
class func create(winSize: Size2i, maxLevel: Int32, crit: TermCriteria, flags: Int32) -> SparsePyrLKOpticalFlow -
Declaration
Objective-C
+ (SparsePyrLKOpticalFlow*)create:(Size2i*)winSize maxLevel:(int)maxLevel crit:(TermCriteria*)crit NS_SWIFT_NAME(create(winSize:maxLevel:crit:));Swift
class func create(winSize: Size2i, maxLevel: Int32, crit: TermCriteria) -> SparsePyrLKOpticalFlow -
Declaration
Objective-C
+ (SparsePyrLKOpticalFlow*)create NS_SWIFT_NAME(create());Swift
class func create() -> SparsePyrLKOpticalFlow -
Declaration
Objective-C
- (TermCriteria*)getTermCriteria NS_SWIFT_NAME(getTermCriteria());Swift
func getTermCriteria() -> TermCriteria -
Declaration
Objective-C
- (double)getMinEigThreshold NS_SWIFT_NAME(getMinEigThreshold());Swift
func getMinEigThreshold() -> Double -
Declaration
Objective-C
- (int)getFlags NS_SWIFT_NAME(getFlags());Swift
func getFlags() -> Int32 -
Declaration
Objective-C
- (int)getMaxLevel NS_SWIFT_NAME(getMaxLevel());Swift
func getMaxLevel() -> Int32 -
Declaration
Objective-C
- (void)setFlags:(int)flags NS_SWIFT_NAME(setFlags(flags:));Swift
func setFlags(flags: Int32) -
Declaration
Objective-C
- (void)setMaxLevel:(int)maxLevel NS_SWIFT_NAME(setMaxLevel(maxLevel:));Swift
func setMaxLevel(maxLevel: Int32) -
Declaration
Objective-C
- (void)setMinEigThreshold:(double)minEigThreshold NS_SWIFT_NAME(setMinEigThreshold(minEigThreshold:));Swift
func setMinEigThreshold(minEigThreshold: Double) -
Declaration
Objective-C
- (void)setTermCriteria:(TermCriteria*)crit NS_SWIFT_NAME(setTermCriteria(crit:));Swift
func setTermCriteria(crit: TermCriteria)
View on GitHub
SparsePyrLKOpticalFlow Class Reference