07-01-2022 04:14 AM
Hi everyone,
Is it possible to save image with zoom factor after zoom in at inspection interface?
I have tried with image logging and select active image, but still it save as original image without zoom factor as shown below,
I'm running vision builder AI 2019.
Thanks for your help.
Solved! Go to Solution.
07-01-2022 04:02 PM - edited 07-01-2022 04:05 PM
Hi,
I once used picture indicator and that has a property named: Zoom Factor.
If you are using the same, then you should be able to read and write to this property. Read desired zoom factor value - Save it - Load it and Write to property node when needed.
EDIT: Writing appropriate zoom factor value to the property should re-size the image when loaded.
07-01-2022 04:25 PM
@XM43 wrote:
Hi,
I once used picture indicator and that has a property named: Zoom Factor.
If you are using the same, then you should be able to read and write to this property. Read desired zoom factor value - Save it - Load it and Write to property node when needed.
EDIT: Writing appropriate zoom factor value to the property should re-size the image when loaded.
I don't think this is what the OP is looking for. If I am not mistaken they want to save only the visible part of the zoomed image and crop the rest.
07-04-2022 06:47 AM
you might consider to use the invoke node "get image"
this is like capturing a screenshot from your frontpanel
07-04-2022 07:18 AM
07-06-2022 08:08 PM
Hi all,
Thank you very much for the solutions.
I'm also including the example from the post below in my application.
07-07-2022 11:23 AM
@cdq0107 wrote:
I'm also including the example from the post below in my application.
here's another one using the imaq image display indicator's (manually drawn) ROI feature together with the "optional rectangle" input of the "IMAQ to Array" .vi