计算机应用与软件
計算機應用與軟件
계산궤응용여연건
Computer Applications and Software
2015年
8期
190-192
,共3页
江玉珍%朱映辉%李建忠%刘小跃
江玉珍%硃映輝%李建忠%劉小躍
강옥진%주영휘%리건충%류소약
景深%数学形态学%HSI彩色空间%区域分割
景深%數學形態學%HSI綵色空間%區域分割
경심%수학형태학%HSI채색공간%구역분할
Depth-of-field%Mathematical morphology%HSI colour space%Region segmentation
针对普通数码相机难以拍摄出小景深特写效果的缺陷,提出一种由大景深图像自适应转换至小景深效果的模拟算法。算法在指定局部目标区域的基础上,通过聚焦对象边缘检测及区域填充实现目标区分割,并运用数学形态学闭运算对分割区进行修正,由目标区域的大小来确定结构元素半径,最后通过非聚焦区的模糊虚化实现原图的小景深快速模拟。实验证明,该方法有效提高了聚焦对象的分割精确度,且算法适应力强,对不同的目标区均能获得良好的小景深模拟效果。
針對普通數碼相機難以拍攝齣小景深特寫效果的缺陷,提齣一種由大景深圖像自適應轉換至小景深效果的模擬算法。算法在指定跼部目標區域的基礎上,通過聚焦對象邊緣檢測及區域填充實現目標區分割,併運用數學形態學閉運算對分割區進行脩正,由目標區域的大小來確定結構元素半徑,最後通過非聚焦區的模糊虛化實現原圖的小景深快速模擬。實驗證明,該方法有效提高瞭聚焦對象的分割精確度,且算法適應力彊,對不同的目標區均能穫得良好的小景深模擬效果。
침대보통수마상궤난이박섭출소경심특사효과적결함,제출일충유대경심도상자괄응전환지소경심효과적모의산법。산법재지정국부목표구역적기출상,통과취초대상변연검측급구역전충실현목표구분할,병운용수학형태학폐운산대분할구진행수정,유목표구역적대소래학정결구원소반경,최후통과비취초구적모호허화실현원도적소경심쾌속모의。실험증명,해방법유효제고료취초대상적분할정학도,차산법괄응력강,대불동적목표구균능획득량호적소경심모의효과。
Aiming at the disadvantage of ordinary digital camera that it can hardly get photos with nice small depth-of-field ( DOF) effect, we present a simulation algorithm which self-adjusts the image from large DOF to small DOF.In the algorithm, a local target area is first designated.On that basis, the target area segmentation is implemented through focusing object edge detection and region filling, then the segmented region is mended by close operation of mathematical morphology, in which the radius of structuring element is determined by the size of target area.The unfocused region is blurred at last, through this the fast small DOF simulation on original image is realised. Experiment proves that the method effectively improves the segmentation accuracy of focusing object, the applicability of the algorithm is high as well, and good simulation result of small DOF can be obtained for different target area.