I am trying to rearrange sections of a picture in matlab
here is the assignment: Open humpty_mixed.gif (2D image) and do what all of the king’s 开发者_StackOverflowhorses and men could not do – put humpty back together again. The image is 600x412 and split evenly along the row and columns. (Note: We may use the imread(), imshow(), and imwrite() commands here.)
the picture is sectioned off in 4 rows and 4 columns, could someone help me get started, i'm stuck
b=imread('humpty_mixed.gif'); imshow('humpty_mixed.gif')
%that should get you started.oh by the way this is cheating you will recieve a zero!
a=b:
imshow(a)
精彩评论