首页> 外国专利> SELECTING OPTIMAL IMAGE FROM MOBILE DEVICE CAPTURES

SELECTING OPTIMAL IMAGE FROM MOBILE DEVICE CAPTURES

机译:从移动设备捕获中选择最佳图像

摘要

Embodiments of the disclosed technologies include a method of capturing, using a mobile device, a best-focused image of a skin surface of a subject, the method including: setting a camera of the mobile device to a fixed focal length; capturing, using the camera, a current image of a plurality of images of the skin surface, the plurality of images having a sequence and including a first previous image captured, using the camera, previously to the current image and a second previous image captured, using the camera, previously to the first previous image; producing a modified image from the current image; transforming the modified image, using a Laplacian pyramid, to produce a plurality of first luminance values from the modified image and a plurality of second luminance values from the plurality of first luminance values; averaging a plurality of first squared values, each including a square of a corresponding first luminance value of the plurality of first luminance values, to produce a first energy value; averaging a plurality of second squared values, each including a square of a corresponding second luminance value of the plurality of second luminance values, to produce a second energy value; calculating a first ratio of the first energy value to the second energy value; calculating, as an average first energy value of the first previous image, an average of the first energy value, a corresponding first energy value of the first previous image, and a corresponding first energy value of the second previous image; calculating, as an average first ratio of the first previous image, an average of the first ratio, a corresponding first ratio of the first previous image, and a corresponding first ratio of the second previous image; determining that the first previous image is one of a plurality of valid images, where each valid image of the plurality of valid images is an image of the plurality of images and has: a corresponding average first energy value above an energy threshold value; and a corresponding average first ratio approximately equal to 1.0; determining that a first valid image of the plurality of valid images is the best-focused image, where the first valid image has a corresponding average first energy value that is greater than the corresponding average first energy values of: a previous valid image captured immediately before the first valid image; and a subsequent valid image captured immediately after the first valid image; and performing an action associated with the best-focused image.
机译:所公开的技术的实施例包括一种使用移动设备捕获对象的皮肤表面的最佳聚焦图像的方法,该方法包括:将移动设备的相机设置为固定焦距;以及将移动设备的相机设置为固定焦距。使用照相机捕获皮肤表面的多个图像的当前图像,所述多个图像具有序列并且包括使用照相机在当前图像之前捕获的第一先前图像和第二先前图像捕获,使用相机,先于第一张先前的图像;从当前图像产生修改后的图像;使用拉普拉斯金字塔对变形图像进行变换,以从变形图像产生多个第一亮度值,并从多个第一亮度值产生多个第二亮度值;对多个第一平方值求平均,以产生第一能量值,每个第一平方值包括多个第一亮度值中对应的第一亮度值的平方。平均多个第二平方值,以产生第二能量值,每个第二平方值包括多个第二亮度值中对应的第二亮度值的平方。计算第一能量值与第二能量值的第一比例;作为所述第一先前图像的平均第一能量值,计算所述第一能量值的平均值,所述第一先前图像的对应的第一能量值和所述第二先前图像的对应的第一能量值;作为第一先前图像的平均第一比率,计算第一比率的平均值,第一先前图像的对应的第一比率,以及第二先前图像的对应的第一比率;确定第一先前图像是多个有效图像中的一个,其中多个有效图像中的每个有效图像是多个图像中的图像,并且具有:高于能量阈值的对应的平均第一能量值;相应的平均第一比率约为1.0;确定所述多个有效图像中的第一有效图像是最佳聚焦图像,其中所述第一有效图像具有对应的平均第一能量值,所述对应的平均第一能量值大于以下各项的对应的平均第一能量值:第一张有效图片;以及在第一有效图像之后立即捕获的后续有效图像;并执行与最聚焦图像相关的动作。

著录项

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号