diff --git a/testdata/cv/cameracalibration/chromatic_aberration/ca_photo.png b/testdata/cv/cameracalibration/chromatic_aberration/ca_photo.png new file mode 100644 index 000000000..cf2d3c4e6 Binary files /dev/null and b/testdata/cv/cameracalibration/chromatic_aberration/ca_photo.png differ diff --git a/testdata/cv/cameracalibration/chromatic_aberration/calib_result.yaml b/testdata/cv/cameracalibration/chromatic_aberration/calib_result.yaml new file mode 100644 index 000000000..691852275 --- /dev/null +++ b/testdata/cv/cameracalibration/chromatic_aberration/calib_result.yaml @@ -0,0 +1,332 @@ +blue_channel: + coeffs_x: + - 0.16016627848148346 + - -0.18036241829395294 + - 1.3220205307006836 + - 0.24515654146671295 + - 0.26312708854675293 + - 0.06305799633264542 + - 0.6168044209480286 + - -2.819237232208252 + - -0.23466314375400543 + - -5.117337226867676 + - -1.3371520042419434 + - -0.06316445022821426 + - -0.030749661847949028 + - -0.538694441318512 + - 1.4478696584701538 + - -0.996076226234436 + - 3.457972526550293 + - -0.46943429112434387 + - 4.398449420928955 + - 0.9989798069000244 + - 5.038022994995117 + - 1.2336267232894897 + - 0.18887265026569366 + - 0.21862390637397766 + - 0.11758851259946823 + - -0.4799167215824127 + - 0.3982612192630768 + - -1.113395094871521 + - 0.7853375673294067 + - -2.0692148208618164 + - 0.22594109177589417 + - -2.4312827587127686 + - 0.09402278065681458 + - -2.561681032180786 + - -0.8729381561279297 + - -2.5213429927825928 + - -0.45109108090400696 + - -0.14896658062934875 + - -0.08301360160112381 + - 0.05738600715994835 + - 0.008240963332355022 + - -0.09712076187133789 + - 0.28064900636672974 + - -0.1520145982503891 + - 0.29112714529037476 + - -0.28561967611312866 + - 0.5643580555915833 + - 0.014461135491728783 + - 0.6870518326759338 + - -0.15840406715869904 + - 0.7039433717727661 + - 0.050587013363838196 + - 0.6562227010726929 + - 0.32730036973953247 + - 0.6136690378189087 + - 0.05884304270148277 + - 0.03040572628378868 + - 0.010506476275622845 + - -0.020147262141108513 + - 0.000966763764154166 + - 0.01676524244248867 + - -0.009084601886570454 + - 0.0050105745904147625 + - -0.04575430229306221 + - 0.02460169605910778 + - -0.022628318518400192 + - 0.038403648883104324 + - -0.057536691427230835 + - -0.016452606767416 + - -0.07629555463790894 + - 0.038782890886068344 + - -0.07296614348888397 + - -0.01004658080637455 + - -0.07642227411270142 + - 0.0015280868392437696 + - -0.061894748359918594 + - -0.048052843660116196 + - -0.05803956091403961 + coeffs_y: + - -0.2484312802553177 + - 1.4264600276947021 + - 0.28866949677467346 + - 0.46633651852607727 + - -1.0465141534805298 + - -0.7030075788497925 + - -1.9817302227020264 + - -0.4190935790538788 + - -1.2340986728668213 + - 0.8534848093986511 + - -1.1341568231582642 + - 0.6118171811103821 + - -0.03216544911265373 + - 1.7028205394744873 + - 1.887770414352417 + - 1.3448175191879272 + - 0.970604658126831 + - 2.98803448677063 + - 0.16964790225028992 + - -1.0200444459915161 + - -2.6617166996002197 + - 1.1032625436782837 + - -0.02332170121371746 + - 0.022096293047070503 + - -1.396976113319397 + - -0.45587158203125 + - -0.6763549447059631 + - -1.3726530075073242 + - -0.4096117615699768 + - -1.0411616563796997 + - -1.812800407409668 + - 0.04391738772392273 + - -0.6101374626159668 + - 0.160746231675148 + - 1.169212818145752 + - 2.1943917274475098 + - -0.4373762607574463 + - -0.02219703607261181 + - 0.05587944760918617 + - 0.24556390941143036 + - -0.03263509273529053 + - 0.5006992816925049 + - 0.2930191159248352 + - 0.07839585095643997 + - 0.40158796310424805 + - 0.03802980110049248 + - 0.43934541940689087 + - 0.4167330861091614 + - -0.063443124294281 + - 0.472674697637558 + - 0.014093231409788132 + - -0.17205935716629028 + - -0.14668969810009003 + - -0.383340060710907 + - -0.7340346574783325 + - 0.060413021594285965 + - -0.0006240483489818871 + - -0.015725910663604736 + - 0.007710729259997606 + - 0.01391985546797514 + - -0.08142700046300888 + - -0.012145145796239376 + - -0.03512900322675705 + - -0.044345151633024216 + - 0.000600398750975728 + - -0.04158443957567215 + - 0.002780836308375001 + - -0.06339377909898758 + - -0.035086069256067276 + - 0.011909998022019863 + - -0.06514541059732437 + - -0.0030674440786242485 + - -0.01641674153506756 + - 0.0052113099955022335 + - 0.04065532982349396 + - 0.024305831640958786 + - 0.04223736375570297 + - 0.08777189254760742 + mean_x: 3394.3818359375 + mean_y: 1818.6468505859375 + rms: 0.2617421495595691 + std_x: 2239.822265625 + std_y: 1282.6632080078125 +degree: 11 +image_resolution: + height: 4480 + width: 6720 +red_channel: + coeffs_x: + - 0.04587291553616524 + - -0.11009608954191208 + - -0.5585044619412906 + - 0.1257501095533371 + - -0.20999592542648315 + - 0.9629625076665981 + - 0.5516157734570366 + - -1.2612224810490165 + - -0.07860716432332993 + - -0.9827313411790011 + - -0.2913795980723078 + - 0.07992763817310333 + - -0.3609248986170714 + - 0.33745199328929437 + - -0.0532597079873085 + - -0.8489420944596173 + - 0.8738445613596111 + - -0.214691162109375 + - 1.7286179030675348 + - 0.15561650693416595 + - -1.949188100602228 + - 0.24153387546539307 + - 0.018510010852104408 + - -0.041009629754814876 + - -0.08541002867906787 + - 0.2898070169716437 + - -0.1856815218755553 + - -0.21715100215464145 + - 0.5717613874118905 + - -0.31884784925885223 + - 0.30052982651340077 + - -0.5232846043800592 + - -0.1264261156320572 + - -0.8652045614566017 + - -0.05164529679717029 + - 2.734844332196336 + - -0.09639610988453465 + - -0.010402539744973183 + - 0.029638157175906156 + - -0.021086558699607866 + - -0.018978006379121577 + - 0.038451600819826126 + - -0.08027294169709026 + - 0.0447897841157524 + - 0.053029417246077744 + - -0.17797590176389685 + - 0.046244631741150476 + - -0.10685446860105295 + - 0.1460587351527118 + - -0.03753944557537215 + - 0.08877718553676268 + - 0.09858960660011072 + - 0.19160738908239425 + - -0.020983595940239103 + - -1.1043881585804707 + - 0.013971188846459585 + - 0.0005891892942599952 + - 0.00013703144388177365 + - 0.004061980172991753 + - -0.015839938542117418 + - 0.005601778626441956 + - 0.01994459331035614 + - -0.008084537461400015 + - 0.001452688011340797 + - -0.003924753997527406 + - -0.0009557974990457122 + - 0.020906961227898098 + - -0.0002153851237380702 + - 0.012867930782839142 + - -0.020158428698778152 + - 0.007984337409281325 + - -0.002218786859884858 + - -0.00019091526337433606 + - -0.011752521606839126 + - -0.016483426730279423 + - -0.013242567889392376 + - 0.00816395878791809 + - 0.14623587579384695 + coeffs_y: + - -0.03236070237309438 + - -0.23072586645745272 + - -0.16016062786244387 + - -0.0014997290721632428 + - 0.41783556313053155 + - -0.17927974154614446 + - -0.25238066795573655 + - -0.08556675910949707 + - -1.66132497698698 + - 1.321108458895867 + - -0.4781288477741589 + - -0.10556086897850037 + - -0.10343044380472179 + - -0.5212222326405465 + - 0.49367671937649543 + - -0.4179943436605276 + - 0.17994535715237506 + - 0.5963322500232006 + - 0.43789255417877593 + - 1.9371603676529814 + - -2.9566814707729194 + - 0.5019284323046422 + - -0.0995274869613456 + - 0.1899997560056277 + - 0.36049565248760324 + - -0.05786850637943252 + - 0.20860635490075002 + - -0.428618951294144 + - 0.4451045273197336 + - -0.21087263535798348 + - 0.14192365098654472 + - -0.1859120546784305 + - -0.41955917095287193 + - -0.2224047109399711 + - -1.1913039494817426 + - 2.4267319622006913 + - -0.19238102447331704 + - 0.06546105315162663 + - -0.08060501645133965 + - -0.06616844130114155 + - -0.028171955974353152 + - -0.20808786153793335 + - 0.05156370679051762 + - 0.028921742557036063 + - 0.14062511176720507 + - -0.15410246712164088 + - 0.10429666298076073 + - -0.09557161631989063 + - -0.015935764352921978 + - -0.03156471537658216 + - 0.13494291465274702 + - 0.16951781819201472 + - -0.004695163538953598 + - 0.3543712623929346 + - -0.8320601096291648 + - 0.025221139192581177 + - -0.011370036929176095 + - 0.010576267232998674 + - 0.0039662849658746785 + - 0.006658803671598416 + - 0.02008445494770159 + - -0.0007700863019118763 + - 0.03069697516429172 + - -0.008284214446440853 + - -0.017346573551192346 + - -0.015302026206747229 + - 0.019037968774195217 + - -0.01671904205382715 + - 0.013672915724917698 + - 0.0074428185240418354 + - 0.004124527366557781 + - -0.009948369293735269 + - 0.008632202454581019 + - -0.01566513674544269 + - -0.029523081980469365 + - 0.009278575889766216 + - -0.039356023404799684 + - 0.10176636278629303 + mean_x: 3392.451171875 + mean_y: 1819.25439453125 + rms: 0.09219520968995618 + std_x: 2239.90380859375 + std_y: 1282.8143310546875 diff --git a/testdata/cv/cameracalibration/chromatic_aberration/chromatic_aberration_pattern_a3.png b/testdata/cv/cameracalibration/chromatic_aberration/chromatic_aberration_pattern_a3.png new file mode 100644 index 000000000..3e8764f33 Binary files /dev/null and b/testdata/cv/cameracalibration/chromatic_aberration/chromatic_aberration_pattern_a3.png differ