Problem with image processing using edge detection
6 ビュー (過去 30 日間)
古いコメントを表示
I am trying to do image processing using edge detection on several images. But it's working for all the images except the one I cropped and edited. Please help me. I really need to get this done.
2 件のコメント
採用された回答
KALYAN ACHARJYA
2018 年 7 月 27 日
編集済み: KALYAN ACHARJYA
2018 年 7 月 27 日
%Change the file name, save as some different name.
% Close Matlab and Restart it again
% Nothing wrong in the following code
clc; clear all; close all;
% Display the original Image
image=imread('safety night.jpg');
% Read Colour Image and convert it to a grey level Image
myimage=rgb2gray(image);
imshow(myimage);
title('Gray Scale Image');
その他の回答 (2 件)
Diwakar Ravichandran
2018 年 7 月 27 日
Hi Shahrin,
I tried reproducing the issue,
One thing for you to note in your code is that the name of the image is different in the code. The file is named stopD.jpg, and your code is calling stop.jpeg.
So, that could be one cause of the issue. When I did try to reproduce I got an output which I have attached. Please verify that it is the correct output.
Hope this helps,
Cheers!
4 件のコメント
参考
カテゴリ
Help Center および File Exchange で Convert Image Type についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!