Example Code

Vision - Image Processing - Morphology - Degree of Concavity

Products and Environment

This section reflects the products and operating system used to create the example.

To download NI software, including the products shown below, visit ni.com/downloads.

    Software

  • LabVIEW

Code and Documents

Attachment

Download All

Description

 

This VI uses NI-VISION functions developed in Vision Assistant to determine the level of concavity of a binary image in LabVIEW. This VI helps the user analyze (measure length and area) of the convex hull region of a morphological blob. For more information on morphology, check out the Image Analysis and Processing Developer Zone article. The NI-Vision Concepts Manual is also a great resource. Page 9-31 of the manual describes the function of the Convex Hull VI.

 

The SCR file from Vision Assistant is also attached. Enjoy!

 

morphology2.gif

 

2009-02-17_101546.gif

 

David G
Sales Engineer - SE Michigan & N Ohio
National Instruments

Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.

Comments
Todd S.
NI Employee (retired)
on

Good stuff.  I'm not a vision guy so maybe it's enough, but could you add a little more description of how this is used?  .

Todd S.
LabVIEW Community Manager
National Instruments