Extract image within a tube using opencv or others

asked 2014-02-13 05:47:29 -0500

image description

I'm new to image processing and I'm trying to extract the area within a test tube.

The tube will be placed in front of a camera and then the image is captured. The image obtained will be as shown below. However, there will be slight movements of the tube so its not exactly at the same position each time. The Idea is to recognize the tube position and extract an image corresponding to the inside of the test tube (holding some reaction). Can somebody please guide me how to achieve this using OpenCV or any other image processing library. Thanks a lot!

edit retag flag offensive close merge delete