05-22-2007 03:44 PM
06-08-2007 11:33 PM
First, i have to apologize because this answer may not be complete since I am not familiar with the functions/subVIs you use. Are they part of IMAQ or IVision? If not, where are they located?
I think the problem your'e having is your not looking at the absolute values of Gx and Gy. The Sobel.vi (again, I don't know where this VI is, if you would let me know I would appreciate it!) is showing the magnitude of the gradient vector. Ususally this is approximated by |G| = |Gx| + |Gy|. Basically, the edge that you are not seeing is a negative value (-255). When viewing it, Labview apparently sets that pixel to the lowest number, 0, which corresponds to the black. By making it absolute values, these will show up as white.
Michael