Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

Extracting a Circular ROI from a 32bit Colour Image

Hi all,

 

I am working on a program which involves extracting a circular area from an image. I currently have a VI working which can locate and mask the desired circular area in a grayscale image, but need this to work in a colour image.

 

Is there any way to mask, or preferably extract, a circular ROI from a 32bit colour image? The method I am currently mapping involves carrying the ROI Descriptor through the entire program and feeding it into the image processing VIs each time...

 

Also is there any way that this circular area could be manipulated into an ellipse and the same process be carried out?

 

I am new to the forum and would appreciate any help offered on this issue! 😄

0 Kudos
Message 1 of 3
(3,365 Views)

IMAQ Extract will extract a rectangular region of the image, but you will still have to create a mask, or use an Oval ROI to process only a circular region of the image.

The Oval ROI can be used to describe both a circle and Ellipse (whose axis are vertical and horizontal).

 

Christophe

0 Kudos
Message 2 of 3
(3,362 Views)

Hello, after reading all your conversation i think you can hellp me for my situation.

I am doing my project for detecting distances of open and closed eye. I am doing it on continuous .avi file.This file is captured from my laptop's webcam.

I want to extract region of interest which will be in the region of eye. After getting ROI i want to find distances in between eye and eye brows. I am begginer to the labview software. I am getting problem with .avi file. please guide me for these problems.

Thank you .

 

 

0 Kudos
Message 3 of 3
(3,291 Views)