08-14-2017 08:43 AM
Hi All,
I have created a 2D array of image indicator on the front panel.
When I run the program, images are visible on each array element.
However, I am unable to "zoom to fit" the image during run time.
Any suggestions on how it can be "zoomed to fit"?
Also at times, the right click options on the image indicator inside the array also disappear.
Why does this happen?Does it have anything to do with the GPU of my computer?
Regards
Aveo
08-16-2017 04:13 PM
check this
09-01-2017 03:32 AM
I've had a similar problem. Is your diagram indicating the solution? I presume so. If so thanks. Simon
09-14-2017 04:48 PM
09-15-2017 02:10 AM
Hi,
Thank you for the suggestion. Doing a right click and zoom to fit works fine for a single image indicator. However it behaves erratically in case of a 1D array of image indicators. While the program is running, a right click at times does not show the options at all. maybe the issue is with creating 1D array of images itself. I am yet to figure out a solution.
09-15-2017 03:19 AM
Thanks Hatef,
I use this quite often already.
Regards
Simon
09-15-2017 11:11 AM
Hi Aveo,
I think that your comment is that the issue is from how the image on your GPU memory is mapped to the image in PC memory is correct. I think the GPU of old days could map only one image at a time. Maybe today GPU will map 2 images for dual screen. But 2D array of image indicators can be many images.
Can you explain why would you want to create 2D array of image indicators?
Normally I would have one indicator and switch the image displayed according to context.
09-15-2017 12:05 PM
aveo
as I mention before you can use zoom to fit property node and make some algorithm to solve your problem
09-15-2017 01:20 PM
I could zoom to fit in a 1-d image array.
09-18-2017 05:52 AM
Hi,
Thank you for the reply.
I have a object that is being captured by multiple cameras continuously as it moves from the start to end of field of view of each camera. I want to see the result of an algorithm in all the images. Now one way would be to have single image indicator for each result, however this is not possible when you've lots of images. A easier way would be to use a 2D array of image indicator where the rows represent camera and column represent the position.
Regards
Aveo