how to convert char array to two dimension image
조회 수: 8 (최근 30일)
이전 댓글 표시
hello my gui brows an image and I want to apply edge method on this image but the problem that when i brows image it appear as string , so i cant apply edge method?? can anyone tell me how to solve this problem please ?
댓글 수: 2
Walter Roberson
2016년 5월 1일
Please post your code.
It sounds like you might be trying to work on the name of the file rather than the content of the file.
채택된 답변
Walter Roberson
2016년 5월 1일
- Do not name a variable image
- You need to read the content of the image file using imread()
- It is recommended to use fullfile() to construct the file names instead of strcat
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Logical에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!