Flipping only certain part of an image

1 Ansicht (letzte 30 Tage)
Chris John
Chris John am 30 Apr. 2020
Beantwortet: Walter Roberson am 30 Apr. 2020
I need to flip the part of an image that the user decides. I need to iterate through the array and flip it, I can use the flip pre defined function.The whole picture needs to be showing, you cant crop the part they want and just flip that, so a section of the picture will be flipped and the rest is normal.

Akzeptierte Antwort

Walter Roberson
Walter Roberson am 30 Apr. 2020
M(rows, cols, :) = appropriate_flip(M(rows, cols, :)) ;
for appropriate function appropriate_flip (there are multiple ways to flip)

Weitere Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by