如何在 Windows Mobile 上捕获高分辨率图像 [英] How to capture high resolution image on Windows Mobile

查看:42
本文介绍了如何在 Windows Mobile 上捕获高分辨率图像的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想用 Windows Mobile 设备捕捉高分辨率图像.我已经尝试过 WM SDK 中的示例,但它只捕获了摄像机的一帧并且分辨率很差.有没有人有使用 C++ 在 Pocket PC 上捕获图像的经验?

I would like to capture high resolution image with Windows Mobile device. I've tried the example from WM SDK, but it captures just a single frame of video camera and the resolution is poor. Has anyone any experience with image capturing on Pocket PC with C++?

谢谢

推荐答案

您需要更改示例代码使用的过滤器以捕获高分辨率图像.当您在数码相机中使用取景器时,相机通过应用最低分辨率过滤器然后快速拍摄和显示单帧来模拟"摄像机外观.当您单击按钮拍摄高分辨率照片时,相机必须将低分辨率滤镜换成高分辨率滤镜,然后才能拍摄高分辨率照片 - 这就是(便宜的)数码相机总是如此拍摄的原因好想拍张照片.

You need to change the filter used by the example code to capture a high-resolution image. When you use the viewfinder in a digital camera, the camera "simulates" a video camera look by applying the lowest resolution filter and then rapidly taking and displaying single frames. When you click the button to take a high-res picture, the camera has to swap out the low-res filter for the high-res filter and then take the high-res picture - this is why (cheap) digital cameras always take so long to snap a picture.

我不知道您使用的是哪个代码示例,但如果是我使用的示例,则默认使用最低分辨率过滤器.某处应该有一行选择过滤器.您只需要将传递的值从 0 更改为(可能)3 或 4 以获得最高分辨率.

I don't know which code example you're working with, but if it's the one I used it defaults to using the lowest resolution filter. There should be a line in it somewhere that selects the filter. You just need to change the value passed from 0 to (probably) 3 or 4 for the highest resolution.

这篇关于如何在 Windows Mobile 上捕获高分辨率图像的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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