mirror of
https://github.com/ruby-opencv/ruby-opencv
synced 2023-03-27 23:22:12 -04:00
small fix
This commit is contained in:
parent
7f5dd34d23
commit
bd362275e7
11 changed files with 57 additions and 57 deletions
|
@ -41,7 +41,7 @@ rb_allocate(VALUE klass)
|
|||
|
||||
/*
|
||||
* call-seq:
|
||||
* new(<i>width, height[, depth = CV_8U][, channel = 3]</i>)
|
||||
* new(width, height[, depth = CV_8U][, channel = 3])
|
||||
*
|
||||
* Create width * height image. Each element-value set 0.
|
||||
*
|
||||
|
@ -65,7 +65,7 @@ rb_initialize(int argc, VALUE *argv, VALUE self)
|
|||
|
||||
/*
|
||||
* call-seq:
|
||||
* IplImage::load(<i>filename[,iscolor = CV_LOAD_IMAGE_COLOR]</i>)
|
||||
* IplImage::load(filename[,iscolor = CV_LOAD_IMAGE_COLOR])
|
||||
*
|
||||
* Load an image from file.
|
||||
* iscolor = CV_LOAD_IMAGE_COLOR, the loaded image is forced to be a 3-channel color image
|
||||
|
@ -149,8 +149,8 @@ rb_get_roi(VALUE self)
|
|||
|
||||
/*
|
||||
* call-seq:
|
||||
* set_roi(<i>rect</i>)
|
||||
* set_roi(<i>rect</i>){|image| ...}
|
||||
* set_roi(rect)
|
||||
* set_roi(rect){|image| ...}
|
||||
*
|
||||
* Set ROI. <i>rect</i> should be CvRect or compatible object.
|
||||
* Return self.
|
||||
|
@ -210,8 +210,8 @@ rb_get_coi(VALUE self)
|
|||
|
||||
/*
|
||||
* call-seq:
|
||||
* set_coi(<i>coi</i>)
|
||||
* set_coi(<i>coi</i>){|image| ...}
|
||||
* set_coi(coi)
|
||||
* set_coi(coi){|image| ...}
|
||||
*
|
||||
* Set COI. <i>coi</i> should be Fixnum.
|
||||
* Return self.
|
||||
|
@ -254,7 +254,7 @@ rb_reset_coi(VALUE self)
|
|||
|
||||
/*
|
||||
* call-seq:
|
||||
* IplImage.smoothness(<i>lowFreqRatio, blankDensity, messyDensity, highFreqRatio</i>) -> [ symbol, float, float ]
|
||||
* IplImage.smoothness(lowFreqRatio, blankDensity, messyDensity, highFreqRatio) -> [ symbol, float, float ]
|
||||
*
|
||||
* Determines if the image's smoothness is either, :smooth, :messy, or :blank.
|
||||
*
|
||||
|
@ -559,7 +559,7 @@ high_pass_range(const IplImage *pImage, float lostPercentage, int &outLow, int &
|
|||
|
||||
/*
|
||||
* call-seq:
|
||||
* pyr_segmentation(<i>level, threshold1, threshold2</i>) -> [iplimage, cvseq(include cvconnectedcomp)]
|
||||
* pyr_segmentation(level, threshold1, threshold2) -> [iplimage, cvseq(include cvconnectedcomp)]
|
||||
*
|
||||
* Does image segmentation by pyramids.
|
||||
* The pyramid builds up to the level <i>level<i>.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue