mirror of
https://github.com/ruby-opencv/ruby-opencv
synced 2023-03-27 23:22:12 -04:00
Merge pull request #55 from lilibethdlc/morphology_documentation
Morphology documentation
This commit is contained in:
commit
58746f133d
1 changed files with 12 additions and 10 deletions
|
@ -4055,17 +4055,19 @@ rb_dilate_bang(int argc, VALUE *argv, VALUE self)
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* call-seq:
|
* Performs advanced morphological transformations using erosion and dilation as basic operations.
|
||||||
* morpholohy(operation[,element = nil][,iteration = 1]) -> cvmat
|
|
||||||
*
|
*
|
||||||
* Performs advanced morphological transformations.
|
* @overload morphology(operation, element = nil, iteration = 1)
|
||||||
* <i>operation</i>
|
* @param operation [Integer] Type of morphological operation.
|
||||||
* Type of morphological operation, one of:
|
* * <tt>CV_MOP_OPEN</tt> - Opening
|
||||||
* CV_MOP_OPEN - opening
|
* * <tt>CV_MOP_CLOSE</tt> - Closing
|
||||||
* CV_MOP_CLOSE - closing
|
* * <tt>CV_MOP_GRADIENT</tt> - Morphological gradient
|
||||||
* CV_MOP_GRADIENT - morphological gradient
|
* * <tt>CV_MOP_TOPHAT</tt> - Top hat
|
||||||
* CV_MOP_TOPHAT - top hat
|
* * <tt>CV_MOP_BLACKHAT</tt> - Black hat
|
||||||
* CV_MOP_BLACKHAT - black hat
|
* @param element [IplConvKernel] Structuring element.
|
||||||
|
* @param iteration [Integer] Number of times erosion and dilation are applied.
|
||||||
|
* @return [CvMat] Result array
|
||||||
|
* @opencv_func cvMorphologyEx
|
||||||
*/
|
*/
|
||||||
VALUE
|
VALUE
|
||||||
rb_morphology(int argc, VALUE *argv, VALUE self)
|
rb_morphology(int argc, VALUE *argv, VALUE self)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue