imgAxisDistribution

pixel value distribution
3 téléchargements
Mise à jour 25 mai 2020

Afficher la licence

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.

Citation pour cette source

Anmol Pardeshi (2024). imgAxisDistribution (https://www.mathworks.com/matlabcentral/fileexchange/76098-imgaxisdistribution), MATLAB Central File Exchange. Récupéré le .

Compatibilité avec les versions de MATLAB
Créé avec R2020a
Compatible avec toutes les versions
Plateformes compatibles
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
Version Publié le Notes de version
1.0.0