Ask Your Question

Revision history [back]

Need advice on processing steps

Hi all,

I'm very new to OpenCV and image processing in general so please excuse my ignorance. That said, I'm very excited about the possibilities and for the past 2 weeks have been trying to learn as much as I can.

I've got to the stage where I can build simple programs to load, process and save images. What I now need is some advice on the best way and/or steps to process my images.

My goal is to automatically analyse a photo book design to determine if the images on the page are correctly aligned. Ideally I'd like to be able to identify each image (always a rectangle) and calculate the corner points. From this, I should then be able to determine relative proximity and horizontal or vertical alignment. Hope that makes sense. I've attached an example source image.

I've been experimenting with thresholding and canny edge detection, but with limited results.

Any guidance on how to process the images so as to identify the 'image rectangles' would be great.

Thanks in advance.

image description