Skip to content

Instantly share code, notes, and snippets.

@ochilab
Last active August 29, 2015 13:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ochilab/8897886 to your computer and use it in GitHub Desktop.
Save ochilab/8897886 to your computer and use it in GitHub Desktop.
OpenCVSharpでのラベリング処理(2.4.5 以降対応)
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