imgAxisDistribution

pixel value distribution
3 descargas
Actualizado 25 may 2020

Ver licencia

This function will plot the distribution of pixel values (all 3 channels) for a given/chosen row(Y-value) or column(X-value) from the image.

Input: image (RGB) , row or column number (double) , "r" or "c" to indicate it is row or column
Output: figure , R-G-B distribution tables
Process: the function chooses the row or column passed by the user and stores it in a column matrix. It then scan that row or column to find how many pixel are present for that pixel value
EG: if you pass column number 831 in a 900x900 image, it will scan that column and tell you how many pixels are 255, how many pixels are 133, how many pixel are 78 and so on.
Observation: it is possible that one channel may have x axis (from output plot) from 0 to 81. This means that the whole row/col has pixel intensities from 0 to 81 only. Above 81, none are present.

Citar como

Anmol Pardeshi (2024). imgAxisDistribution (https://www.mathworks.com/matlabcentral/fileexchange/76098-imgaxisdistribution), MATLAB Central File Exchange. Recuperado .

Compatibilidad con la versión de MATLAB
Se creó con R2020a
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
Versión Publicado Notas de la versión
1.0.0