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

조회 수: 12 (최근 30일)
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)

채택된 답변

Walter Roberson
Walter Roberson 2016년 1월 25일
Intensity_at_location = grayImage(RowIndex, ColumnIndex)

추가 답변 (1개)

solanki pattanayak
solanki pattanayak 2019년 11월 7일
Intensity_at_location = grayImage(RowIndex, ColumnIndex)

카테고리

Help CenterFile Exchange에서 Image Processing Toolbox에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by