Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

Zoom to fit

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

0 Kudos
Message 1 of 12
(3,654 Views)

image.pngcheck this 

Message 2 of 12
(3,608 Views)

I've had a similar problem. Is your diagram indicating the solution? I presume so.  If so thanks. Simon

0 Kudos
Message 3 of 12
(3,558 Views)
Simon
if you have vision indicator and use vision toolkit you can right click on vision indicator and use zoom to fit above image show how to keep right click option for application (.exe)
also you can use property node for
make zoom to fit
0 Kudos
Message 4 of 12
(3,513 Views)

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.

 

 

0 Kudos
Message 5 of 12
(3,510 Views)

Thanks Hatef,

 

I use this quite often already.

 

Regards

Simon

0 Kudos
Message 6 of 12
(3,505 Views)

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. 

 

Amit Shachaf
0 Kudos
Message 7 of 12
(3,499 Views)

aveo 
as I mention before you can use zoom to fit property node and make some algorithm to solve your problem 

0 Kudos
Message 8 of 12
(3,496 Views)

I could zoom to fit in a 1-d image array.

0 Kudos
Message 9 of 12
(3,494 Views)

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

0 Kudos
Message 10 of 12
(3,462 Views)