{"id":156,"date":"2019-09-13T15:31:37","date_gmt":"2019-09-13T14:31:37","guid":{"rendered":"https:\/\/blog.bham.ac.uk\/intellimic\/?page_id=156"},"modified":"2021-05-21T19:13:20","modified_gmt":"2021-05-21T18:13:20","slug":"dichromacy","status":"publish","type":"page","link":"https:\/\/blog.bham.ac.uk\/intellimic\/g-landini-software\/dichromacy\/","title":{"rendered":"Dichromacy"},"content":{"rendered":"<hr \/>\n<p><strong>Dichromacy<\/strong> (<a href=\"https:\/\/github.com\/landinig\/IJ-Dichromacy\/blob\/main\/dichromacy.zip\">java &amp; class files<\/a>) This plugin for ImageJ\/Fiji simulates the three main types dichromatic vision (or <span style=\"font-style: italic\">colour blindness<\/span>) which are due to a lack of function or absence of retinal photosensitive pigments: <span style=\"font-style: italic\">protanopia<\/span> (red), <span style=\"font-style: italic\">deuteranopia<\/span> (green) and <span style=\"font-style: italic\">tritanopia<\/span> (blue cones deficiency).<br \/>\nThere are milder colour vision deficiencies due to altered or shifted spectral responses of the colour photoreceptors. These are called <span style=\"font-style: italic\">protanomaly<\/span>, <span style=\"font-style: italic\">deuteranomaly<\/span> and <span style=\"font-style: italic\">tritanomaly<\/span> respectively. Complete monochromatic vision is called <span style=\"font-style: italic\">achromatopsia<\/span>.<\/p>\n<p>The plugin source code is based on the C++ version of Scribus module <a href=\"http:\/\/docs.scribus.net\/devel\/colorblind_8cpp-source.html%22\"> colorblind.cpp<\/a> (licensed as GPL).<br \/>\nThe Scribus code was, in turn, based on GIMP&#8217;s <a href=\"http:\/\/gimp.sourcearchive.com\/lines\/2.6.6-2\/display-filter-color-blind_8c-source.html\"> display filter for colour blind simulation<\/a> (also licensed as GPL) which implemented the algorithm described in Reference [2] below (see <a href=\"http:\/\/vischeck.com\/\">http:\/\/vischeck.com\/<\/a> for more info).<br \/>\nUnfortunately both Scribus and GIMP colour transformations contained a bug in the gamma processing that simulates the values of RGB pixels when displayed on a device of gamma ~ 2.0. Robert Dougherty and Alex Wade, (authors of the <a href=\"http:\/\/www.vischeck.com\/\"> Vischeck plugin<\/a>) kindly suggested the fix of the gamma bug. Their help in the implementation is therefore greately appreciated.<\/p>\n<p>The advantage of Dichromacy over the Vischeck plugin is that it can be recorded and called from scripts and macros, without user interaction.<\/p>\n<p><b>Examples:<\/b><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-157\" src=\"https:\/\/blog.bham.ac.uk\/intellimic\/wp-content\/uploads\/sites\/77\/2019\/09\/dichromacy.png\" alt=\"\" width=\"761\" height=\"191\" \/><\/p>\n<p>A: Normal trichromatic view, B: protanope simulation, C: deuteranope simulation, D: tritanope simulation.<\/p>\n<p>We have developed two <a href=\"https:\/\/onlinelibrary.wiley.com\/doi\/full\/10.1111\/j.1365-2818.2009.03174.x\"> methods to enhance Haematoxylin and Eosin stained histological sections<\/a>. The details of these methods can be found in reference 4, below.<\/p>\n<p><b>References<\/b><\/p>\n<ol>\n<li>Vi\u00e9not F, Brettel H, Ott L, Ben M&#8217;Barek A, Mollon JD. What do colour-blind people see? <span style=\"font-weight: bold;font-style: italic\">Nature<\/span> 376, pp.127-128, 1995. (<a href=\"http:\/\/www.nature.com\/nature\/journal\/v376\/n6536\/pdf\/376127a0.pdf\"> PDF<\/a>)<\/li>\n<li>Brettel H, Vi\u00e9not F, Mollon JD, Computerized simulation of color appearance for dichromats, <span style=\"font-weight: bold;font-style: italic\">J. Opt. Soc. Am. A<\/span> 14, 2647-2655 (1997). (<a href=\"http:\/\/www.opticsinfobase.org\/josaa\/abstract.cfm?URI=josaa-14-10-2647\">PDF<\/a>)<\/li>\n<li>Vi\u00e9not F, Brettel H, Mollon JD. Digital video colourmaps for checking the legibility of displays by dichromats. <span style=\"font-weight: bold;font-style: italic\">Color Res. Appl. <\/span>24(4), pp. 243-252, 1999.<\/li>\n<li>Landini G, Perryer DG. Digital enhancement of haematoxylin and eosin-stained histological images for red\u2013green colour-blind observers. <span style=\"font-weight: bold;font-style: italic\">Journal of Microscopy<\/span> 234 (3) 293-301, 2009. (<a href=\"https:\/\/onlinelibrary.wiley.com\/doi\/full\/10.1111\/j.1365-2818.2009.03174.x\">PDF<\/a>)<\/li>\n<li>Landini G, Perryer DG. Improvement of histological image interpretation for dichromatic observers. <span style=\"font-weight: bold;font-style: italic\">Proceedings of the 3rd ImageJ User and Developer Conference<\/span>, Luxembourg, 27-29 Oct 2010.<\/li>\n<li>Landini G, Perryer DG. More on color blindness. <i><b>Nature Methods<\/b><\/i> 8 (11), 891, 2011. (<a href=\"http:\/\/www.nature.com\/nmeth\/journal\/v8\/n11\/pdf\/nmeth.1737.pdf\"> PDF<\/a>)<\/li>\n<\/ol>\n<p>&nbsp;<\/p>\n<hr \/>\n<p><a title=\"Return to Software page\" href=\"https:\/\/blog.bham.ac.uk\/intellimic\/g-landini-software\/\"><em>Back<\/em><\/a><\/p>\n<hr \/>\n<p><em>Last updated on 13\/Sep\/2019.<\/em><\/p>\n<hr \/>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Dichromacy (java &amp; class files) This plugin for ImageJ\/Fiji simulates the three main types dichromatic vision (or colour blindness) which are due to a lack of function or absence of retinal photosensitive pigments: protanopia (red), deuteranopia (green) and tritanopia (blue cones deficiency). There are milder colour vision deficiencies due to altered or shifted spectral responses &hellip; <a href=\"https:\/\/blog.bham.ac.uk\/intellimic\/g-landini-software\/dichromacy\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Dichromacy&#8221;<\/span><\/a><\/p>\n","protected":false},"author":297,"featured_media":0,"parent":12,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-156","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/blog.bham.ac.uk\/intellimic\/wp-json\/wp\/v2\/pages\/156","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.bham.ac.uk\/intellimic\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/blog.bham.ac.uk\/intellimic\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/blog.bham.ac.uk\/intellimic\/wp-json\/wp\/v2\/users\/297"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.bham.ac.uk\/intellimic\/wp-json\/wp\/v2\/comments?post=156"}],"version-history":[{"count":6,"href":"https:\/\/blog.bham.ac.uk\/intellimic\/wp-json\/wp\/v2\/pages\/156\/revisions"}],"predecessor-version":[{"id":588,"href":"https:\/\/blog.bham.ac.uk\/intellimic\/wp-json\/wp\/v2\/pages\/156\/revisions\/588"}],"up":[{"embeddable":true,"href":"https:\/\/blog.bham.ac.uk\/intellimic\/wp-json\/wp\/v2\/pages\/12"}],"wp:attachment":[{"href":"https:\/\/blog.bham.ac.uk\/intellimic\/wp-json\/wp\/v2\/media?parent=156"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}