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

Illustration
Aislinn - 2020-10-26T10:11:16+00:00
Question: How to calculate intensity value of a single pixel in an image ?

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)

Expert Answer

Profile picture of John Williams John Williams answered . 2025-11-20

Intensity_at_location = grayImage(RowIndex, ColumnIndex)


Not satisfied with the answer ?? ASK NOW

Get a Free Consultation or a Sample Assignment Review!