From 11:00 PM CST Friday, Feb 14th - 6:30 PM CST Saturday, Feb 15th, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From 11:00 PM CST Friday, Feb 14th - 6:30 PM CST Saturday, Feb 15th, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
01-13-2025 07:57 AM
Thank you Andrey. Is there other option to done that without Vision Development Module ?!
01-13-2025 08:25 AM
Hi Omar,
@Omar-Abdelhameed wrote:
Is there other option to done that without Vision Development Module ?!
Yes.
Load the JPG image as shown above and analyse the pixmap data on your own.
(You need to re-implement all those IMAQ routines with your own LabVIEW code…)
01-14-2025 12:13 AM
@Omar-Abdelhameed wrote:
Thank you Andrey. Is there other option to done that without Vision Development Module ?!
Yes, sure, but here you will need to invest more time. You must be able to open the image as a 2D array of pixels, then you can do almost everything — get the line profile along the marks (it's better to do this not at a single line, but average multiple pixels in the opposite direction — this will give you better signal to noise ratio and will remove small dust particles, etc.). Then you will need some kind of edge detector (Sobel/Canny) or peak/valley detector to detect the marks and count them. You don't need to implement Vision Development Functions 1:1 (and you can't, because details of the internal processing are not always known). If you don't have experience with image processing, I would recommend to read some books first (for example, 'Digital Image Processing' by Rafael Gonzalez and Richard Woods).
01-14-2025 09:13 AM
Here is one way without using IMAQ:
01-15-2025 04:22 AM
Thanks Zou, but it didn't count the lines?!
01-15-2025 04:36 AM
@Omar-Abdelhameed wrote:
Thanks Zou, but it didn't count the lines?!
You should simply go through waveform chart and count how many times you changed from 0 to 1.
Something like that:
01-15-2025 06:52 AM
Thanks Andrey, I got that, sorry but it's my first time use LV with images.