确定摄像头分辨率(即万像素)编程方式的机器人 [英] Determining Camera Resolution (i.e. Megapixels) Programatically in Android

查看:169
本文介绍了确定摄像头分辨率(即万像素)编程方式的机器人的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在开发2.2的Andr​​oid应用程序,它使用相机。 现在,谁能告诉我说:是否有可能以编程方式确定万像素Android中的摄像头分辨率

I am developing an Android application in 2.2, which uses Camera. Now Can anyone tell me that "Is it possible to programmatically determine the Camera Resolution in Megapixels in Android"

任何帮助将是非常美联社preciable。

Any Help would be highly appreciable.

推荐答案

什么是图像分辨率是什么意思?

What does image resolution mean?

分辨率是指像素的图像中的数量。分辨率有时标识的图像的宽度和高度,以及图像中的像素的总数。例如,一个形象,就是2048像素宽,1536像素高(2048×1536)包含(乘)3145728像素(或3.1万像素)。你可以说它是一个2048X1536或310万像素的图像。作为拾取装置中的百万像素相机中的增加也是如此就可以产生的可能的最大尺寸的图像。这意味着,一个500万像素的摄像头能够拍摄较大的图像比300万像素摄像头。

Resolution refers to the number of pixels in an image. Resolution is sometimes identified by the width and height of the image as well as the total number of pixels in the image. For example, an image that is 2048 pixels wide and 1536 pixels high (2048X1536) contains (multiply) 3,145,728 pixels (or 3.1 Megapixels). You could call it a 2048X1536 or a 3.1 Megapixel image. As the megapixels in the pickup device in your camera increase so does the possible maximum size image you can produce. This means that a 5 megapixel camera is capable of capturing a larger image than a 3 megapixel camera.

例如:1936年x一百〇二万四千分之一千五百五十二= 3百万像素

Example: 1936 x 1552 / 1024000 = 3 Mega Pixels

这篇关于确定摄像头分辨率(即万像素)编程方式的机器人的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆