how to convert char array to two dimension image
1 次查看(过去 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!