필터 지우기
필터 지우기

i have a matrix of class unit8. how could i make an image using it

조회 수: 1 (최근 30일)
matrix size is 35*57*3.

채택된 답변

Walter Roberson
Walter Roberson 2013년 9월 29일
image(YourArray)
  댓글 수: 4
Image Analyst
Image Analyst 2013년 10월 5일
편집: Image Analyst 2013년 10월 5일
That function displays an image in a rectangle on your computer screen. It does not create a gray scale image or create any image whatsoever in a variable. Why do you say that it makes a gray scale image? You can use that function, or use imshow() instead.
Walter Roberson
Walter Roberson 2013년 10월 5일
If your data is 35*57*3 then applying image() to your data will show it in as much RGB information as is present. If it looks greyscale then that is because the data itself has all three color planes equal (or nearly so.)

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

추가 답변 (1개)

Image Analyst
Image Analyst 2013년 9월 28일
Seems to me you already have an image. Why do you think you don't?

카테고리

Help CenterFile Exchange에서 Images에 대해 자세히 알아보기

태그

아직 태그를 입력하지 않았습니다.

Community Treasure Hunt

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

Start Hunting!

Translated by