{"id":1045,"date":"2013-07-24T07:37:53","date_gmt":"2013-07-24T07:37:53","guid":{"rendered":"http:\/\/ubuntuhandbook.org\/?p=1045"},"modified":"2013-07-24T07:37:53","modified_gmt":"2013-07-24T07:37:53","slug":"diffimg-simple-image-comparison-tool-ubuntu","status":"publish","type":"post","link":"https:\/\/ubuntuhandbook.org\/index.php\/2013\/07\/diffimg-simple-image-comparison-tool-ubuntu\/","title":{"rendered":"DiffImg: Simple Image Comparison Tool for Ubuntu Linux"},"content":{"rendered":"<p><b>DiffImg<\/b> is a <b>simple image comparison tool<\/b> which take two images with the same size as input. Some statitics are computed and the positions where pixel differ are displayed as a color mask.<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2013\/07\/diffimg.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2013\/07\/diffimg-300x193.jpg\" alt=\"diffimag image comparison tool\" width=\"300\" height=\"193\" class=\"aligncenter size-medium wp-image-1046\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2013\/07\/diffimg-300x193.jpg 300w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2013\/07\/diffimg.jpg 793w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>There are very few image difference tools for Ubuntu Linux. <i>DiffImg<\/i> is one of them which has a user friendly GUI. It uses OpenCV as backend so it can read and compare 8\/16\/24\/32 bits images without problem but only single channel and RGB image has been take into account, so alpha channel isn&#8217;t supported.<\/p>\n<p>Because <i>DiffImg<\/i> is written with Qt, it runs on Windows and Linux (MacOSX isn&#8217;t tested yet) and OS\/2. It can read basic formats as BMP, PNG, JPG but also  Tiff and OpenExR.<\/p>\n<h3>Current Features:<\/h3>\n<ul>\n<li>Image difference display : a yellow\/red mask can overlay the original\/modified images.<\/li>\n<li>Single\/Dual panels mode.<\/li>\n<li>Statistic computation: Mean error, RMS error and min\/max are computed.<\/li>\n<li>Several metrics can be used for computing image difference.<\/li>\n<li>Histogram of error.<\/li>\n<li>&#8220;Slideshow&#8221; : DiffImg can compare directory of image, so you can switch to the previous\/next comparison if you have two folders with the same image list.<\/li>\n<li>Supported files :DifffImg uses Qt plugins to load images, so by default it can read basic formats as BMP, PNG, JPG and OpenCV supported formats (Tiff, OpenExR).<\/li>\n<li>Basic batch mode<\/li>\n<\/ul>\n<h3>Install DiffImg:<\/h3>\n<p>A PPA repository has been created to make it easy to install for Ubuntu and Linux Mint users. So far, it supports <b>Ubuntu 13.04 Raring, 12.10 Quantal, 12.04 Precise and Linux Mint 13 Maya, 14 Nadia, 15 Olivia.<\/b><\/p>\n<p>To add the ppa, press <u>Ctrl+Alt+T<\/u> on your keyboard to open terminal. When it opens, run below commands:<\/p>\n<pre>sudo add-apt-repository ppa:dhor\/myway<\/pre>\n<p>Then you can update package lists and install the tool via Synaptic Package Manager, or run below command:<\/p>\n<pre>sudo apt-get update; sudo apt-get install diffimg<\/pre>\n<p>That&#8217;s it.<\/p>\n<p>For other systems, <b>Diffimg source code and exe file can be download<\/b> from <a href=\"http:\/\/sourceforge.net\/projects\/diffimg\/files\" title=\"download diffimg\">SourceForge<\/a>.<\/p>\n<p><a href=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2013\/07\/diffimg-unity-dash.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2013\/07\/diffimg-unity-dash.jpg\" alt=\"diffimg on ubuntu unity\" width=\"399\" height=\"213\" class=\"aligncenter size-full wp-image-1047\" srcset=\"https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2013\/07\/diffimg-unity-dash.jpg 399w, https:\/\/ubuntuhandbook.org\/wp-content\/uploads\/2013\/07\/diffimg-unity-dash-300x160.jpg 300w\" sizes=\"auto, (max-width: 399px) 100vw, 399px\" \/><\/a><\/p>","protected":false},"excerpt":{"rendered":"<p>DiffImg is a simple image comparison tool which take two images with the same size as input. Some statitics are computed and the positions where pixel differ are displayed as a color mask. There are very few image difference tools for Ubuntu Linux. DiffImg is one of them which has a user friendly GUI. It [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[52],"tags":[241,242,17,15],"class_list":["post-1045","post","type-post","status-publish","format-standard","hentry","category-app-review","tag-diffimg","tag-simple-image-comparison-tool","tag-ubuntu-12-04","tag-ubuntu-13-04"],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/1045","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/comments?post=1045"}],"version-history":[{"count":0,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/posts\/1045\/revisions"}],"wp:attachment":[{"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/media?parent=1045"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/categories?post=1045"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ubuntuhandbook.org\/index.php\/wp-json\/wp\/v2\/tags?post=1045"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}