Ask Your Question

SRandall's profile - activity

2015-12-15 15:14:57 -0600 commented question Need advice on processing steps

Thanks matman, will give that a try.

2015-12-15 07:22:59 -0600 commented question Need advice on processing steps

Thanks for the reply. What if an image contains pure white along an edge ... i.e. bleeds in to background. Is there a way to 'recognise' a rectangle even if an edge is broken? Does that make sense.

Thanks again

2015-12-15 03:22:44 -0600 asked a question 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