Last active
August 29, 2015 13:56
-
-
Save ochilab/8897886 to your computer and use it in GitHub Desktop.
OpenCVSharpでのラベリング処理(2.4.5 以降対応)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private CvBlobs blobsLabelling(IplImage binSrc) { | |
CvBlobs blobs = new CvBlobs(); | |
//ラベリング処理 | |
//IplImage imgLabel = new IplImage(binSrc.Width, binSrc.Height, CvBlobLib.DepthLabel, 1); | |
//blobs.Label(binSrc, imgLabel); | |
blobs.Label(binSrc); | |
return blobs; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment