필터 지우기
필터 지우기

How to flip image with handles in matlab ?

조회 수: 4 (최근 30일)
agatte
agatte 2016년 11월 30일
답변: Image Analyst 2016년 11월 30일
Hello,
I have an image in guide with display lines plots and texts and landmarks ect ... I want to flip image with lines and plots. I want to flip image and flip display plots, lines, landmarks. (right-left) Could is it possible in matlab ? Could anyone help me please ? Any solution ?
I would be appreciate for any help please.
  댓글 수: 2
Jan
Jan 2016년 11월 30일
"I want to flip image with lines and plots (handles)" is not clear. Do you want to reverse the X-axis of an AXES object or are you talking about an pixel image? Is is a picture of some handles? Please edit the question and clarify, what you have as input exactly.
agatte
agatte 2016년 11월 30일
As input I have image and line, plots, landmarks- impoints, impoly.

댓글을 달려면 로그인하십시오.

답변 (2개)

KSSV
KSSV 2016년 11월 30일
There are commands like fliplr and flipud. Pick the data from the handles and use those.

Image Analyst
Image Analyst 2016년 11월 30일
You can try this:
ax = gca;
ax.XDir = 'reverse'
That will flip the image right to left but won't flip stuff like text in the overlay.

Community Treasure Hunt

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

Start Hunting!

Translated by