A Blob Seq
상속: BlobSeqBase
예제 #1
0
 /// <summary>
 /// Detect new blobs
 /// </summary>
 /// <param name="imageForeground">The foreground mask</param>
 /// <param name="newBlob">The new blob list</param>
 /// <param name="oldBlob">The old blob list, can be null if not needed</param>
 /// <returns>True if new blob is detected</returns>
 public bool DetectNewBlob(Image <Gray, Byte> imageForeground, BlobSeq newBlob, BlobSeq oldBlob)
 {
     return(CvInvoke.CvBlobDetectorDetectNewBlob(_ptr, IntPtr.Zero, imageForeground.Ptr, newBlob.Ptr, oldBlob));
 }
예제 #2
0
 /// <summary>
 /// Detect new blobs
 /// </summary>
 /// <param name="imageForeground">The foreground mask</param>
 /// <param name="newBlob">The new blob list</param>
 /// <param name="oldBlob">The old blob list, can be null if not needed</param>
 /// <returns>True if new blob is detected</returns>
 public bool DetectNewBlob(Image<Gray, Byte> imageForeground, BlobSeq newBlob, BlobSeq oldBlob)
 {
    return CvInvoke.CvBlobDetectorDetectNewBlob(_ptr, IntPtr.Zero, imageForeground.Ptr, newBlob.Ptr, oldBlob);
 }
예제 #3
0
 /// <summary>
 /// Detect new blobs
 /// </summary>
 /// <param name="image">The image</param>
 /// <param name="imageForeground">The foreground mask</param>
 /// <param name="newBlob">The new blob list</param>
 /// <param name="oldBlob">The old blob list</param>
 public int DetectNewBlob(IImage image, Image <Gray, Byte> imageForeground, BlobSeq newBlob, BlobSeq oldBlob)
 {
     return(CvInvoke.CvBlobDetectorDetectNewBlob(_ptr, image.Ptr, imageForeground.Ptr, newBlob.Ptr, oldBlob.Ptr));
 }
예제 #4
0
 /// <summary>
 /// Detect new blobs
 /// </summary>
 /// <param name="image">The image</param>
 /// <param name="imageForground">The forground mask</param>
 /// <param name="newBlob">The new blob list</param>
 /// <param name="oldBlob">The old blob list</param>
 public int DetectNewBlob(IImage image, IImage imageForground, BlobSeq newBlob, BlobSeq oldBlob)
 {
    return CvInvoke.CvBlobDetectorDetectNewBlob(_ptr, image.Ptr, imageForground.Ptr, newBlob.Ptr, oldBlob.Ptr);
 }