How to store the gray level pixel values into a 2-D array?
이전 댓글 표시
In MATLAB,images are stored in a 1-D array....how to put them into a 2-D array?
댓글 수: 2
Can you show any documentation that states that "In MATLAB,images are stored in a 1-D array." ?
All the documentation that I have ever read states that images are stored as m*n or m*n*3 arrays:
If you have an image in a "1-D array" then this is certainly not due to using the inbuilt MATLAB image functions, and you will need to show us your code so that we can see what you are doing.
Durga
2015년 4월 25일
채택된 답변
추가 답변 (1개)
Jan
2015년 4월 25일
0 개 추천
No, gray level images are stored in 2D array in Matlab in general.
Please explain, why you assume that they are stored in 1D-vectors. This assumption seems to be the problem.
댓글 수: 2
Jan
2015년 4월 25일
Please post you code and post a copy of the error messages. It is hard to give a suggestion based on "I could not do it".
카테고리
도움말 센터 및 File Exchange에서 Image Arithmetic에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!