LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Overlaying thousands of images

Solved!
Go to solution

@zou wrote:

Put the content of the subVI in your VI.

Try the modified VI.


Nice! I had to convert "Waveguide Coordinates" to I16 to properly draw those points

2016-10-20_154920_i16.PNG

 

Morover, you have to assign a color only once, so this part may be moved outside the N Loop

2016-10-20_155551_assign color.PNG

 

Furthermore, you may use the Sub-Vi "Overlay-Images-1_MOD.vi" inline

2016-10-20_155848_inline.PNG

 

and parallize the N Loop

2016-10-20_160033_paralize.PNG

Message 11 of 14
(899 Views)

thanks everybody for the input!

 

all your ideas work ... so far altenbach's solution is the fastest one.

i've tested it with a large pattern.

the solution by zou/alexderjuengere took ~1s.

the solution by altenbach took 90ms.

0 Kudos
Message 12 of 14
(866 Views)

If you know that every picture has exactly one black pixel, maybe doing a comparison to black and then ORing the results might work.

 

Lynn

0 Kudos
Message 13 of 14
(848 Views)

Just blindly writing a pixel is faster than ORing, because ORing requires reading the current value first.

0 Kudos
Message 14 of 14
(836 Views)