File:3 Prothonotary Warbler (half size) -pseudo detoned.jpg
Original file (5,552 × 8,040 pixels, file size: 2.52 MB, MIME type: image/jpeg)
Captions
Summary edit
English: Prothonotary Warbler. / Sylvia protonotarius. Lath, / Male. I. Female. 2. / Cane Vine. ( ) | ||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Author |
creator QS:P170,Q182882 |
|||||||||||||||||||||||
Title |
English: Prothonotary Warbler. / Sylvia protonotarius. Lath, / Male. I. Female. 2. / Cane Vine. |
|||||||||||||||||||||||
Date | 2 July 2014, 22:28:06 | |||||||||||||||||||||||
Notes |
This file is a derivative work based on Plate 3 of Birds of America by John James Audubon depicting the Prothonotary Warbler The starting point is that the original image at the University of Pittsburg may be rather toned (i.e. yellowed with age). This might indeed not be so, but comparision with reference works such as the Duke of Portland's edition or the edition at Amherst College suggests that it is so. The file uses routines in Mathematica 9 to perform a pseudo detone, "pseudo" because toning is a very complicated process that cannot be compensated for by simple means (at the very least one need to know how different pigments are affected). Essentially the routine works by subtracting the yellow background. The result compares quite well with reference images and is offered as a starting point for users wishing to make their own restorations. A half-size image was used because of memory restraints on the uploader's computer. The routine below should work just as well on a full-size image (after adjusting for the sample boundaries - times 2!) if adequate computer memory is available. The Mathematica code used for this file was: (* Import file (the semicolon prevents it being displayed, best for large files) *) Warbler = Import["3_Prothonotary_Warbler (half size).jpg"]; (* Determine a page sample outside plate - this is a sample above the Warbler plate in a half-size file measuring 5552 x 8040 pixels) *) StartRow = 500; EndRow = 1500; StartColumn = 1500; EndColumn = 4000; (* Get page sample *) PageSample = ImageTake[Warbler, {StartRow, EndRow}, {StartColumn, EndColumn}]; (* Get a list of pixel values in sample *) SampleData = Flatten[ImageData[PageSample], 1]; (* Separate color channels *) DataSeparate = Transpose[SampleData]; (* Get the lightest pixel, virtual by channel (or you could use MeanPixel={Mean[DataSeparate[[1]]],Mean[DataSeparate[[2]]], Mean[DataSeparate[[3]]]}) *) LightestPixel = {Max[DataSeparate[[1]]], Max[DataSeparate[[2]]], Max[DataSeparate[[3]]]}; (* Display LightestPixel as RGB bytes (or you could use IntegerPart[MeanPixel * 255 + 0.5])*) IntegerPart[LightestPixel * 255 + 0.5] (* Pseudo detone image by subtracting LightestPixel (or by subtracting MeanPixel using WarblerDetoned= ImageAdd[Warbler, 1-MeanPixel]) *) WarblerDetoned = ImageAdd[Warbler, 1 - LightestPixel]; (* Export file *) Export["3_Prothonotary_Warbler (half size) Detoned.jpg", WarblerDetoned]; |
|||||||||||||||||||||||
Source/Photographer | http://images.library.pitt.edu/cgi-bin/i/image/image-idx?view=entry;cc=audimg;entryid=x-aud0003 | |||||||||||||||||||||||
Permission (Reusing this file) |
|
|||||||||||||||||||||||
Other versions |
|
File history
Click on a date/time to view the file as it appeared at that time.
Date/Time | Thumbnail | Dimensions | User | Comment | |
---|---|---|---|---|---|
current | 21:31, 2 July 2014 | 5,552 × 8,040 (2.52 MB) | Coat of Many Colours (talk | contribs) | User created page with UploadWizard |
You cannot overwrite this file.
File usage on Commons
The following page uses this file: