Clear Filters
Clear Filters

mirror image and shear image transformation

1 view (last 30 days)
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..

Accepted Answer

Image Analyst
Image Analyst on 4 Dec 2017
fliplr() might be useful.
if isequal(originalImage, fliplr(testImage))
% It's a mirror image
end
  5 Comments
Image Analyst
Image Analyst on 5 Dec 2017
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.

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!