The invention discloses an image region determination method, a terminal and a computer readable storage medium. The method shoots N frame images for the same shooting scene after receiving the photographing instruction, where N is greater than or equal to 2. Then, an M frame image is selected from the N frame image as the reference image, where M is greater than or equal to 2, and the data of the corresponding pixel points in the M frame reference image are obtained. After average, the reference image is obtained, and then the moving and non-moving areas are identified according to the reference image, which solves the problem of poor effect in the existing methods of determining the moving and non-moving areas, resulting in ghost of the synthesized photos and low satisfaction of user experience. The invention also discloses a terminal and a computer readable storage medium, and reduces the effect by implementing the above scheme. The probability of ghost appearing in multi-frame denoising based on moving and non-moving regions improves user experience satisfaction.
【技术实现步骤摘要】
一种图像区域确定方法、终端及计算机可读存储介质
本专利技术涉及终端
,更具体地说,涉及一种图像区域确定方法、终端及计算机可读存储介质。
技术介绍
目前,用户通常通过具有拍摄功能的智能终端来拍摄图片,例如,智能手机、平板电脑等。由于,图片拍摄的过程中,往往会存在许多噪点,因此,需要对拍摄的图片进行降噪处理。但是现有技术中,在进行多帧降噪处理时,通常是将两帧拍摄的原始图片进行比较区分出运动区域和非运动区域,但是这种方式中,运动区域和非运动区域区分的不彻底,导致合成的照片产生鬼影,用户体验满意度低的问题。
技术实现思路
本专利技术要解决的技术问题在于现有运动区域和非运动区域确定方式中,效果不好,导致合成的照片产生鬼影,用户体验满意度低的问题,针对该技术问题,提供一种图像区域确定方法、终端及计算机可读存储介质。为解决上述技术问题,本专利技术提供一种图像区域确定方法,所述图像区域确定方法包括:在接收到拍照指令后,针对同一拍摄场景拍摄N帧图像,所述N大于等于2;从所述N帧图像中选择M帧图像作为待参考图像,所述M大于等于2;对所述M帧待参考图像中对应的像素点的数据进行平均后得 ...
【技术保护点】
1.一种图像区域确定方法,其特征在于,所述图像区域确定方法包括:在接收到拍照指令后,针对同一拍摄场景拍摄N帧图像,所述N大于等于2;从所述N帧图像中选择M帧图像作为待参考图像,所述M大于等于2;对所述M帧待参考图像中对应的像素点的数据进行平均后得到参考图像;根据所述参考图像确认出运动区域和非运动区域。
【技术特征摘要】
1.一种图像区域确定方法,其特征在于,所述图像区域确定方法包括:在接收到拍照指令后,针对同一拍摄场景拍摄N帧图像,所述N大于等于2;从所述N帧图像中选择M帧图像作为待参考图像,所述M大于等于2;对所述M帧待参考图像中对应的像素点的数据进行平均后得到参考图像;根据所述参考图像确认出运动区域和非运动区域。2.如权利要求1所述的图像区域确定方法,其特征在于,所述针对同一拍摄场景拍摄N帧图像包括:针对同一拍摄场景拍摄N帧图像,所述N根据预设时间和摄像头曝光时间确定。3.如权利要求1所述的图像区域确定方法,其特征在于,所述针对同一拍摄场景拍摄N帧图像之前,还包括:判断周围环境亮度是否小于预设亮度阈值;若是,针对同一拍摄场景拍摄N帧图像;和/或,判断当前是否处于夜景拍摄模式;若是,针对同一拍摄场景拍摄N帧图像。4.如权利要求1所述的图像区域确定方法,其特征在于,所述根据所述参考图像确认出运动区域和非运动区域包括:从所述N帧图像中选择一帧图像作为基准图像;将所述基准图像与所述参考图像进行比对以确认出运动区域和非运动区域。5.如权利要求4所述的图像区域确定方法,其特征在于,所述M为N-1,所述从所述N帧图像中选择一帧图像作为基准图像包括:将所述N帧图像中,未被...
还没有人留言评论。发表了对其他浏览者有用的留言会获得科技券。