12-20-2022 05:43 PM
Hi
I would like to point out that I am new in Labview and i got one problem, which seems simple to solve. I have program which will count gummy bears. My target is to open this program 2 times, to select 2 different images and compare them and then point out which picture has more red gummies. However, when i copy all block diagram to create second attempt, i got only one, last image which i chose. How can I upload two images to be displayed side by side and then compared?
12-20-2022 09:47 PM
You should make just one program that can open two images.
12-21-2022 03:34 AM - edited 12-21-2022 03:41 AM
To possibly scale your program further, just use array of images as your input, then run calculations in a for loop and return the largest number (or index of image).
12-21-2022 04:44 PM
@AeroSoul wrote:
On a side note, your shift register construct is exactly the same as just autoindexing at an output tunnel.
For a more "in place" solutions (beneficial if the input array is gigantic), it would be sufficient to keep the max and max index in a shift register and update if a new max is found (max initializes as -inf and index as -1).