How to find total number of pixels in a colour image? How to find the resolution of an 2D image?
조회 수: 1 (최근 30일)
이전 댓글 표시
How to find total number of pixels in a colour image? How to find the resolution of an 2D image?
댓글 수: 2
Image Analyst
2021년 2월 27일
I told you in the Answer below. Anyway, I'm now attaching my spatial calibration demo.
채택된 답변
Image Analyst
2021년 2월 24일
[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
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Image Processing Toolbox에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!