how to scan an grayscale image to detect the gray-level value of grayscale image using matlab?

2 visualizaciones (últimos 30 días)
how to scan an grayscale image to detect the gray-level value of grayscale image

Respuestas (1)

DGM
DGM el 30 de Dic. de 2023
Editada: DGM el 30 de Dic. de 2023
Oh that's easy. Consider the following image.
A = imread('cameraman.tif');
Now you're done.
Seriously though. This is a nonsense question. The "gray level values" of a grayscale image is the image. There's nothing to "scan" or "detect". Was it about finding average gray levels? What about extreme values instead of the mean? Would those be local or global measures? Histogram counts? Optimal threshold levels? GLD? GLCM? If there were something else intended by the question, it's been lost.
The slowest way to be disappointed is to ask for something so apparently ridiculous that everyone ignores you. You want the conversation to start with efforts toward creating the solution to an understood problem. You don't want the conversation to start with people asking you to explain your question. When people see the conversation headed in that direction, they'll avoid it.

Categorías

Más información sobre Image Processing Toolbox en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by