how to registering an Image?
1 次查看(过去 30 天)
显示 更早的评论
i want to Registering an Image http://s23.postimg.org/c9ulo5n6z/140.jpg by this image http://s23.postimg.org/mnvfhe7xn/image.jpg
so i can get final image like this(this image from another example) http://s16.postimg.org/3z0zh2w0l/image.jpg
i try to use this code but it dose not work i get error
2 个评论
回答(2 个)
Alex Taylor
2013-6-21
Looking at these images, I see at least two potential problems:
1) Visually, it's tough for me to see where the regions of alignment are in these two images. This may be a very tough registration problem.
2) The resolution of these two images looks like it may be quite different. If this is the case, Normalized Cross Correlation will not work. A straightforward use of correlation is only translation invariant.
You might want to take a look at imregister/imregtform as an alternative algorithm.
- Alex
0 个评论
Alex Taylor
2013-6-21
After looking again, I can see the features that correspond in these two images. If you don't have a lot of images like these to work with in a batch, the easiest path to success will probably be manually selecting the point correspondences using cpselect and then using cp2tform/imtransform to obtain your registered image. I did this and obtained reasonable results.
help cpselect
3 个评论
Image Analyst
2013-6-22
Where did the first image come from? It looks like it's segmented and masked from something, possibly the first image which means that they'd already be registered. Anyway, did you try imregister like Alex suggested? Though I have doubts because I just don't see enough information in your first image to register with any image at all.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 3-D Volumetric Image Processing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!