04-04-2013 08:23 AM
Hi,
Sorry for the delay. Here is the code generated from Vision Assistant (and slightly modified) that corresponds to the algorithms I described earlier.
I tried it on the image you posted in your original post.
Hope this helps.
Christophe
04-04-2013 08:50 AM
Hello Chris,
Thank you for help. I can not open these files because I am out of town at the moment. Only one question, will these codes work with all solar modules image or only with the origional image which I posted.
Did you look at my codes. What I found while working is; vision support 8 bits perfectly but 16 or higher bits image does not therefore I convert first image to 64RGB and then use this image. If there is necessary I converted 64RGB into 8 bits again. But this new created image is better than the old one. This was the concept of making these codes. Please have a look at my these codes.
I will see your kind help in one hour time and if there any question or any point which is not clear to me will ask you. Once again, Thank you for kind help.
Many Thanks
Lazer
04-04-2013 09:00 AM
You might need to adjust some parameters, like the Region of Interest, edge threshold parameters, if you choose that method, or the contour analysis parameters.
The contour algorithm only works so far on 8-bit images, so you will have to convert the image to 8-bit to use this method.
IMAQ Find Straight Edge 3 should work on all image type according to the help.
I advise you to prototype the algorithms in Vision Assistant. This is a handy tool to try out the different algorithms included in Vision Development Module, and try them out on your images.
04-04-2013 09:13 AM
Hello,
Thank you, for all these advises. I will keep these useful information in my considerations while wokring on those methods. As regards to Vision Assistance tool, at first I was advised to use this but I could make this tool work for me and then figure out tool is not working properly, I do not know why. Most of the fucntions show the same error which is this function works with only color images. After this, I did not use this tool again but I think converted 64RGB image can do the work. I will try them and let you know.
Many thanks
Lazer
04-04-2013 06:47 PM
Hello Nadiah,
Sorry for late reply, I was not in the town. I have attached my program. I am working on image processing. Its mean, we both can help each other as well.
Best Wishes,
Lazer
04-04-2013 06:50 PM
Hello Nadiah,
All four sub VIs are also attached. However if you need more help, ask for it. If I have created the code what you are looking for, I will help you.
Lazer
04-04-2013 06:52 PM
Hello Chris,
Thank you very much for this help. Those two codes are working prefectly. I will come to the forum shortly to seek solution of new problem.
Many Thanks
Lazer