how to find pixel value of an image
Ältere Kommentare anzeigen
imread('a.jpg');
[r c]=size(A);pixel
1 Kommentar
Adam
am 27 Mär. 2017
Your question is not clear, mostly because you just wrote 2 lines of code without any question apart from the very vague title.
Antworten (4)
aaru sri
am 7 Feb. 2019
1 Stimme
how to make a one pixel change in it
KSSV
am 27 Mär. 2017
% Gray Image
I = imread('your image') ;
level = I(r, c);
% RGB image
I = imread('your image') ;
rgb = impixel(I,r,c) ;
2 Kommentare
vasantha malairamar
am 27 Mär. 2017
KSSV
am 27 Mär. 2017
r,c should be indices which stand off row and column positions.
Sushil Sharma
am 7 Nov. 2019
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
Aaron Charles Alday
am 16 Feb. 2020
0 Stimmen
Hi! May I ask how to determine the pixel value of a grayscale picture?
Kategorien
Mehr zu Images finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!