03-15-2013 10:30 PM
Hi everyone. I'm new to this site, and to Labview. So i hope you guys can help my in solving my problem.
I'm trying to create an object counting program which not entirely use the ready made built in tools in Labview (use my own codes, and new Sub VI). I'm currently trying to apply colour thresholding using Otsu Method which is requiring me to apply some algorithm. The thing is, i am so new in using Labview, so its kinda hard for me to do it. Can you guys help me solving my problem? Basically, these are the things that I need to know:
1) How to extract data from arrays (i use array to show the pixel data) and put it into the algorithm
2) I'm using mathscript for the algorithm but it shows error (i'm writing the algorithm in Matlab format).
3) How to apply the algorithm to produce new image?
Lots of thanx! :manwink:
09-30-2013 01:40 PM
If I understand you correctly, you want to use a MathScript node to do the image processing on an image that has been converted to an array, then convert the resulting array back to an image? I have attached an example that shows the basic code for this.