Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

Real Time Image Scaling

Hi,

 

I've posted a question about it a few days ago (rectangle roi), when I've tried to integrate the roi vi with the vi that I currently need it turned out that the region of interest is an image and not a session out. I've attached my vi which I try to add a real time image sizing (e.g.. Zooming in on one region of the image for the calculations while discarding the rest) and continuing with the session qnd calculations. Any thoughts on the manner?

Please review the attached file.

Thank you,

 

 

0 Kudos
Message 1 of 7
(3,655 Views)

Can you post the screen shot of your vi or a vi for lv 8.0? I am still stuck with 8.0 here. For image scaling, Did you try image geometry--> Image resample? But iam not sure if you are looking for this.

0 Kudos
Message 2 of 7
(3,644 Views)

Hi Muks,

 

I'm not next to a work station w/machine vision, so it'll take me a 6-7hrs to post it. Generally, the vi looks something like: setup cam connection--> while loop: grab IMAQdx and then the various calculations (I'm finding the area of a centroid)-->exit whileloop (user controled): shutdown camera connection and process. I need to be able to focus on the area of interest while the vi is running in the while loop (and that data from that area alone will be processed), so I'm assuming it'll be before the IMAQdx grab. For that matter it'll be before the modified camera attributes which also be in the while loop (from my earlier post).

There is an example in the IMAQ directory (in the same lib file as grab and attributes examples), I forgot the exact name, it's called grab and scale(or something like that), are you familiar with it?

I really appreciate your help.

 

 

0 Kudos
Message 3 of 7
(3,642 Views)

Here it is how it looks like, please review the attached file.

I apologize for the ? icons, as I don't have machine vision installed on this computer. I hope it helps.

0 Kudos
Message 4 of 7
(3,640 Views)

Is this related? If so we can discuss in a single thread instead of two...

0 Kudos
Message 5 of 7
(3,635 Views)

Yes, they are realted. Ultimately, I want to have both the image scaling and the camera attributes subvis in the main loop. Should it be under the same thread as they are two different vis/subvis (scaling and attributes)?

0 Kudos
Message 6 of 7
(3,633 Views)

Please continue here. Others who see this disccussion will not know to which thread they have to reply. For your own good, Continue here

0 Kudos
Message 7 of 7
(3,631 Views)