01-22-2008 11:24 AM
RIght now my only problem is finding the area. The volume isn't a problem if I can get a few areas from different pictures. I understand that Labview is a pretty powerful program, but being held back by these problems are making me frustrated, to say the least. I read a few textbooks on Labview but I can hardly find anything about these.
Would greatly appreciate it if someone can offer me some help, and preferably show me some examples. Thank you very much!
01-22-2008 12:39 PM
Hi jbelim,
i think you can do it only with LabView. To convert it into grayscale a attach an image like i do it. The Input is a 2D Array of image data (one Pixel = 3 Byte) and the output is a 2D Array with one Byte per Pixel. Additionally the Sobel-Operator should help you.
Mike
01-22-2008 08:58 PM
Thanks mike!
Will look into what you said.
01-23-2008 04:26 PM
Hi Jbelim,
Have you looked at this Developer Zone article? Color Threshold Example
After converting the image, you can do a search for colors that are not black, for example, traversing pixel by pixel, and then count the number of pixels on the x and y axes (from start of red color for example, to the end of the red color). I may be wrong, but throats seem to be fairly rectangular in shape, so you probably would not need to worry about exactly where you started counting. After you have the number of pixels, you can do a simple conversion to inches by taking a ratio of your screen resolution to your monitor size and then multiplying by your pixel counts.
01-23-2008 10:10 PM
01-24-2008 12:24 AM