{"id":431,"date":"2016-11-18T00:28:37","date_gmt":"2016-11-18T04:28:37","guid":{"rendered":"http:\/\/mrsdprojects.ri.cmu.edu\/2016teamg\/?page_id=431"},"modified":"2016-12-15T01:31:11","modified_gmt":"2016-12-15T05:31:11","slug":"photometric-calibration","status":"publish","type":"page","link":"https:\/\/mrsdprojects.ri.cmu.edu\/2016teamg\/photometric-calibration\/","title":{"rendered":"Photometric Calibration"},"content":{"rendered":"<div class=\"page\" title=\"Page 3\">\n<div class=\"section\">\n<div class=\"layoutArea\">\n<div class=\"column\">\n<p>The photometric calibration is to generate the camera inverse response function. This depends on the exposure time. Longer exposure times (or integration times) mean that more light will hit the camera sensor. Hence, pixel values will look brighter. Similarly, if the exposure time is shorter, less light will accumulate on the sensor. Hence, pixel values will appear darker. This change in intensity is usually called the camera response function, describing how the hardware responds to light.<\/p>\n<p>In other words, the hardware response to variations in exposure X (which is the product of the irradiance E the film receives and the exposure time t). We can then implement the algorithm according to the following formula to get the inverse response function and the irradiance for each pixel (the pixel value Z and the exposure time t is known).<\/p>\n<\/div>\n<p>More images at different exposure time tend to give better results.<\/p>\n<p>&nbsp;<\/p>\n<p>Method 1:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-463 aligncenter\" src=\"http:\/\/mrsdprojects.ri.cmu.edu\/2016teamg\/wp-content\/uploads\/sites\/18\/2016\/11\/CRF_1.png\" alt=\"crf_1\" width=\"377\" height=\"91\" srcset=\"https:\/\/mrsdprojects.ri.cmu.edu\/2016teamg\/wp-content\/uploads\/sites\/18\/2016\/11\/CRF_1.png 806w, https:\/\/mrsdprojects.ri.cmu.edu\/2016teamg\/wp-content\/uploads\/sites\/18\/2016\/11\/CRF_1-300x72.png 300w, https:\/\/mrsdprojects.ri.cmu.edu\/2016teamg\/wp-content\/uploads\/sites\/18\/2016\/11\/CRF_1-768x185.png 768w, https:\/\/mrsdprojects.ri.cmu.edu\/2016teamg\/wp-content\/uploads\/sites\/18\/2016\/11\/CRF_1-700x168.png 700w, https:\/\/mrsdprojects.ri.cmu.edu\/2016teamg\/wp-content\/uploads\/sites\/18\/2016\/11\/CRF_1-520x125.png 520w, https:\/\/mrsdprojects.ri.cmu.edu\/2016teamg\/wp-content\/uploads\/sites\/18\/2016\/11\/CRF_1-360x87.png 360w, https:\/\/mrsdprojects.ri.cmu.edu\/2016teamg\/wp-content\/uploads\/sites\/18\/2016\/11\/CRF_1-250x60.png 250w, https:\/\/mrsdprojects.ri.cmu.edu\/2016teamg\/wp-content\/uploads\/sites\/18\/2016\/11\/CRF_1-100x24.png 100w\" sizes=\"auto, (max-width: 377px) 100vw, 377px\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-464 aligncenter\" src=\"http:\/\/mrsdprojects.ri.cmu.edu\/2016teamg\/wp-content\/uploads\/sites\/18\/2016\/11\/CRF_2.png\" alt=\"crf_2\" width=\"352\" height=\"85\" srcset=\"https:\/\/mrsdprojects.ri.cmu.edu\/2016teamg\/wp-content\/uploads\/sites\/18\/2016\/11\/CRF_2.png 670w, https:\/\/mrsdprojects.ri.cmu.edu\/2016teamg\/wp-content\/uploads\/sites\/18\/2016\/11\/CRF_2-300x73.png 300w, https:\/\/mrsdprojects.ri.cmu.edu\/2016teamg\/wp-content\/uploads\/sites\/18\/2016\/11\/CRF_2-520x126.png 520w, https:\/\/mrsdprojects.ri.cmu.edu\/2016teamg\/wp-content\/uploads\/sites\/18\/2016\/11\/CRF_2-360x87.png 360w, https:\/\/mrsdprojects.ri.cmu.edu\/2016teamg\/wp-content\/uploads\/sites\/18\/2016\/11\/CRF_2-250x60.png 250w, https:\/\/mrsdprojects.ri.cmu.edu\/2016teamg\/wp-content\/uploads\/sites\/18\/2016\/11\/CRF_2-100x24.png 100w\" sizes=\"auto, (max-width: 352px) 100vw, 352px\" \/><\/p>\n<\/div>\n<p>Method 2:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-465 aligncenter\" src=\"http:\/\/mrsdprojects.ri.cmu.edu\/2016teamg\/wp-content\/uploads\/sites\/18\/2016\/11\/CRF_3.png\" alt=\"crf_3\" width=\"328\" height=\"64\" srcset=\"https:\/\/mrsdprojects.ri.cmu.edu\/2016teamg\/wp-content\/uploads\/sites\/18\/2016\/11\/CRF_3.png 758w, https:\/\/mrsdprojects.ri.cmu.edu\/2016teamg\/wp-content\/uploads\/sites\/18\/2016\/11\/CRF_3-300x59.png 300w, https:\/\/mrsdprojects.ri.cmu.edu\/2016teamg\/wp-content\/uploads\/sites\/18\/2016\/11\/CRF_3-700x137.png 700w, https:\/\/mrsdprojects.ri.cmu.edu\/2016teamg\/wp-content\/uploads\/sites\/18\/2016\/11\/CRF_3-520x102.png 520w, https:\/\/mrsdprojects.ri.cmu.edu\/2016teamg\/wp-content\/uploads\/sites\/18\/2016\/11\/CRF_3-360x70.png 360w, https:\/\/mrsdprojects.ri.cmu.edu\/2016teamg\/wp-content\/uploads\/sites\/18\/2016\/11\/CRF_3-250x49.png 250w, https:\/\/mrsdprojects.ri.cmu.edu\/2016teamg\/wp-content\/uploads\/sites\/18\/2016\/11\/CRF_3-100x20.png 100w\" sizes=\"auto, (max-width: 328px) 100vw, 328px\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-466 aligncenter\" src=\"http:\/\/mrsdprojects.ri.cmu.edu\/2016teamg\/wp-content\/uploads\/sites\/18\/2016\/11\/CRF_4.png\" alt=\"crf_4\" width=\"361\" height=\"125\" srcset=\"https:\/\/mrsdprojects.ri.cmu.edu\/2016teamg\/wp-content\/uploads\/sites\/18\/2016\/11\/CRF_4.png 802w, https:\/\/mrsdprojects.ri.cmu.edu\/2016teamg\/wp-content\/uploads\/sites\/18\/2016\/11\/CRF_4-300x104.png 300w, https:\/\/mrsdprojects.ri.cmu.edu\/2016teamg\/wp-content\/uploads\/sites\/18\/2016\/11\/CRF_4-768x266.png 768w, https:\/\/mrsdprojects.ri.cmu.edu\/2016teamg\/wp-content\/uploads\/sites\/18\/2016\/11\/CRF_4-700x243.png 700w, https:\/\/mrsdprojects.ri.cmu.edu\/2016teamg\/wp-content\/uploads\/sites\/18\/2016\/11\/CRF_4-520x180.png 520w, https:\/\/mrsdprojects.ri.cmu.edu\/2016teamg\/wp-content\/uploads\/sites\/18\/2016\/11\/CRF_4-360x125.png 360w, https:\/\/mrsdprojects.ri.cmu.edu\/2016teamg\/wp-content\/uploads\/sites\/18\/2016\/11\/CRF_4-250x87.png 250w, https:\/\/mrsdprojects.ri.cmu.edu\/2016teamg\/wp-content\/uploads\/sites\/18\/2016\/11\/CRF_4-100x35.png 100w\" sizes=\"auto, (max-width: 361px) 100vw, 361px\" \/><\/p>\n<\/div>\n<\/div>\n<p>&nbsp;<\/p>\n<p>For RGB cameras, we need to generate the camera inverse response function curve for each color\u00a0channel, and we need to remove the bayer pattern before split RGB channels.<\/p>\n<p>The general pipeline of photometric calibration for RGB cameras is as follows:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-552 aligncenter\" src=\"http:\/\/mrsdprojects.ri.cmu.edu\/2016teamg\/wp-content\/uploads\/sites\/18\/2016\/12\/photometric-pipeline.png\" alt=\"photometric-pipeline\" width=\"1545\" height=\"198\" srcset=\"https:\/\/mrsdprojects.ri.cmu.edu\/2016teamg\/wp-content\/uploads\/sites\/18\/2016\/12\/photometric-pipeline.png 1545w, https:\/\/mrsdprojects.ri.cmu.edu\/2016teamg\/wp-content\/uploads\/sites\/18\/2016\/12\/photometric-pipeline-300x38.png 300w, https:\/\/mrsdprojects.ri.cmu.edu\/2016teamg\/wp-content\/uploads\/sites\/18\/2016\/12\/photometric-pipeline-768x98.png 768w, https:\/\/mrsdprojects.ri.cmu.edu\/2016teamg\/wp-content\/uploads\/sites\/18\/2016\/12\/photometric-pipeline-1024x131.png 1024w, https:\/\/mrsdprojects.ri.cmu.edu\/2016teamg\/wp-content\/uploads\/sites\/18\/2016\/12\/photometric-pipeline-700x90.png 700w, https:\/\/mrsdprojects.ri.cmu.edu\/2016teamg\/wp-content\/uploads\/sites\/18\/2016\/12\/photometric-pipeline-520x67.png 520w, https:\/\/mrsdprojects.ri.cmu.edu\/2016teamg\/wp-content\/uploads\/sites\/18\/2016\/12\/photometric-pipeline-360x46.png 360w, https:\/\/mrsdprojects.ri.cmu.edu\/2016teamg\/wp-content\/uploads\/sites\/18\/2016\/12\/photometric-pipeline-250x32.png 250w, https:\/\/mrsdprojects.ri.cmu.edu\/2016teamg\/wp-content\/uploads\/sites\/18\/2016\/12\/photometric-pipeline-100x13.png 100w\" sizes=\"auto, (max-width: 1545px) 100vw, 1545px\" \/><\/p>\n<p style=\"text-align: center\">Fig 1. Photometric calibration pipeline<\/p>\n<p style=\"text-align: center\">\n<p style=\"text-align: center\">\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-551 aligncenter\" src=\"http:\/\/mrsdprojects.ri.cmu.edu\/2016teamg\/wp-content\/uploads\/sites\/18\/2016\/12\/image-processing-process.png\" alt=\"image-processing-process\" width=\"1295\" height=\"664\" srcset=\"https:\/\/mrsdprojects.ri.cmu.edu\/2016teamg\/wp-content\/uploads\/sites\/18\/2016\/12\/image-processing-process.png 1295w, https:\/\/mrsdprojects.ri.cmu.edu\/2016teamg\/wp-content\/uploads\/sites\/18\/2016\/12\/image-processing-process-300x154.png 300w, https:\/\/mrsdprojects.ri.cmu.edu\/2016teamg\/wp-content\/uploads\/sites\/18\/2016\/12\/image-processing-process-768x394.png 768w, https:\/\/mrsdprojects.ri.cmu.edu\/2016teamg\/wp-content\/uploads\/sites\/18\/2016\/12\/image-processing-process-1024x525.png 1024w, https:\/\/mrsdprojects.ri.cmu.edu\/2016teamg\/wp-content\/uploads\/sites\/18\/2016\/12\/image-processing-process-700x359.png 700w, https:\/\/mrsdprojects.ri.cmu.edu\/2016teamg\/wp-content\/uploads\/sites\/18\/2016\/12\/image-processing-process-520x267.png 520w, https:\/\/mrsdprojects.ri.cmu.edu\/2016teamg\/wp-content\/uploads\/sites\/18\/2016\/12\/image-processing-process-360x185.png 360w, https:\/\/mrsdprojects.ri.cmu.edu\/2016teamg\/wp-content\/uploads\/sites\/18\/2016\/12\/image-processing-process-250x128.png 250w, https:\/\/mrsdprojects.ri.cmu.edu\/2016teamg\/wp-content\/uploads\/sites\/18\/2016\/12\/image-processing-process-100x51.png 100w\" sizes=\"auto, (max-width: 1295px) 100vw, 1295px\" \/><\/p>\n<p style=\"text-align: center\">Fig 2. Image processing process in photometric calibration<\/p>\n<p style=\"text-align: center\">\n<p style=\"text-align: center\">\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-550 aligncenter\" src=\"http:\/\/mrsdprojects.ri.cmu.edu\/2016teamg\/wp-content\/uploads\/sites\/18\/2016\/12\/bayer-pattern.png\" alt=\"bayer-pattern\" width=\"1196\" height=\"721\" srcset=\"https:\/\/mrsdprojects.ri.cmu.edu\/2016teamg\/wp-content\/uploads\/sites\/18\/2016\/12\/bayer-pattern.png 1196w, https:\/\/mrsdprojects.ri.cmu.edu\/2016teamg\/wp-content\/uploads\/sites\/18\/2016\/12\/bayer-pattern-300x181.png 300w, https:\/\/mrsdprojects.ri.cmu.edu\/2016teamg\/wp-content\/uploads\/sites\/18\/2016\/12\/bayer-pattern-768x463.png 768w, https:\/\/mrsdprojects.ri.cmu.edu\/2016teamg\/wp-content\/uploads\/sites\/18\/2016\/12\/bayer-pattern-1024x617.png 1024w, https:\/\/mrsdprojects.ri.cmu.edu\/2016teamg\/wp-content\/uploads\/sites\/18\/2016\/12\/bayer-pattern-700x422.png 700w, https:\/\/mrsdprojects.ri.cmu.edu\/2016teamg\/wp-content\/uploads\/sites\/18\/2016\/12\/bayer-pattern-520x313.png 520w, https:\/\/mrsdprojects.ri.cmu.edu\/2016teamg\/wp-content\/uploads\/sites\/18\/2016\/12\/bayer-pattern-360x217.png 360w, https:\/\/mrsdprojects.ri.cmu.edu\/2016teamg\/wp-content\/uploads\/sites\/18\/2016\/12\/bayer-pattern-250x151.png 250w, https:\/\/mrsdprojects.ri.cmu.edu\/2016teamg\/wp-content\/uploads\/sites\/18\/2016\/12\/bayer-pattern-100x60.png 100w\" sizes=\"auto, (max-width: 1196px) 100vw, 1196px\" \/><\/p>\n<p style=\"text-align: center\">Fig 3. Image with bayer pattern (left) and without bayer pattern (right)<\/p>\n<p style=\"text-align: center\">\n<p>&nbsp;<\/p>\n<p>The result we get is as follows, a line of specific color represents the camera response of the corresponding channel:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-542 aligncenter\" src=\"http:\/\/mrsdprojects.ri.cmu.edu\/2016teamg\/wp-content\/uploads\/sites\/18\/2016\/12\/Fall_Performance-3.png\" alt=\"fall_performance-3\" width=\"960\" height=\"540\" srcset=\"https:\/\/mrsdprojects.ri.cmu.edu\/2016teamg\/wp-content\/uploads\/sites\/18\/2016\/12\/Fall_Performance-3.png 960w, https:\/\/mrsdprojects.ri.cmu.edu\/2016teamg\/wp-content\/uploads\/sites\/18\/2016\/12\/Fall_Performance-3-300x169.png 300w, https:\/\/mrsdprojects.ri.cmu.edu\/2016teamg\/wp-content\/uploads\/sites\/18\/2016\/12\/Fall_Performance-3-768x432.png 768w, https:\/\/mrsdprojects.ri.cmu.edu\/2016teamg\/wp-content\/uploads\/sites\/18\/2016\/12\/Fall_Performance-3-700x394.png 700w, https:\/\/mrsdprojects.ri.cmu.edu\/2016teamg\/wp-content\/uploads\/sites\/18\/2016\/12\/Fall_Performance-3-520x293.png 520w, https:\/\/mrsdprojects.ri.cmu.edu\/2016teamg\/wp-content\/uploads\/sites\/18\/2016\/12\/Fall_Performance-3-360x203.png 360w, https:\/\/mrsdprojects.ri.cmu.edu\/2016teamg\/wp-content\/uploads\/sites\/18\/2016\/12\/Fall_Performance-3-250x141.png 250w, https:\/\/mrsdprojects.ri.cmu.edu\/2016teamg\/wp-content\/uploads\/sites\/18\/2016\/12\/Fall_Performance-3-100x56.png 100w\" sizes=\"auto, (max-width: 960px) 100vw, 960px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p style=\"text-align: center\">Fig 4. Camera inverse response function curve<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The photometric calibration is to generate the camera inverse response function. This depends on the exposure time. Longer exposure times (or integration times) mean that more light will hit the camera sensor. Hence, pixel values will look brighter. Similarly, if [&hellip;]<\/p>\n","protected":false},"author":89,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-431","page","type-page","status-publish","hentry","clearfix"],"_links":{"self":[{"href":"https:\/\/mrsdprojects.ri.cmu.edu\/2016teamg\/wp-json\/wp\/v2\/pages\/431","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mrsdprojects.ri.cmu.edu\/2016teamg\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/mrsdprojects.ri.cmu.edu\/2016teamg\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/mrsdprojects.ri.cmu.edu\/2016teamg\/wp-json\/wp\/v2\/users\/89"}],"replies":[{"embeddable":true,"href":"https:\/\/mrsdprojects.ri.cmu.edu\/2016teamg\/wp-json\/wp\/v2\/comments?post=431"}],"version-history":[{"count":8,"href":"https:\/\/mrsdprojects.ri.cmu.edu\/2016teamg\/wp-json\/wp\/v2\/pages\/431\/revisions"}],"predecessor-version":[{"id":557,"href":"https:\/\/mrsdprojects.ri.cmu.edu\/2016teamg\/wp-json\/wp\/v2\/pages\/431\/revisions\/557"}],"wp:attachment":[{"href":"https:\/\/mrsdprojects.ri.cmu.edu\/2016teamg\/wp-json\/wp\/v2\/media?parent=431"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}