How to calculate intensity value of a single pixel in an image ?

11 Ansichten (letzte 30 Tage)
i'm doing project and need to calculate intensity value of a specific pixel in an image. I am using the following code. Is it right? plz help us..
rgbImage = imread('car.jpg');
grayImage = rgb2gray(rgbImage);
impixel(grayImage)

Akzeptierte Antwort

Walter Roberson
Walter Roberson am 25 Jan. 2016
Intensity_at_location = grayImage(RowIndex, ColumnIndex)

Weitere Antworten (1)

solanki pattanayak
solanki pattanayak am 7 Nov. 2019
Intensity_at_location = grayImage(RowIndex, ColumnIndex)

Kategorien

Mehr zu Image Processing Toolbox finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by