How to separate a image into two parts and move the right part to the left side and stick it into a new image?
3 views (last 30 days)
Show older comments
I have a frame image which was transferred by video. However, I don't know why the left part of the image has been moved to the right side. But this causes my big trouble because I have to deal with the image in the later process. So now I need to cut the right side of the image and move it back to the left side and stick them together into a new normal picture. Could anyone help me? Thanks ahead!
0 Comments
Answers (1)
Image Analyst
on 28 May 2015
Try circshift(). If it doesn't work on color images, then split out each color channel and shift it independently and then use cat() to recombine back into a color image.
0 Comments
See Also
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!