File:Barns grand tetons YCbCr separation.jpg
מתוך Wikimedia Commons
קפיצה לניווט
קפיצה לחיפוש
גודל התצוגה המקדימה הזאת: 200 × 598 פיקסלים. רזולוציות אחרות: 80 × 240 פיקסלים | 160 × 480 פיקסלים | 257 × 768 פיקסלים | 342 × 1,024 פיקסלים | 1,600 × 4,780 פיקסלים.
לקובץ המקורי (1,600 × 4,780 פיקסלים, גודל הקובץ: 825 ק"ב, סוג MIME: image/jpeg)
מידע על הקובץ
נתונים מובְנים
כיתובים
תקציר
[עריכה]תיאורBarns 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. |
|||
תאריך יצירה | 26 בדצמבר 2006 (תאריך העלאה) | |||
מקור | Based on the (public domain) photo Image:Barns grand tetons.jpg. Code above and resulting output by Mike1024. | |||
יוצר | Mike1024 | |||
אישורים והיתרים (שימוש חוזר בקובץ זה) |
|
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');
היסטוריית הקובץ
ניתן ללחוץ על תאריך/שעה כדי לראות את הקובץ כפי שנראה באותו זמן.
תאריך/שעה | תמונה ממוזערת | ממדים | משתמש | הערה | |
---|---|---|---|---|---|
נוכחית | 10:58, 26 בדצמבר 2006 | 4,780 × 1,600 (825 ק"ב) | 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 |
אין באפשרותך לדרוס את הקובץ הזה.
שימוש בקובץ
הדפים הבאים משתמשים בקובץ הזה:
שימוש גלובלי בקובץ
אתרי הוויקי השונים הבאים משתמשים בקובץ זה:
- שימוש באתר be.wikipedia.org
- שימוש באתר cs.wikipedia.org
- שימוש באתר de.wikipedia.org
- שימוש באתר de.wikibooks.org
- שימוש באתר en.wikipedia.org
- שימוש באתר es.wikipedia.org
- שימוש באתר fr.wikipedia.org
- שימוש באתר hu.wikipedia.org
- שימוש באתר id.wikipedia.org
- שימוש באתר it.wikipedia.org
- שימוש באתר pl.wikipedia.org
- שימוש באתר ru.wikipedia.org
- שימוש באתר su.wikipedia.org
- שימוש באתר vi.wikipedia.org
- שימוש באתר zh.wikipedia.org
מטא־נתונים
קובץ זה מכיל מידע נוסף, שכנראה הגיע ממצלמה דיגיטלית או מסורק שבהם הקובץ נוצר או עבר דיגיטציה.
אם הקובץ שונה ממצבו הראשוני, כמה מהנתונים להלן עלולים שלא לשקף באופן מלא את הקובץ הנוכחי.
_error | 0 |
---|
קטגוריות מוסתרות: