How to find total number of pixels in a colour image? How to find the resolution of an 2D image?
2 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
priya h
il 24 Feb 2021
Commentato: Image Analyst
il 27 Feb 2021
How to find total number of pixels in a colour image? How to find the resolution of an 2D image?
2 Commenti
Image Analyst
il 27 Feb 2021
I told you in the Answer below. Anyway, I'm now attaching my spatial calibration demo.
Risposta accettata
Image Analyst
il 24 Feb 2021
[rows, columns, numColorChannels] = size(rgbImage);
numberOfPixels = rows * columns;
Digital resolution is number of rows and columns.
Spatial resolution in the real world units is the field of view in real world units divided by the number of rows or columns.
0 Commenti
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Image Processing Toolbox in Help Center e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!