{"id":38871,"date":"2025-05-14T12:32:56","date_gmt":"2025-05-14T16:32:56","guid":{"rendered":"https:\/\/wading-in.net\/walkabout\/?p=38871"},"modified":"2025-05-14T12:32:56","modified_gmt":"2025-05-14T16:32:56","slug":"numbers-game","status":"publish","type":"post","link":"https:\/\/wading-in.net\/walkabout\/2025\/05\/numbers-game\/","title":{"rendered":"Numbers game"},"content":{"rendered":"<p>Several days back, The Girlfriend found a potted blue lobelia for me, which I&#8217;ve been intending to get for a while, because they&#8217;re <em>blue<\/em>, and I mean, <em>seriously blue<\/em> &#8211; more blue than any flower I&#8217;ve seen, more blue than almost any <em>thing<\/em> I&#8217;ve seen. Note that this is not the US native great blue lobelia, or blue cardinal flower, but an African import, <em>Lobelia erinus<\/em>, of the <em>Campanulaceae<\/em> Family instead. And one day in passing, I decided to do a couple of frames of it to record that color. But even in the LCD as it did that 2-second preview, I could see things were off. This is what the camera produced<strong>:<\/strong><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/wading-in.net\/walkabout\/wp-content\/uploads\/2025\/05\/LobeliaRaw.jpg\" alt=\"blue lobelia Lobelia erinus rendered far too purple in-camera\" width=\"750\" height=\"735\" class=\"aligncenter size-full wp-image-38872\" \/><br clear=\"all\"\/>That&#8217;s&#8230; not at all a color match, or even close. The flower is by no means purple, it is as pure blue as one could reasonably expect or define. I had to do a bit of tweaking to get the image close to what the flower actually looks like to our eyes (or at least to mine)<strong>:<\/strong><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/wading-in.net\/walkabout\/wp-content\/uploads\/2025\/05\/LobeliaCooked.jpg\" alt=\"blue lobelia Lobelia erinus image edited to reflect true colors more accurately\" width=\"750\" height=\"735\" class=\"aligncenter size-full wp-image-38873\" \/><br clear=\"all\"\/>Note that this wasn&#8217;t a simple color-tweak, or adjustment to saturation in individual channels (like desaturating the Magenta, which I thought <em>should<\/em> have worked and instead made virtually no difference.) I had to not only desaturate Magenta almost entirely, I had to adjust the Hue of the Blue channel by no small margin to get it to look this way &#8211; thankfully, this had little effect on the rest of the image and thus looks pretty damn close to natural.<\/p>\n<p>But this got me curious as to <em>why<\/em> this occurred, to such a large degree, and naturally how much this was affecting other images. My initial thoughts were that the sensor had a little too much sensitivity to the violet and ultra-violet, the latter being invisible to us, and this is what was captured in the image<strong>;<\/strong> I already know that CMOS sensors can reach a decent distance into the invisible-to-us infra-red. But no &#8211; they capture virtually no UV, and the answer instead appears to be complicated and a curious aspect of physics and CMOS sensors.<\/p>\n<p>First bit<strong>:<\/strong> broken down into a spectrum, the sun emits less blue than green or red, though of course this is a spectrum and doesn&#8217;t bear these nice distinctions of &#8220;blue,&#8221; &#8220;green,&#8221; or, &#8220;red&#8221; that we want to apply to it. Nonetheless, both digital sensors and our eyes break down light into three primary colors in this way (no, yellow isn&#8217;t included &#8211; that&#8217;s a pigment-based thing from mixing paints and dyes.) Other colors fill the gaps and might be considered combinations of these three to varying degrees, but again, spectrum<strong>;<\/strong> it&#8217;s our eyes and digital sensors that count them as combinations.<\/p>\n<p>Second bit<strong>:<\/strong> CMOS sensors, used in most commercial digital cameras, count <em>photons<\/em> in each of these three primary colors. But the shorter wavelength of blue means that blue has more <em>energy<\/em> per photon. To use a brief analogy, it hits fewer times yet harder. But CMOS sensors are only counting the hits, and so, blue isn&#8217;t getting considered evenly.<\/p>\n<p>Then there&#8217;s part three<strong>:<\/strong> The way CMOS sensors are made, blue has a tendency to scatter a little before reaching the sensor itself, so it gets reduced even more. Chances are, the software that interpolates the sensor output makes some adjustments for this, but if it isn&#8217;t captured\/measured by the sensor in the first place, the software boost won&#8217;t have much effect.<\/p>\n<p>So, just now, I decided to go into the individual color channels and see how they looked &#8211; they are below in order of Red, Green, and Blue<strong>:<\/strong><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/wading-in.net\/walkabout\/wp-content\/uploads\/2025\/05\/LobeliaChannels-1.jpg\" alt=\"unaltered image of blue lobelia Lobelia erinus separated into primary RGB channels\" width=\"750\" height=\"245\" class=\"aligncenter size-full wp-image-38877\" \/><br clear=\"all\"\/>As one would expect, Blue is very bright in the flowers themselves, which is as it should be. But the flowers also have a distinctive presence in Green and especially Red, which <em>isn&#8217;t<\/em>, or at least, not to my expectations. I&#8217;ve broken down images of red flowers into separate channels and Red is of course bright, while Green and Blue drop almost to black in the channel rendition &#8211; like, below.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/wading-in.net\/walkabout\/wp-content\/uploads\/2025\/05\/HibiscusRGB.jpg\" alt=\"image of hibiscus blossom with separated RGB channels\" width=\"748\" height=\"281\" class=\"aligncenter size-full wp-image-38878\" \/><br clear=\"all\"\/>[Note, too, that the Blue channel is often the blotchiest and least detailed within most images when broken down in this way, probably due to that photon count vs. energy bias.]<\/p>\n<p>Now, is there a way to fix this? No &#8211; not without a new sensor\/camera that is probably very expensive, and quite frankly, the impact is trivial<strong>;<\/strong> this is the first circumstances where it became <em>really<\/em> noticeable, though since I shoot nearly all the time in Daylight White Balance, I tend to tweak images that need it anyway. It&#8217;s easy to get bogged down in pursuit of some definition of &#8220;accurate,&#8221; but ultimately pointless<strong>;<\/strong> between the shortcomings of dynamic range in both sensors and monitors, and the subjectivity of individual perception (is the blue I see the same as the blue you see?), there&#8217;s no way to define &#8220;accurate&#8221; reasonably anyway. In the situations that call for it, I&#8217;ll fix it in post.<\/p>\n<p>*   *   *<\/p>\n<p>Information sources for this post<strong>:<\/strong><\/p>\n<p><a href=\"https:\/\/photo.stackexchange.com\/questions\/11209\/why-are-sensors-less-sensitive-to-blue-light\" target=\"_blank\">Why are sensors less sensitive to blue light?<\/a><\/p>\n<p><a href=\"https:\/\/photo.stackexchange.com\/questions\/10760\/why-is-the-blue-channel-the-noisiest\" target=\"_blank\">Why is the blue channel the noisiest?<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Several days back, The Girlfriend found a potted blue lobelia for me, which I&#8217;ve been intending to get for a while, because they&#8217;re blue, and I mean, seriously blue &#8211; more blue than any flower I&#8217;ve seen, more blue than almost any thing I&#8217;ve seen. Note that this is not the US native great blue [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4,3,9],"tags":[8110,8112,8113,3466,8115,8111,5134,8114],"class_list":["post-38871","post","type-post","status-publish","format-standard","hentry","category-nature","category-photo","category-science","tag-blue-lobelia","tag-campanulaceae","tag-cmos-sensors","tag-color-channels","tag-energy","tag-lobelia-erinus","tag-photons","tag-wavelengths"],"_links":{"self":[{"href":"https:\/\/wading-in.net\/walkabout\/wp-json\/wp\/v2\/posts\/38871","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wading-in.net\/walkabout\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wading-in.net\/walkabout\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wading-in.net\/walkabout\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/wading-in.net\/walkabout\/wp-json\/wp\/v2\/comments?post=38871"}],"version-history":[{"count":0,"href":"https:\/\/wading-in.net\/walkabout\/wp-json\/wp\/v2\/posts\/38871\/revisions"}],"wp:attachment":[{"href":"https:\/\/wading-in.net\/walkabout\/wp-json\/wp\/v2\/media?parent=38871"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wading-in.net\/walkabout\/wp-json\/wp\/v2\/categories?post=38871"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wading-in.net\/walkabout\/wp-json\/wp\/v2\/tags?post=38871"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}