{"id":3679,"date":"2023-12-26T23:31:22","date_gmt":"2023-12-26T15:31:22","guid":{"rendered":"http:\/\/fredkuo.idv.tw\/wordpress\/?p=3679"},"modified":"2023-12-26T23:31:22","modified_gmt":"2023-12-26T15:31:22","slug":"3-points-gray-correction","status":"publish","type":"post","link":"https:\/\/fredkuo.idv.tw\/wordpress\/?p=3679","title":{"rendered":"3 points gray correction"},"content":{"rendered":"<p><b><\/b><\/p>\n<p> <b>   <\/p>\n<p>3 points gray correction<\/p>\n<p>\u4e0a\u4e00\u56de\u7684\u5de5\u5177\u958b\u767c\u6210\u529f\u7684\u4ee5\u55ae\u9ede\u4fee\u6b63\u4f86\u4fee\u6b63PDF\u7684\u7248\u8abf\uff0c\u90a3\u5e7e\u884c\u7c21\u77ed\u7684\u7a0b\u5f0f\u78bc\u5728\u5be6\u969b\u751f\u7522\u4e0a\u6703\u662f\u975e\u5e38\u6709\u6548\u7684\u5de5\u5177\uff0c\u4f46\u5982\u679c\u662f\u5728\u8981\u53d6\u5f97\u5370\u5237\u8a8d\u8b49\u7684\u5834\u5408(\u5982Fogra PSO \u6216 idealiiancd G7)\uff0c\u9019\u500b\u7c21\u6377\u7684\u55ae\u9ede\u63a7\u5236\u4e0d\u4e00\u5b9a\u80fd\u53d6\u5f97\u5168\u9762\u7b26\u5408\u7684\u6578\u64da\u3002<\/p>\n<p>\u6211\u4e4b\u524d\u7684\u5de5\u5177\u767c\u5c55\u6709\u4e00\u500b3\u9ede\u7070\u5e73\u8861\u4fee\u6b63(25%\u300150%\u300175%)\u3002\u53ef\u4ee5\u5f88\u5feb\u5730\u53d6\u5f97G7 Grayscale\u6210\u679c\uff0c\u914d\u5408Beer&#8217;s Law \u5de5\u5177\uff0c\u53ef\u4ee5\u5f88\u5feb\u7684\u9054\u6210G7 targeted\u898f\u683c\u3002&#160;&#160; <\/p>\n<p>\u4e0a\u9762\u63d0\u5230\u7684\u8a9e\u6cd5\u662f\u7d93\u7531ghostscript \u5e36\u52d5 Postscript \u53bb\u6539\u8b8aPDF \u7684\u7248\u8abf\uff0c\u4ee5\u55ae\u4e0050%\u8655\u7528exponential \u51fd\u5f0f\u66f2\u7dab\u53bb\u5e36\u52d5\u6574\u500b\u7248\u8abf\u4fee\u6b63\u3002\u5982\u679c\u8981\u7528\u4e09\u9ede\u4fee\u6b63\u7684\u65b9\u6cd5\uff0c\u55ae\u4e00exponential \u662f\u5e36\u4e0d\u51fa\u4f86\u7684\uff0c\u4f30\u8a08polynominal regression \u6216 spline interpolation \u90fd\u505a\u5f97\u5230\uff0c\u6211\u4e0d\u597d\u4f30\u8a08\u662fpolynominal regression\u6bd4\u8f03\u597d\uff0c\u6216\u662fspline interpretation\u6703\u6bd4\u8f03\u597d\u3002\u4e0d\u904e\u53ef\u4ee5\u78ba\u5b9a spline interpolation\u5728\u66f2\u7dab\u7684\u5206\u5e03\u6703\u7d93\u904e\u6211\u6a19\u793a\u76845\u500b\u9ede(0%\u300125%\u300150%\u300175%\u3001100%)\uff0c\u6240\u4ee5\u6211\u8a66\u8457\u8981\u7528 Spline interpolation\u7684\u65b9\u5f0f\u4f86\u9054\u62103\u9ede\u7070\u5e73\u8861\u4fee\u6b63\u7684\u529f\u80fd\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/lh7-us.googleusercontent.com\/zbjEcAM0tyLYZ6ns4b6atMM0jlwgTW8ylfe7Tlux98qBAf2d8DU7hc-ivhWs2ZRPL9kjZYGAry9138CzBHcjHwt6tdXO3nsJzRcY6Trq6CuSmHhoULQRclMoxsEkdlt8PCXVBkoI2lffWqjeGsKNsGM\" width=\"602\" height=\"295\" \/>      <br \/>Fig.&#160; 3\u9ede\u7070\u5e73\u8861\u4fee\u6b63\u6848\u4f8b<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/lh7-us.googleusercontent.com\/Y9mQhR0covbrVElrp7ppBBe2-q3PMqQ4-REatzC4ZRDmbTELrh2G8y09_hI21qGSkPYjiB_ccvTjHpfSSoCuJJgc9apZkBmwWLSLPXRY8qnPVgoRDJ_-XGU8eGqwgJ-r3TFzXIsiqP6Id4_5ScKAedw\" width=\"602\" height=\"279\" \/><\/p>\n<p>Fig. \u540c\u4e00\u7d44\u7248\u8abf\u4fee\u6b63\u6578\u64da\uff0c\u5de6\u908a\u70bapolynominal regression\uff0c\u53f3\u908a\u70baspline interpolation\uff0c\u53ef\u4ee5\u770b\u51faspline interpolation \u6703\u7d93\u904e\u6578\u64da\u6a19\u793a\u76845\u500b\u9ede\u3002<\/p>\n<p>Spline interpolation \u662f\u6211\u4ee5\u524d\u6c92\u505a\u904e\u7684\u984c\u76ee\uff0c\u81ea\u7136\u53c8\u662f\u627e\u4e0aChatGPT\u4e86\u3002<\/p>\n<p>ChatGPT\u9019\u6b21\u5f88\u5feb\u7684\u5c31\u56de\u61c9\u51fa\u53ef\u57f7\u884c\u7684\u7a0b\u5f0f\u78bc\uff0c\u4ee5python\u5957\u7528 scipy.interpolate library \u88cf\u7684CubicSpline \u529f\u80fd\uff0c\u4f9d\u64da\u6211\u7d66\u76843\u9ede\u4fee\u6b63\u6578\u64da(\u52a0\u4e0a0%\u53ca100% \u7e3d\u51715\u7d44\u6578\u64da)\u5f88\u5feb\u5c31\u80fd\u53d6\u5f97Spline \u7248\u8abf\u4fee\u6b63\u66f2\u7dda\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/lh7-us.googleusercontent.com\/5tvJrIlKY763ozJu023kNOg5fNoag0f7B5gIMcur2DIqkYqaFqI1llA4csOzOWwm5Oh5HScvHqT8cTXo-TPhjH2Eh30QEpA_iwZaBCQ7G-4I8Gnj-5i2_NP6xXVYQYbx4RZMPgmF__ABEDRPUui2GxU\" width=\"401\" height=\"347\" \/><\/p>\n<p>Fig. \u4ee5python\u5957\u7528 scipy.interpolate library \u88cf\u7684CubicSpline \u529f\u80fd\uff0c\u4f9d\u64da3\u9ede\u4fee\u6b63\u6578\u64da(\u52a0\u4e0a0%\u53ca100% \u7e3d\u51715\u7d44\u6578\u64da)\u5f88\u5feb\u5c31\u80fd\u53d6\u5f97Spline \u7248\u8abf\u4fee\u6b63\u66f2\u7dda\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/lh7-us.googleusercontent.com\/gWQSfiHqw0vueJldaKH0lYKuRoR3YDjT7M_AGDZ0JlZVTVEWNav4_F4hheGO25tDIeON0cQJZ_8mtQLddJiZwLuMqPue7NOzjqMmHLrw6VyjqmU9ZKefL_8XWCkUcz3STodZoyYmTdxj0tnfi0qEeZc\" width=\"396\" height=\"402\" \/><\/p>\n<p>Fig. \u7531scipy.interpolate library \u88cf\u7684CubicSpline\u5c0e\u51fa\u7684\u7248\u8abf\u4fee\u6b63\u8868\u3002<\/p>\n<p>\u63a5\u4e0b\u4f86\u5c31\u662f\u5c07\u9019\u500b\u4fee\u6b63\u66f2\u7dda\u5957\u7528\u5230\u5f71\u50cf\u6a94\u88e1\u9762\u3002\u4e0a\u56de\u63d0\u5230\u7528ghostscript\u4ee5\u55ae\u4e0050%\u8655\u7528postscript exponential \u51fd\u5f0f\u66f2\u7dab\u53bb\u5e36\u52d5\u6574\u500b\u7248\u8abf\u4fee\u6b63\uff0c\u9019\u88cf\u8981\u7528\u5230\u6574\u500bSpline transfer curve \u5957\u7528\u5230\u6574\u500b\u7248\u8abf\uff0c\u7d93\u904e\u5f88\u9577\u4e00\u6bb5\u6642\u9593\u5728ChatGPT\u7684\u5404\u7a2e\u52aa\u529b\uff0c\u76ee\u524d\u9084\u662f\u99d5\u99ad\u4e0d\u4e86postscript\u7684\u8a9e\u6cd5\u3002\u9000\u800c\u6c42\u5176\u6b21\uff0c\u9084\u662f\u5148\u76f4\u63a5\u5728\u5f71\u50cf\u6a94(\u50cf\u7d20\u6a94)\u505a\u7248\u8abf\u4fee\u6b63\uff0c\u800c\u4e0d\u5728PDF\u7528postscript\u505a\u7248\u8abf\u4fee\u6b63\u3002<\/p>\n<p>\u540c\u6a23\u7684\uff0cChatGPT\u5f88\u5feb\u7684\u5c31\u63d0\u51fa\u4e86\u5de5\u4f5c\u65b9\u6cd5\u3002\u4e00\u6a23\u662fpython\uff0c\u4f7f\u7528PIL library\u53ef\u4ee5\u8655\u7406\u5230\u5f71\u50cf\u4e2d\u6bcf\u4e00\u500bpixel\u7684\u5167\u5bb9\u3002<\/p>\n<p>\u4e0b\u9762\u662fChatGPT\u56de\u61c9\u7684\u4e00\u6bb5\u7a0b\u5f0f\u78bc\uff0c\u88e1\u9762\u7684tone_curve\u5c31\u662f\u4f86\u81ea\u4e4b\u524d\u7684spline interpolation curve\u3002PIL \u7684putpixel function\u53ef\u4ee5\u5c07\u8f49\u63db\u904e\u7684CMYK\u8cc7\u6599\u5beb\u5165\u539f\u672cpixel\u7684\u4f4d\u7f6e\u3002\u5982\u6b64\u5c31\u53ef\u4ee5\u5b8c\u6210\u50cf\u7d20\u6a94\u7684\u7248\u8abf\u8f49\u63db\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/lh7-us.googleusercontent.com\/VXVGuBqW67XJWA4PPZp4oXOXWAW9lBt5b9oKH3gYqVRcBTrtWBuAaAV5_cjbfm-QfFfsK-XfWxdTJXaV2BgCM8hHA740ZMCLz50PEy93Bvg9PseF4YBq8KwpGyV2g17GaR7EDRESqX0Q4ink2VNCBzU\" width=\"579\" height=\"225\" \/><\/p>\n<p>Fig. ChatGPT\u56de\u61c9\u7684\u4e00\u6bb5\u7a0b\u5f0f\u78bc\uff0c\u88e1\u9762\u7684tone_curve\u5c31\u662f\u4f86\u81ea\u4e4b\u524d\u7684spline interpolation curve\u3002PIL \u7684putpixel function\u53ef\u4ee5\u5c07\u8f49\u63db\u904e\u7684CMYK\u8cc7\u6599\u5beb\u5165\u539f\u672cpixel\u7684\u4f4d\u7f6e\u3002<\/p>\n<p>\u7167\u8aaa\u5230\u4e86\u9019\u88e1\u5c31\u5df2\u7d93\u5b8c\u6210CMYK\u6a94\u7684\u7248\u8abf\u8f49\u63db\uff0c\u4f46\u662f\u4e00\u500b\u4e00\u500bpixel\u5beb\u9032\u53bb\u5be6\u5728\u662f\u592a\u6c92\u6709\u6548\u7387\u4e86\u3002<\/p>\n<p>\u628a\u554f\u984c\u53cd\u6620\u7d66ChatGPT\uff0c\u4e5f\u5f88\u5feb\u5f97\u5230\u6709\u6548\u7684\u56de\u61c9\u3002<\/p>\n<p>\u7528numpy library \u5c07\u5716\u50cf\u4e2d\u7684\u50cf\u7d20\u7528\u9663\u5217\u7684\u65b9\u5f0f\u4f86\u8655\u7406\uff0c\u901f\u5ea6\u5c31\u80fd\u5feb\u4e0a\u8a31\u591a\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/lh7-us.googleusercontent.com\/A_EUT9bwGkDJbwNjXDq1l_JR2pP930GW5Gv-c5wMxVW3h22NSyJVAZaCYjMiLyoxgDRt0H8TsIOPzR-YMh_mcZ86Rgw0J4fxa8lE4SG9iZB7BwQt59XfsugAAodcru1D9gK8jZ89IJA6IYN7G7NR5CU\" width=\"532\" height=\"255\" \/><\/p>\n<p>Fig. \u7528numpy library \u5c07\u5716\u50cf\u4e2d\u7684\u50cf\u7d20\u7528\u9663\u5217\u7684\u65b9\u5f0f\u4f86\u8655\u7406\uff0c\u901f\u5ea6\u5c31\u80fd\u5feb\u4e0a\u8a31\u591a\u3002<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/lh7-us.googleusercontent.com\/Cf-9Ctn8y1lXQIXSzweTi5VmJ4jgUH99oGKM_sXZp_Z2domi0-IGcQkIB_tUG7HX5YK1kfo3gjMcVSyC_jqOb3q5II-JkL9Hzdxg2ypBTqb_jIEUC48kExTOwISAMyGfHgH7r02q6H1geVZ63u3vo1s\" width=\"444\" height=\"269\" \/><\/p>\n<p>Fig. \u4fee\u6b63\u904e\u7684\u5716\u6a94\uff0c\u78ba\u5be6\u6709\u71673\u9ede\u4fee\u6b63\u7684\u6578\u64da\u4f86\u6539\u8b8a\u7248\u8abf\u3002<\/p>\n<p>\u4ee5\u4e0a\uff0c\u7d93\u7531ChatGPT\u7684\u56de\u61c9\uff0c\u6210\u529f\u7684\u5c0d\u5f71\u50cf\u6a94\u505a3\u9ede\u7070\u5e73\u8861\u4fee\u6b63\u3002\u6211\u5df2\u7d93\u75283\u9ede\u4fee\u6b63\u914d\u5408Beer&#8217;s Law\u6210\u529f\u62ff\u904e\u5e7e\u6b21G7 Targeted\u3002\u9019\u4e00\u6b21\u53c8\u591a\u4e86\u4e00\u500b\u53ef\u4ee5\u904b\u7528\u7684\u5de5\u5177\u3002<\/p>\n<p><\/b><\/p>\n","protected":false},"excerpt":{"rendered":"<p>3 points gray correction \u4e0a\u4e00\u56de\u7684\u5de5\u5177\u958b\u767c\u6210\u529f\u7684\u4ee5\u55ae\u9ede\u4fee\u6b63\u4f86\u4fee\u6b63PDF\u7684\u7248\u8abf\uff0c\u90a3\u5e7e\u884c\u7c21 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-3679","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/fredkuo.idv.tw\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/3679"}],"collection":[{"href":"https:\/\/fredkuo.idv.tw\/wordpress\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/fredkuo.idv.tw\/wordpress\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/fredkuo.idv.tw\/wordpress\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/fredkuo.idv.tw\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3679"}],"version-history":[{"count":1,"href":"https:\/\/fredkuo.idv.tw\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/3679\/revisions"}],"predecessor-version":[{"id":3680,"href":"https:\/\/fredkuo.idv.tw\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/3679\/revisions\/3680"}],"wp:attachment":[{"href":"https:\/\/fredkuo.idv.tw\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3679"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fredkuo.idv.tw\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3679"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fredkuo.idv.tw\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3679"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}