Skip to content

Commit

Permalink
added missing info (on return value) to ofxCvContourFinder::findConto…
Browse files Browse the repository at this point in the history
…urs()
  • Loading branch information
tpltnt committed Jun 27, 2015
1 parent ab60ba0 commit a644da2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion _documentation/addons/ofxOpenCv/ofxCvContourFinder.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ Draws the detected contours into the ofRectangle passed in scaling if necessary.
_syntax: findContours(&input, minArea, maxArea, nConsidered, bFindHoles, bUseApproximation = true)_
_name: findContours_
_returns: int_
_returns_description: _
_returns_description: number of blobs found
_parameters: ofxCvGrayscaleImage &input, int minArea, int maxArea, int nConsidered, bool bFindHoles, bool bUseApproximation=true_
_access: public_
_version_started: 007_
Expand All @@ -340,6 +340,8 @@ _inlined_description: _
_description: _


This function tries to find distinct regions (blobs) in the given ofxCvGrayscaleImage. It returns the number of blobs found.

input

This is an ofxCvGrayscaleImage reference (ofxCvGrayscaleImage&) to a grayscale image that will be searched for blobs. Note that grayscale images only are considered. So if you're using a color image, you'll need to highlight the particular color that you're looking for beforehand. You can do this by looping through the pixels and changing the color values of any pixel with the desired color to white or black, for instance.
Expand Down

0 comments on commit a644da2

Please sign in to comment.