Ask Your Question

Stacking image slices.

asked 2013-05-05 12:18:21 -0600

voidmain gravatar image

updated 2013-05-20 07:22:10 -0600


I need to stack image slices automaticaly. The task will be more clear from the example:


image description


image description

Could you give a solution to this problem, please.

Thank you!


Using of random forest allows to reach 80% of successful responses. Trained forest shows how well the two parts of puzzle fit each other.

edit retag flag offensive close merge delete



Nevertheless I appreciate the help @Mathieu Barnachon gave you, please read the FAQ. It clearly states that this is not a forum that is a simple 'hey please solve my problem' service. Next time, topics like this will be closed.

StevenPuttemans gravatar imageStevenPuttemans ( 2013-05-07 03:24:21 -0600 )edit

1 answer

Sort by ยป oldest newest most voted

answered 2013-05-06 10:20:15 -0600

I think this is not a vision problem, but more an algorithm one... Nevertheless, you could make a graph of neighborhood for each part of the image, and use some continuity test, ie. how good is the continuity between each couple of images using for example the gradient continuity or anything else... You probably get a big square matrix. After, you arrange the squares according to the center: the center one, is the one with good continuity for all patches (using 8 neighborhood), and put the best left continuity patch on left, the best right continuity patch on the right, ... This solution is very "experimental", and I'm hoping you are not trying to find the best way to move patches like in the Android sample, otherwise, the task could be more "harder"...

If you find an elegant solution, please share.

edit flag offensive delete link more

Question Tools


Asked: 2013-05-05 12:18:21 -0600

Seen: 455 times

Last updated: May 20 '13