AForge.NET

  :: AForge.NET Framework :: Articles :: Forums ::

Fastest method to get largest length across a blob

The forum is to discuss topics related to different areas of image processing and computer vision.

Fastest method to get largest length across a blob

Postby blueshift » Tue May 27, 2014 10:52 am

Using the BlobCounterBase.GetObjectInformation, I can retrieve the blobs from an image. What is the fastest method for finding the largest length across the blob? It is not simply the hypotenuse of the blob's Rectangle.

I can extract all of the edge points (using the GetBlobsEdgePoints method), calculate the length between every pair of edge points and find the maximum length. But this method is slow, especially when I am working with images that can have thousands of blobs.
blueshift
 
Posts: 2
Joined: Sat Aug 06, 2011 2:56 pm



Return to Image Processing and Computer Vision