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

11 vues (au cours des 30 derniers jours)
Muhammad Usman
Muhammad Usman le 25 Jan 2016
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)

Réponse acceptée

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

Plus de réponses (1)

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

Catégories

En savoir plus sur Image Processing Toolbox dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by