how to find pixel value of an image
    8 ビュー (過去 30 日間)
  
       古いコメントを表示
    
imread('a.jpg');
[r c]=size(A);pixel
1 件のコメント
  Adam
      
      
 2017 年 3 月 27 日
				Your question is not clear, mostly because you just wrote 2 lines of code without any question apart from the very vague title.
回答 (4 件)
  KSSV
      
      
 2017 年 3 月 27 日
        % Gray Image
I = imread('your image') ; 
level = I(r, c);
% RGB image 
I = imread('your image') ;
rgb = impixel(I,r,c) ;
2 件のコメント
  Sushil  Sharma
 2019 年 11 月 7 日
        I just update your answer, if you need to know the rows and columns in your image:
Let's say you have an image which is 
I = imread('abc.png')  % your image
rgb = impixel(I,rows, columns)  %impixel function 
rgb = 107   107   107  % you will get the pixel value
0 件のコメント
  Aaron Charles Alday
 2020 年 2 月 16 日
        Hi! May I ask how to determine the pixel value of a grayscale picture?
0 件のコメント
参考
カテゴリ
				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!




