What is problem?

조회 수: 1 (최근 30일)
Haseeb Hassan
Haseeb Hassan 2017년 9월 19일
댓글: Haseeb Hassan 2017년 9월 25일
I want to apply this code on another image, but i am getting this problem, and the image can not be shown.
Please any help
  댓글 수: 1
KSSV
KSSV 2017년 9월 19일
Haseeb Hassan it is a big matrix of 3D. Why you want to view it? There is no necessity to see it.

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

채택된 답변

Jan
Jan 2017년 9월 19일
편집: Jan 2017년 9월 19일
The Variable Editor is not thought to display the contents of huge and/or 3D arrays. It is simply not useful to display them as a table. Therefore the behavior is expected and useful - and not a "problem". Use another tool to display the array, e.g. the image command.
  댓글 수: 4
Image Analyst
Image Analyst 2017년 9월 23일
I don't advise you to call your image Image since there is a built in function called image. So let's call your grayscale image grayImage. Then to create an rgb image in the range 0-1, you can simply do
rgb = cat(3, grayImage, grayImage, grayImage) / 255;
Instead of all those lines of code you were using.
Haseeb Hassan
Haseeb Hassan 2017년 9월 25일
Thanks Sir @ImageAnalyst and @WalterRoberson.I got you people points.Now i am doing detection in this three channel image so how useful it will be,i am compare to gray image, what advantages will this three channels image now to further crack down this three channel image as compared to single channel image(gray image).Thanks for you people responses.Cheers

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

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Image Processing Toolbox에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by