{"id":1676,"date":"2023-11-29T13:31:43","date_gmt":"2023-11-29T18:31:43","guid":{"rendered":"http:\/\/wordpress.forensicpath.us\/?p=1676"},"modified":"2023-11-29T14:26:03","modified_gmt":"2023-11-29T19:26:03","slug":"making-a-screen-background-from-a-photomicrograph","status":"publish","type":"post","link":"https:\/\/wordpress.forensicpath.us\/index.php\/2023\/11\/29\/making-a-screen-background-from-a-photomicrograph\/","title":{"rendered":"Making a screen background from a photomicrograph"},"content":{"rendered":"<p>One of the things that drew me to pathology was the aesthetics of histology. I find microscopic images fascinating and beautiful.\u00a0 As a hobby, I like to make screen backgrounds from photomicrographs by turning them in to more abstract images.\u00a0 Here&#8217;s one simple way I do it.\u00a0 I&#8217;m going to use only two free and open source software tools:\u00a0 GIMP (Gnu Image Manipulation Program, www.gimp.org) and Blender (www.blender.org).\u00a0 Both run on Linux, Windows, and Macs.<\/p>\n<p>First, find a photomicrograph that is a little unusual and a little more abstract than ones showing normal architecture (though normal architecture can also be very pretty).\u00a0 For instance, here&#8217;s a Gram stain of a vegetation in a case of tricuspid bacterial endocarditis.\u00a0 I chose it because I like blues:<\/p>\n<p><a href=\"https:\/\/wordpress.forensicpath.us\/wp-content\/uploads\/2023\/11\/DSC_4107.webp\"><img fetchpriority=\"high\" decoding=\"async\" class=\"alignnone size-large wp-image-1677\" src=\"https:\/\/wordpress.forensicpath.us\/wp-content\/uploads\/2023\/11\/DSC_4107-1024x683.webp\" alt=\"\" width=\"688\" height=\"459\" srcset=\"https:\/\/wordpress.forensicpath.us\/wp-content\/uploads\/2023\/11\/DSC_4107-1024x683.webp 1024w, https:\/\/wordpress.forensicpath.us\/wp-content\/uploads\/2023\/11\/DSC_4107-300x200.webp 300w, https:\/\/wordpress.forensicpath.us\/wp-content\/uploads\/2023\/11\/DSC_4107-768x512.webp 768w, https:\/\/wordpress.forensicpath.us\/wp-content\/uploads\/2023\/11\/DSC_4107-1536x1024.webp 1536w, https:\/\/wordpress.forensicpath.us\/wp-content\/uploads\/2023\/11\/DSC_4107-1600x1066.webp 1600w, https:\/\/wordpress.forensicpath.us\/wp-content\/uploads\/2023\/11\/DSC_4107.webp 2048w\" sizes=\"(max-width: 688px) 100vw, 688px\" \/><\/a><\/p>\n<p>The bacterial clusters are in blue, cellular nuclei are purple and yellow, and fibrin strands are light blue. It&#8217;s a little dark.\u00a0 I haven&#8217;t done any white balancing or contrast stretching, but that&#8217;s good for my purposes since I like dark themes for my computer screen.\u00a0 You can always lighten it up or stretch contrast in GIMP or Photoshop or whatever if you want.<\/p>\n<p>Next, I&#8217;ll open a 3D modeling program, such as Blender, and I&#8217;ll map the image onto a surface:<\/p>\n<p><a href=\"https:\/\/wordpress.forensicpath.us\/wp-content\/uploads\/2023\/11\/Screenshot_20231129_131804.webp\"><img decoding=\"async\" class=\"alignnone size-large wp-image-1681\" src=\"https:\/\/wordpress.forensicpath.us\/wp-content\/uploads\/2023\/11\/Screenshot_20231129_131804-1024x576.webp\" alt=\"\" width=\"688\" height=\"387\" srcset=\"https:\/\/wordpress.forensicpath.us\/wp-content\/uploads\/2023\/11\/Screenshot_20231129_131804-1024x576.webp 1024w, https:\/\/wordpress.forensicpath.us\/wp-content\/uploads\/2023\/11\/Screenshot_20231129_131804-300x169.webp 300w, https:\/\/wordpress.forensicpath.us\/wp-content\/uploads\/2023\/11\/Screenshot_20231129_131804-768x432.webp 768w, https:\/\/wordpress.forensicpath.us\/wp-content\/uploads\/2023\/11\/Screenshot_20231129_131804-1536x864.webp 1536w, https:\/\/wordpress.forensicpath.us\/wp-content\/uploads\/2023\/11\/Screenshot_20231129_131804-1600x900.webp 1600w, https:\/\/wordpress.forensicpath.us\/wp-content\/uploads\/2023\/11\/Screenshot_20231129_131804.webp 1920w\" sizes=\"(max-width: 688px) 100vw, 688px\" \/><\/a><\/p>\n<p>Now, I&#8217;ll add a so-called &#8220;displacement map&#8221; to it, which causes the surface to rise or fall depending on the color or brightness.<\/p>\n<p>Before attaching the displacement map node in Blender:<\/p>\n<p><a href=\"https:\/\/wordpress.forensicpath.us\/wp-content\/uploads\/2023\/11\/Screenshot_20231129_131947.png\"><img decoding=\"async\" class=\"alignnone size-large wp-image-1679\" src=\"https:\/\/wordpress.forensicpath.us\/wp-content\/uploads\/2023\/11\/Screenshot_20231129_131947-1024x576.png\" alt=\"\" width=\"688\" height=\"387\" srcset=\"https:\/\/wordpress.forensicpath.us\/wp-content\/uploads\/2023\/11\/Screenshot_20231129_131947-1024x576.png 1024w, https:\/\/wordpress.forensicpath.us\/wp-content\/uploads\/2023\/11\/Screenshot_20231129_131947-300x169.png 300w, https:\/\/wordpress.forensicpath.us\/wp-content\/uploads\/2023\/11\/Screenshot_20231129_131947-768x432.png 768w, https:\/\/wordpress.forensicpath.us\/wp-content\/uploads\/2023\/11\/Screenshot_20231129_131947-1536x864.png 1536w, https:\/\/wordpress.forensicpath.us\/wp-content\/uploads\/2023\/11\/Screenshot_20231129_131947-1600x900.png 1600w, https:\/\/wordpress.forensicpath.us\/wp-content\/uploads\/2023\/11\/Screenshot_20231129_131947.png 1920w\" sizes=\"(max-width: 688px) 100vw, 688px\" \/><\/a><\/p>\n<p>After:<\/p>\n<p><a href=\"https:\/\/wordpress.forensicpath.us\/wp-content\/uploads\/2023\/11\/Screenshot_20231129_131920.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-1680\" src=\"https:\/\/wordpress.forensicpath.us\/wp-content\/uploads\/2023\/11\/Screenshot_20231129_131920-1024x576.png\" alt=\"\" width=\"688\" height=\"387\" srcset=\"https:\/\/wordpress.forensicpath.us\/wp-content\/uploads\/2023\/11\/Screenshot_20231129_131920-1024x576.png 1024w, https:\/\/wordpress.forensicpath.us\/wp-content\/uploads\/2023\/11\/Screenshot_20231129_131920-300x169.png 300w, https:\/\/wordpress.forensicpath.us\/wp-content\/uploads\/2023\/11\/Screenshot_20231129_131920-768x432.png 768w, https:\/\/wordpress.forensicpath.us\/wp-content\/uploads\/2023\/11\/Screenshot_20231129_131920-1536x864.png 1536w, https:\/\/wordpress.forensicpath.us\/wp-content\/uploads\/2023\/11\/Screenshot_20231129_131920-1600x900.png 1600w, https:\/\/wordpress.forensicpath.us\/wp-content\/uploads\/2023\/11\/Screenshot_20231129_131920.png 1920w\" sizes=\"(max-width: 688px) 100vw, 688px\" \/><\/a><\/p>\n<p>Now, I&#8217;ll add a light at a slight angle to throw some shadows:<\/p>\n<p><a href=\"https:\/\/wordpress.forensicpath.us\/wp-content\/uploads\/2023\/11\/Screenshot_20231129_132030.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-1678\" src=\"https:\/\/wordpress.forensicpath.us\/wp-content\/uploads\/2023\/11\/Screenshot_20231129_132030-1024x576.png\" alt=\"\" width=\"688\" height=\"387\" srcset=\"https:\/\/wordpress.forensicpath.us\/wp-content\/uploads\/2023\/11\/Screenshot_20231129_132030-1024x576.png 1024w, https:\/\/wordpress.forensicpath.us\/wp-content\/uploads\/2023\/11\/Screenshot_20231129_132030-300x169.png 300w, https:\/\/wordpress.forensicpath.us\/wp-content\/uploads\/2023\/11\/Screenshot_20231129_132030-768x432.png 768w, https:\/\/wordpress.forensicpath.us\/wp-content\/uploads\/2023\/11\/Screenshot_20231129_132030-1536x864.png 1536w, https:\/\/wordpress.forensicpath.us\/wp-content\/uploads\/2023\/11\/Screenshot_20231129_132030-1600x900.png 1600w, https:\/\/wordpress.forensicpath.us\/wp-content\/uploads\/2023\/11\/Screenshot_20231129_132030.png 1920w\" sizes=\"(max-width: 688px) 100vw, 688px\" \/><\/a><\/p>\n<p>And here&#8217;s the final image.\u00a0 As always, double click or right click to see the big version (depending on your browser and OS):<\/p>\n<p><a href=\"https:\/\/wordpress.forensicpath.us\/wp-content\/uploads\/2023\/11\/screen.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-1683\" src=\"https:\/\/wordpress.forensicpath.us\/wp-content\/uploads\/2023\/11\/screen-1024x576.webp\" alt=\"\" width=\"688\" height=\"387\" srcset=\"https:\/\/wordpress.forensicpath.us\/wp-content\/uploads\/2023\/11\/screen-1024x576.webp 1024w, https:\/\/wordpress.forensicpath.us\/wp-content\/uploads\/2023\/11\/screen-300x169.webp 300w, https:\/\/wordpress.forensicpath.us\/wp-content\/uploads\/2023\/11\/screen-768x432.webp 768w, https:\/\/wordpress.forensicpath.us\/wp-content\/uploads\/2023\/11\/screen-1536x864.webp 1536w, https:\/\/wordpress.forensicpath.us\/wp-content\/uploads\/2023\/11\/screen-1600x900.webp 1600w, https:\/\/wordpress.forensicpath.us\/wp-content\/uploads\/2023\/11\/screen.webp 1920w\" sizes=\"(max-width: 688px) 100vw, 688px\" \/><\/a><\/p>\n<p>And as a screen background:<\/p>\n<p><a href=\"https:\/\/wordpress.forensicpath.us\/wp-content\/uploads\/2023\/11\/Screenshot_20231129_140858.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-1691\" src=\"https:\/\/wordpress.forensicpath.us\/wp-content\/uploads\/2023\/11\/Screenshot_20231129_140858-1024x576.png\" alt=\"\" width=\"688\" height=\"387\" srcset=\"https:\/\/wordpress.forensicpath.us\/wp-content\/uploads\/2023\/11\/Screenshot_20231129_140858-1024x576.png 1024w, https:\/\/wordpress.forensicpath.us\/wp-content\/uploads\/2023\/11\/Screenshot_20231129_140858-300x169.png 300w, https:\/\/wordpress.forensicpath.us\/wp-content\/uploads\/2023\/11\/Screenshot_20231129_140858-768x432.png 768w, https:\/\/wordpress.forensicpath.us\/wp-content\/uploads\/2023\/11\/Screenshot_20231129_140858-1536x864.png 1536w, https:\/\/wordpress.forensicpath.us\/wp-content\/uploads\/2023\/11\/Screenshot_20231129_140858-1600x900.png 1600w, https:\/\/wordpress.forensicpath.us\/wp-content\/uploads\/2023\/11\/Screenshot_20231129_140858.png 1920w\" sizes=\"(max-width: 688px) 100vw, 688px\" \/><\/a><\/p>\n<p>There&#8217;s a learning curve with using Blender, of course, but given that, it only takes a few minutes once you learn to use it.<\/p>\n<p>If you don&#8217;t like blues, you can play with the color map.\u00a0 \u00a0For instance, using the &#8220;map colors&#8221; tool in GIMP, I mapped the blues to greens and the greys to blues, which makes it look a little like an aerial map of a Louisiana swamp, with individual bacterial colonies being individual trees and bushes:<\/p>\n<p><a href=\"https:\/\/wordpress.forensicpath.us\/wp-content\/uploads\/2023\/11\/screen_green.webp\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-large wp-image-1687\" src=\"https:\/\/wordpress.forensicpath.us\/wp-content\/uploads\/2023\/11\/screen_green-1024x576.webp\" alt=\"\" width=\"688\" height=\"387\" srcset=\"https:\/\/wordpress.forensicpath.us\/wp-content\/uploads\/2023\/11\/screen_green-1024x576.webp 1024w, https:\/\/wordpress.forensicpath.us\/wp-content\/uploads\/2023\/11\/screen_green-300x169.webp 300w, https:\/\/wordpress.forensicpath.us\/wp-content\/uploads\/2023\/11\/screen_green-768x432.webp 768w, https:\/\/wordpress.forensicpath.us\/wp-content\/uploads\/2023\/11\/screen_green-1536x864.webp 1536w, https:\/\/wordpress.forensicpath.us\/wp-content\/uploads\/2023\/11\/screen_green-1600x900.webp 1600w, https:\/\/wordpress.forensicpath.us\/wp-content\/uploads\/2023\/11\/screen_green.webp 1920w\" sizes=\"(max-width: 688px) 100vw, 688px\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>One of the things that drew me to pathology was the aesthetics of histology. I find microscopic images fascinating and&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[60,1],"tags":[56,27,25,26],"class_list":["post-1676","post","type-post","status-publish","format-standard","hentry","category-photomicrographs","category-uncategorized","tag-histology","tag-image-processing","tag-microscopy","tag-photomicrography"],"_links":{"self":[{"href":"https:\/\/wordpress.forensicpath.us\/index.php\/wp-json\/wp\/v2\/posts\/1676","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.forensicpath.us\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wordpress.forensicpath.us\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.forensicpath.us\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.forensicpath.us\/index.php\/wp-json\/wp\/v2\/comments?post=1676"}],"version-history":[{"count":7,"href":"https:\/\/wordpress.forensicpath.us\/index.php\/wp-json\/wp\/v2\/posts\/1676\/revisions"}],"predecessor-version":[{"id":1693,"href":"https:\/\/wordpress.forensicpath.us\/index.php\/wp-json\/wp\/v2\/posts\/1676\/revisions\/1693"}],"wp:attachment":[{"href":"https:\/\/wordpress.forensicpath.us\/index.php\/wp-json\/wp\/v2\/media?parent=1676"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wordpress.forensicpath.us\/index.php\/wp-json\/wp\/v2\/categories?post=1676"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wordpress.forensicpath.us\/index.php\/wp-json\/wp\/v2\/tags?post=1676"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}