mirror image and shear image transformation

1 次查看(过去 30 天)
Sir, In my project, original image is transformed in to mirror image and shear image transformation. After transformation, I need to know which parameters help to simulate these three normal image, mirror image and shear image transformation. If normal image displayed, I need to know this is original image. If it is mirror image displayed, i need to guess it is mirror image, which parameters tells us that it is mirror image or shear image or original image similarly for shear image. Please, help me sir, I need to know the difference and identification of these three types of images. Please help me..

采纳的回答

Image Analyst
Image Analyst 2017-12-4
fliplr() might be useful.
if isequal(originalImage, fliplr(testImage))
% It's a mirror image
end
  5 个评论
Image Analyst
Image Analyst 2017-12-5
Take each test image and test it against both the original and the flipped version of the original. It will match either one of those, or if even one pixel is off it may not match either of them, especially if the number of rows or columns or color channels is not the same.
See this link for help in debugging your code if you don't understand what your code is doing.

请先登录,再进行评论。

更多回答(0 个)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by