ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

extract ROI

Solved!
Go to solution

i am new user to vision & i am trying to extract ROI from an image. i made the code but not able to run it successfully. I am attaching my code. Please look at the code & suggest me the problem.

 

reply soon.

0 Kudos
Message 1 of 8
(6,281 Views)
0 Kudos
Message 2 of 8
(6,280 Views)
Solution
Accepted by R.V.

Problems in your code:

a) race condition

b) wrong order

 

trbls.png

Andrey.

Message 3 of 8
(6,272 Views)

now i am able to run it.

thanks andrey.

 

0 Kudos
Message 4 of 8
(6,254 Views)

Hi RV,

Your code is interesting.

I am attaching another code for extracting ROI from grayscale or RGB image. When i use the image in second attachment some it give invalid image. Not sure why. Could you figure out. Also, if you could see how can i "fit to window" in the ROI constrcutor pop up window since the image has to be scrolled due to its larger size. ..Thanks

Download All
0 Kudos
Message 5 of 8
(6,209 Views)

Hello,

related question:

 

how can i set the  ROI tol be the entire image frame?

0 Kudos
Message 6 of 8
(6,116 Views)

how can i select roi from entire image?

 

0 Kudos
Message 7 of 8
(6,010 Views)

@niravraj20007 wrote:

how can i select roi from entire image?

 




Just select rectangular ROI which will cover entire image (ROI's width and height should be equal to image's width and height)

0 Kudos
Message 8 of 8
(5,990 Views)