extraction of pixel values of image

2 ビュー (過去 30 日間)
Smruti Khobragade
Smruti Khobragade 2020 年 1 月 24 日
コメント済み: Smruti Khobragade 2020 年 1 月 29 日
Hello
i want to extract the pixels values of image attached and store it in array or matrix?
  3 件のコメント
Guillaume
Guillaume 2020 年 1 月 24 日
編集済み: Guillaume 2020 年 1 月 24 日
The question is not clear. In matlab, an image is stored as a matrix of pixel values. So if you've got the image loaded in matlab, you already have what you want.
Smruti Khobragade
Smruti Khobragade 2020 年 1 月 29 日
i wanted to get the highest pixel values of black color to compare it with anothe images highest black color pixel values

サインインしてコメントする。

回答 (1 件)

Jose Jeremias Caballero
Jose Jeremias Caballero 2020 年 1 月 24 日
編集済み: Jose Jeremias Caballero 2020 年 1 月 24 日
>> a=imread('image.jpeg');
>> read1=a(:,:,1);
>> green1=a(:,:,2);
>> blue1=a(:,:,3);
  3 件のコメント
Image Analyst
Image Analyst 2020 年 1 月 24 日
read is a built-in function. You shouldn't use built-in function names as variables -- I think you meant red.
Smruti Khobragade
Smruti Khobragade 2020 年 1 月 29 日
hello,image analyst
sir can u help me in another question i posted
Thankyou .

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeImage Processing Toolbox についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by