Class: OpenCV::CvAvgComp

Inherits:
CvRect
  • Object
show all
Defined in:
ext/opencv/cvavgcomp.cpp,
ext/opencv/cvavgcomp.cpp

Overview

CvRect with parameter “neighbors”

Instance Method Summary collapse

Methods inherited from CvRect

#!=, #==, #bottom_center, #bottom_left, #bottom_right, #center, #center_left, #center_right, compatible?, #eql?, #hash, #height, #height=, #initialize, max_rect, #points, #to_s, #top_center, #top_left, #top_right, #width, #width=, #x, #x=, #y, #y=

Constructor Details

This class inherits a constructor from OpenCV::CvRect

Instance Method Details

#neighborsInteger

Return neighbors

Returns:

  • (Integer)

    neighbors



39
40
41
42
43
# File 'ext/opencv/cvavgcomp.cpp', line 39

VALUE
rb_neighbors(VALUE self)
{
  return INT2NUM(CVAVGCOMP(self)->neighbors);
}