File:Barn grand tetons rgb separation.jpg

From testwiki
Jump to navigation Jump to search
    Original file (1,600 × 4,780 pixels, file size: 1.03 MB, MIME type: image/jpeg)

    This file is from Wikimedia Commons and may be used by other projects. The description on its file description page there is shown below.

    કલર ડિઝાઇન

    Summary

    Description
    English: This takes an image (Image:Barns grand tetons.jpg) and displays the red, green and blue elements extracted from it.

    Note that the white snow is composed of strong red, green and blue; the brown barn is composed of strong red and green with little blue; the dark green grass is composed of strong green with little red or blue; and the light blue sky is composed of strong blue and moderately strong red and green.

    Based on the (public domain) photo Image:Barns grand tetons.jpg. Code above and resulting output by Mike1024.
    Date 2 June 2006 (original upload date)
    Source Transferred from en.wikipedia to Commons. Transfer was stated to be made by User:nopira.
    Author The original uploader was Mike1024 at English Wikipedia.
    Permission
    (Reusing this file)
    Public domain I, the copyright holder of this work, release this work into the public domain. This applies worldwide.
    In some countries this may not be legally possible; if so:
    I grant anyone the right to use this work for any purpose, without any conditions, unless such conditions are required by law.

    Generator code

    In en:MATLAB:

    RGBimage = imread('barns_grand_tetons.jpg');
    [height,width,depth]=size(RGBimage);
    
    % Newer versions of matlab need outputimage=zeros(height*4,width,depth,'uint8');
    outputimage=uint8(zeros(height*4,width,depth));
    for w=1:width,
      for h=1:height,
        outputimage(h,w,1) = RGBimage(h,w,1); %Copy R, G and B for normal image
        outputimage(h,w,2) = RGBimage(h,w,2);
        outputimage(h,w,3) = RGBimage(h,w,3);
        outputimage(h+height,w,1) = RGBimage(h,w,1); %Copy R only for first component
        outputimage(h+(2*height),w,2) = RGBimage(h,w,2); %G only for second component
        outputimage(h+(3*height),w,3) = RGBimage(h,w,3); %B only for third component
      end
    end
    
    image(outputimage);
    
    imwrite(outputimage,'rgb_separation.jpg','jpeg');

    Sets iiin

    Original upload log

    The original description page was here. All following user names refer to en.wikipedia.
    • 2006-06-02 12:33 Mike1024 1600×4780×8 (1082316 bytes) ==Summary== This takes an image ([[:Image:Barns grand tetons.jpg|Image:Barns grand tetons.jpg]]) and displays the red, green and blue elements extracted from it. Note that the white snow is comprised of strong red, green and blue; the brown barn is compr

    Captions

    Add a one-line explanation of what this file represents

    Items portrayed in this file

    depicts

    2 June 2006

    image/jpeg

    c72c0afadd48dfa4ef86e9336144c37524bcaab3

    1,082,316 byte

    4,780 pixel

    1,600 pixel

    File history

    Click on a date/time to view the file as it appeared at that time.

    Date/TimeThumbnailDimensionsUserComment
    current17:42, 9 December 2007Thumbnail for version as of 17:42, 9 December 20071,600 × 4,780 (1.03 MB)wikimediacommons>Nopira{{Information |Description={{en|This takes an image (Image:Barns grand tetons.jpg) and displays the red, green and blue elements extracted from it. Note that the white snow is composed of strong red, green and blue;

    There are no pages that use this file.