资源描述:
《图像缩放和色彩空间转换算法评估.ppt》由会员上传分享,免费在线阅读,更多相关内容在PPT专区-天天文库。
1、ColorSpaceconversion&ScalingalgorithmappraisementHualongJiaoScalingUp----Simulationresult(1)Originalsmallpicture(400x300)ScalingUp----Simulationresult(2)4xZoomInwithdifferentalgorithmBiCubicLinearCubicHybridBiLinearScalingDown---Simulationresult(1)Or
2、iginalbigpicture(1024x768)ScalingDown---Simulationresult(2)1024x768->192x144ZoomoutwithdifferentalgorithmAreabasedBilinearPow2LinearCubicHybridPow2_BilinearRGB->420---Simulationresult(1)Originalbmppicture(400x432)RGB->420---Simulationresult(1)differe
3、ntalgorithmresultOriginalRGBAVGFIRRGB->422---SimulationresultdifferentalgorithmresultOriginalRGBFIRAVGCubicalgorithmOptimizationintKernelTableforCubicInterpolation[]={//h(X)h(1-X)h(1+X)h(2-X)0x40,0x0,0x0,0x0,0x3F,0x1,0x0,0x0,0x3F,0x2,0x1,0x0,0x3E,0x4
4、,0x2,0x0,0x3D,0x6,0x3,0x0,0x3C,0x7,0x3,0x0,0x3B,0x0A,0x4,0x1,0x39,0x0C,0x4,0x1,0x37,0x0E,0x4,0x1,0x35,0x10,0x4,0x1,0x33,0x13,0x4,0x2,0x30,0x16,0x4,0x2,0x2E,0x18,0x4,0x2,0x2C,0x1B,0x4,0x3,0x29,0x1E,0x4,0x3,0x26,0x21,0x4,0x3,0x24,0x24,0x4,0x4,0x21,0x26
5、,0x3,0x4,0x1E,0x29,0x3,0x4,0x1B,0x2C,0x3,0x4,0x18,0x2E,0x2,0x4,0x16,0x30,0x2,0x4,0x13,0x33,0x2,0x4,0x10,0x35,0x1,0x4,0x0E,0x37,0x1,0x4,0x0C,0x39,0x1,0x4,0x0A,0x3B,0x1,0x4,0x7,0x3C,0x0,0x3,0x6,0x3D,0x0,0x3,0x4,0x3E,0x0,0x2,0x2,0x3F,0x0,0x1,0x1,0x3F,0x
6、0,0x0,};ANewScalingAlgorithm--Pow2BiLinear/Pow2BiCubicBiLinearTheScalingprocessisspittedinto2Steps:1.if(SCALING_DOWN&&SCALING_FACTOR<1/2){SCALINGDOWNtonearest½^nsize,(½^n>SCALING_FACTOR)}2.DoBilinear/BiCubicinterpolationConclusion&SuggestionColorSpac
7、eConversionRGB->YUV420AveragemethodrecommendedRGB->YUV422AveragemethodrecommendedScalingScalingdownPow2BiLinearandAreabasedrecommendedScalingupLinearCubicHybridrecommendedForScalingdownandScalingupconsistency,Pow2LinearCubicHybridrecommended