File:Barns_grand_tetons_YCbCr_separation.jpg
From Wikipedia, the free encyclopedia
Šios peržiūros dydis: 200 × 598 taškų. Kitos 5 rezoliucijos: 80 × 240 taškų | 160 × 480 taškų | 257 × 768 taškų | 342 × 1 024 taškų | 1 600 × 4 780 taškų.
Didesnės raiškos iliustracija (1 600 × 4 780 taškų, rinkmenos dydis: 825 KiB, MIME tipas: image/jpeg)
Ši byla yra iš bendros Wikimedia Commons nemokamų resursų duomenų bazės, palaikomos Wikimedia Foundation organizacijos. Norėdami sužinoti licencijavimo smulkmenas, žiūrėkite paveikslėlio aprašymą | Į paveikslėlio aprašymą |
Aprašymas
AprašymasBarns grand tetons YCbCr separation.jpg |
English: This takes an image (Image:Barns grand tetons.jpg) and displays the Y, Cb and Cr elements of it.
Note that the Y image is essentailly a greyscale copy of the main image; that the white snow is represented as a middle value in both Cb and Cr; that the brown barn is represented by strong Cb and strong Cr; that the green grass is represented by strong Cb and weak Cr; and that the blue sky is represented by weak Cb and weak Cr. The murkiness of the Cb and Cr elements (to the human eye) demonstrate why many image compression codecs downsample colour; details in Y are much more visible than in Cb or Cr. |
|||
Data | m. gruodžio 26 d. (upload date) | |||
Šaltinis | Based on the (public domain) photo Image:Barns grand tetons.jpg. Code above and resulting output by Mike1024. | |||
Autorius | Mike1024 | |||
Leidimas (Šios rinkmenos panaudojimas kitur) |
|
Generator code
In MATLAB:
RGBimage = imread('barns_grand_tetons.jpg'); [height,width,depth]=size(RGBimage); YCbCrimage=RGB2YCbCr(RGBimage); % If you don't have the right version/toolkit this function % might not be availiable. Luckily, it's easy to implement % ourselves. Drop me (Mike1024) a message and I'll send you % my code to do it. % 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) = YCbCrimage(h,w,1); %Copy Y, Cb and Cr for normal image outputimage(h,w,2) = YCbCrimage(h,w,2); outputimage(h,w,3) = YCbCrimage(h,w,3); outputimage(h+height,w,1) = YCbCrimage(h,w,1); %Copy Y only for first component outputimage(h+height,w,2) = 128; outputimage(h+height,w,3) = 128; outputimage(h+(2*height),w,2) = YCbCrimage(h,w,2); %Cb only for second component outputimage(h+(2*height),w,1) = 128; outputimage(h+(2*height),w,3) = 128; outputimage(h+(3*height),w,3) = YCbCrimage(h,w,3); %Cr only for third component outputimage(h+(3*height),w,1) = 128; outputimage(h+(3*height),w,2) = 128; end end image(YCbCr2RGB(outputimage)); imwrite(YCbCr2RGB(outputimage),'YCbCr_separation.jpg','jpeg');
Items portrayed in this file
vaizduoja
some value
26 gruodžio 2006
media type anglų
image/jpeg
checksum anglų
fb1e6384f89b9a5b3e8bebcd3065c2817b00a1b5
data size anglų
844 403 baitas
4 780 pikselis
1 600 pikselis
Rinkmenos istorija
Paspauskite ant datos/laiko, kad pamatytumėte rinkmeną tokią, kokia ji buvo tuo metu.
Data/Laikas | Miniatiūra | Matmenys | Naudotojas | Paaiškinimas | |
---|---|---|---|---|---|
dabartinis | 13:58, 26 gruodžio 2006 | 1 600 × 4 780 (825 KiB) | Wdwd | ==Summary== This takes an image (Image:Barns grand tetons.jpg) and displays the Y, Cb and Cr elements of it. Note that the Y image is essentailly a greyscale copy of the main image; that the white snow is represented as |
Paveikslėlio naudojimas
Paveikslėlis nenaudojamas nei viename straipsnyje.
Visuotinis rinkmenos naudojimas
Ši rinkmena naudojama šiose viki svetainėse:
- Naudojama be.wikipedia.org
- Naudojama cs.wikipedia.org
- Naudojama de.wikipedia.org
- Naudojama de.wikibooks.org
- Naudojama en.wikipedia.org
- Naudojama es.wikipedia.org
- Naudojama fr.wikipedia.org
- Naudojama hu.wikipedia.org
- Naudojama id.wikipedia.org
- Naudojama it.wikipedia.org
- Naudojama pl.wikipedia.org
- Naudojama ru.wikipedia.org
- Naudojama su.wikipedia.org
- Naudojama vi.wikipedia.org
- Naudojama zh.wikipedia.org
Meta duomenys
Šioje iliustracijoje ar faile yra saugoma papildoma informacija, sukurta skaitmeninio fotoaparato, skenerio. Jei failas yra pakeistas, kai kurios detalės gali ne visai tiksliai aprašyti pakeistą iliustraciją.
_error | 0 |
---|