Flipping only certain part of an image

2 ビュー (過去 30 日間)
Chris John
Chris John 2020 年 4 月 30 日
回答済み: Walter Roberson 2020 年 4 月 30 日
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.

採用された回答

Walter Roberson
Walter Roberson 2020 年 4 月 30 日
M(rows, cols, :) = appropriate_flip(M(rows, cols, :)) ;
for appropriate function appropriate_flip (there are multiple ways to flip)

その他の回答 (0 件)

Community Treasure Hunt

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

Start Hunting!

Translated by