imgAxisDistribution

pixel value distribution
3 Downloads
Aktualisiert 25. Mai 2020

Lizenz anzeigen

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.

Zitieren als

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

Kompatibilität der MATLAB-Version
Erstellt mit R2020a
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
Version Veröffentlicht Versionshinweise
1.0.0