File:Lichtenstein jpeg difference.png
From Wikimedia Commons, the free media repository
Jump to navigation
Jump to search
Lichtenstein_jpeg_difference.png (512 × 512 pixels, file size: 370 KB, MIME type: image/png)
File information
Structured data
Captions
Summary
[edit]DescriptionLichtenstein jpeg difference.png |
The picture shows the difference pixel-by-pixel between an image and its JPEG compressed version: white=no-difference; black=big-difference The original image is Image:Lichtenstein img processing test.png, that I have renamed castle.png on my hard-disk to make it simpler. Then I have converted it to JPEG using the "convert" utility by ImageMagik, with the following command: convert -quality 50 castle.png castle.jpg Then I have used the following Matlab code: %read original image original=imread('castle.png'); %read compressed image compressed=imread('castle.jpg'); original=im2double(original); compressed=im2double(compressed); error=abs(original-compressed); %amplify the error for each color layer error(:,:,1)=imadjust(error(:,:,1)); error(:,:,2)=imadjust(error(:,:,2)); error(:,:,3)=imadjust(error(:,:,3)); %invert the picture error=1-error; %write it to a file imwrite(error,'castle_error.png'); |
Date | |
Source | Own work |
Author | Alessio Damato |
Other versions |
Licensing
[edit]I, the copyright holder of this work, hereby publish it under the following licenses:
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the section entitled GNU Free Documentation License.http://www.gnu.org/copyleft/fdl.htmlGFDLGNU Free Documentation Licensetruetrue |
This file is licensed under the Creative Commons Attribution-Share Alike 3.0 Unported license. | ||
| ||
This licensing tag was added to this file as part of the GFDL licensing update.http://creativecommons.org/licenses/by-sa/3.0/CC BY-SA 3.0Creative Commons Attribution-Share Alike 3.0truetrue |
This file is licensed under the Creative Commons Attribution-Share Alike 2.5 Generic, 2.0 Generic and 1.0 Generic license.
- You are free:
- to share – to copy, distribute and transmit the work
- to remix – to adapt the work
- Under the following conditions:
- attribution – You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
- share alike – If you remix, transform, or build upon the material, you must distribute your contributions under the same or compatible license as the original.
You may select the license of your choice.
File history
Click on a date/time to view the file as it appeared at that time.
Date/Time | Thumbnail | Dimensions | User | Comment | |
---|---|---|---|---|---|
current | 01:52, 17 April 2017 | 512 × 512 (370 KB) | Gnash (talk | contribs) | Optimized file size. | |
19:23, 19 May 2007 | 512 × 512 (387 KB) | Alejo2083 (talk | contribs) | optimized png | ||
19:22, 19 May 2007 | 512 × 512 (523 KB) | Alejo2083 (talk | contribs) | {{Information |Description=The picture shows the difference pixel-by-pixel between an image and its JPEG compressed version: white=no-difference; black=big-difference The original image is Image:Lichtenstein img processing test.png, that I have ren |
You cannot overwrite this file.
File usage on Commons
The following 2 pages use this file:
File usage on other wikis
The following other wikis use this file:
- Usage on en.wikipedia.org
- Usage on et.wikipedia.org
- Usage on lv.wikipedia.org