extraction of pixel values of image
2 ビュー (過去 30 日間)
古いコメントを表示
Hello
i want to extract the pixels values of image attached and store it in array or matrix?

3 件のコメント
回答 (1 件)
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
2020 年 1 月 24 日
read is a built-in function. You shouldn't use built-in function names as variables -- I think you meant red.
参考
カテゴリ
Help Center および File Exchange で Image Processing Toolbox についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!