Info

この質問は閉じられています。 編集または回答するには再度開いてください。

I read an rgb image i wanted the histogram of the image but when i gave the command imhist('xyz.jpg') it gave me error by plotting just the x -y axis and not the graph in it.It was totally white.The image is already in uint8 type ,how do i solve it ?

1 回表示 (過去 30 日間)
Pranit Patil
Pranit Patil 2018 年 3 月 8 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
I=imread('v.jpg'); imshow(i) figure; imhist(i)
  1 件のコメント
Jan
Jan 2018 年 3 月 8 日
In the title your mention imhist('xyz.jpg'), which interprets the char vector 'xyz.jpg' as image with 1 row and 7 columns. In the body of question, you use I=imread('v.jpg') with an upper-case 'I', but display i in lower-case. This is at least confusing.
"It gave me error" does not help to understand, which problem you get. Please post a copy of the code and of the complete error message.

回答 (0 件)

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by