File:Barns grand tetons YCbCr separation.jpg
De Wikimedia Commons, el repositorio multimedia libre
Ir a la navegación
Ir a la búsqueda
Tamaño de esta previsualización: 200 × 598 píxeles. Otras resoluciones: 80 × 240 píxeles | 160 × 480 píxeles | 257 × 768 píxeles | 342 × 1024 píxeles | 1600 × 4780 píxeles.
Archivo original (1600 × 4780 píxeles; tamaño de archivo: 825 kB; tipo MIME: image/jpeg)
Información del archivo
Datos estructurados
Leyendas
Resumen[editar]
DescripciónBarns 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. |
|||
Fecha | 26 de diciembre de 2006 (fecha de carga) | |||
Fuente | Based on the (public domain) photo Image:Barns grand tetons.jpg. Code above and resulting output by Mike1024. | |||
Autor | Mike1024 | |||
Permiso (Reutilización de este archivo) |
|
Generator code[editar]
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');
Historial del archivo
Haz clic sobre una fecha y hora para ver el archivo tal como apareció en ese momento.
Fecha y hora | Miniatura | Dimensiones | Usuario | Comentario | |
---|---|---|---|---|---|
actual | 10:58 26 dic 2006 | 1600 × 4780 (825 kB) | Wdwd (discusión | contribs.) | ==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 |
No puedes sobrescribir este archivo.
Usos del archivo
Las siguientes páginas usan este archivo:
Uso global del archivo
Las wikis siguientes utilizan este archivo:
- Uso en be.wikipedia.org
- Uso en cs.wikipedia.org
- Uso en de.wikipedia.org
- Uso en de.wikibooks.org
- Uso en en.wikipedia.org
- Uso en es.wikipedia.org
- Uso en fr.wikipedia.org
- Uso en hu.wikipedia.org
- Uso en id.wikipedia.org
- Uso en it.wikipedia.org
- Uso en pl.wikipedia.org
- Uso en ru.wikipedia.org
- Uso en su.wikipedia.org
- Uso en vi.wikipedia.org
- Uso en zh.wikipedia.org
Metadatos
Este archivo contiene información adicional, probablemente añadida por la cámara digital o el escáner usado para crearlo o digitalizarlo.
Si el archivo ha sido modificado desde su estado original, pueden haberse perdido algunos detalles.
_error | 0 |
---|
Datos estructurados
Elementos representados en este archivo
representa a
Algún valor sin elemento de Wikidata
26 dic 2006
image/jpeg
fb1e6384f89b9a5b3e8bebcd3065c2817b00a1b5
844 403 byte
4780 píxel
1600 píxel
Categorías ocultas: