LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

is it possible to tell me how i can make program in labview that take pixels of black and withe image and give coordinate of black or white pixels back to me.

Solved!
Go to solution
Solution
Accepted by amkamyab

You don't even need to convert the boolean to a number. Just autoindex on the 2D boolean array using a stack of two FOR loops and whenever a TRUE is encountered fire the laser based on the value of the two indices.

 

Alternatively, reshape to a 1D array and use "Search 1D array" for all TRUEs until you run out of elements. Calculate the x and y position from the index and the row lenght using quotient & remainder. 

 

How fast is the laser positioning system? Does the mechanism scan at a constant speed over the enther grid or does it give fast random access to any xy position? The best solution really depends on the hardware.

Message 11 of 12
(608 Views)

Hello.

1- This is researching product so speed in first level is not so important. i am working to make this printer by myself.

2- Scanning mechanism is constant. And I want do this linear. If I divide for example plan my work to 10X10 pixels, I working on 10 line. Scanning first line till end and go other line and so on. In this progress every pixel is on (255) will be pulsed by laser and other pixels will not pulsed.

I will be happy if you guide me in this proposal.

 

Regard

Amir kamyab

0 Kudos
Message 12 of 12
(599 Views)