File:Linear Interpolation 2D.svg

מתוך Wikimedia Commons
קפיצה לניווט קפיצה לחיפוש

לקובץ המקורי(קובץ SVG, הגודל המקורי: 281 × 156 פיקסלים, גודל הקובץ: 15 ק"ב)

כיתובים

כיתובים

נא להוסיף משפט שמסביר מה הקובץ מייצג

תקציר

[עריכה]
תיאור
English: bilinear interpolation, upscaling of a 2x2 block by a factor of 2
Deutsch: bilineare Interpolation, Vergrößerung eines 2x2-Blockes um den Faktor 2
תאריך יצירה
מקור נוצר על־ידי מעלה היצירה
יוצר Matthias.Kirchner

This file has been generated using TikZ (with the tex4ht driver).

\documentclass{scrartcl}
\def\pgfsysdriver{pgfsys-tex4ht.def}
\usepackage{tikz}
\usetikzlibrary{calc}

\definecolor{gray100}{gray}{0.3921569}
\definecolor{gray128}{gray}{0.5}
\definecolor{gray132}{gray}{0.5176471}
\definecolor{gray190}{gray}{0.745098}

%% TikZ styles
\tikzstyle{pixel}=[minimum width=1cm,minimum height=1cm,fill,rectangle,text=black,anchor=south west,font=\footnotesize]
\tikzstyle{orig}=[font=\bfseries]
\tikzstyle{weight}=[font=\tiny]
\tikzstyle{connect}=[thick,red!50]

\begin{document}

\thispagestyle{empty}
\begin{tikzpicture}
 % original block
 \begin{scope}[yshift=-0.5cm]
  \node[gray190,pixel,orig] at (0,1) {190};\node[gray132,pixel,orig] at (1,1) {132};
  \node[gray128,pixel,orig] at (0,0) {128};\node[gray100,pixel,orig] at (1,0) {100};
  \draw[step=1cm,very thin] (0,0) grid (2,2);
 \end{scope}
 % resampled block
 \begin{scope}[xshift=4cm]
  \node[gray190,pixel,orig] (A) at (0,1){190};
  \node[gray190!50!gray132,pixel] (D) at (1,1){161};
  \node[gray132,pixel,orig] (G) at (2,1){132};
  \node[gray190!50!gray128,pixel] (B) at (0,0){159};
  \node[gray190!50!gray132!50!gray100!50!gray128,pixel] (E) at (1,0){137.5};
  \node[gray132!50!gray100,pixel] (H) at (2,0){116};
  \node[gray128,pixel,orig] (C) at (0,-1){128};
  \node[gray128!50!gray100,pixel] (F) at (1,-1){114};
  \node[gray100,pixel,orig] (I) at (2,-1){100};
  \draw[step=1cm,very thin] (0,-1) grid (3,2);
  \begin{scope}[connect]
   \draw[-latex] (A.west) to[out=-160,in=160] node[left,weight] {0.5} ($(B.west)+(0,1pt)$); 
   \draw[latex-] (B.west) to[out=-160,in=160] node[left,weight] {0.5} (C.west);
   \draw[-latex] (G.east) to[out=-20,in=20] node[right,weight] {0.5} ($(H.east)+(0,1pt)$);
   \draw[latex-] (H.east) to[out=-20,in=20] node[right,weight] {0.5} (I.east);
   \draw[-latex] (A.north) to[out=70,in=110] node[above,weight] {0.5} ($(D.north)-(1pt,0)$);
   \draw[latex-] (D.north) to[out=70,in=110] node[above,weight] {0.5} (G.north);
   \draw[-latex] (C.south) to[out=-70,in=-110] node[below,weight] {0.5} ($(F.south)-(1pt,0)$);
   \draw[latex-] (F.south) to[out=-70,in=-110] node[below,weight] {0.5} (I.south);
  \end{scope}
 \end{scope}
\end{tikzpicture}

\end{document}

רישיון

[עריכה]
אני, בעל זכויות היוצרים על היצירה הזאת, מפרסם אותה בזאת תחת הרישיונות הבאים:
w:he:Creative Commons
ייחוס שיתוף זהה
הקובץ הזה מתפרסם לפי תנאי רישיון קריאייטיב קומונז ייחוס-שיתוף זהה 3.0 לא מותאם.
הנכם רשאים:
  • לשתף – להעתיק, להפיץ ולהעביר את העבודה
  • לערבב בין עבודות – להתאים את העבודה
תחת התנאים הבאים:
  • ייחוס – יש לתת ייחוס הולם, לתת קישור לרישיון, ולציין אם נעשו שינויים. אפשר לעשות את זה בכל צורה סבירה, אבל לא בשום צורה שמשתמע ממנה שמעניק הרישיון תומך בך או בשימוש שלך.
  • שיתוף זהה – אם תיצרו רמיקס, תשנו, או תבנו על החומר, חובה עליכם להפיץ את התרומות שלך לפי תנאי רישיון זהה או תואם למקור.
GNU head מוענקת בכך הרשות להעתיק, להפיץ או לשנות את המסמך הזה, לפי תנאי הרישיון לשימוש חופשי במסמכים של גנו, גרסה 1.2 או כל גרסה מאוחרת יותר שתפורסם על־ידי המוסד לתוכנה חופשית; ללא פרקים קבועים, ללא טקסט עטיפה קדמית וללא טקסט עטיפה אחורית. עותק של הרישיון כלול בפרק שכותרתו הרישיון לשימוש חופשי במסמכים של גנו.
הנכם מוזמנים לבחור את הרישיון הרצוי בעיניכם.

היסטוריית הקובץ

ניתן ללחוץ על תאריך/שעה כדי לראות את הקובץ כפי שנראה באותו זמן.

תאריך/שעהתמונה ממוזערתממדיםמשתמשהערה
נוכחית10:30, 1 באוגוסט 2009תמונה ממוזערת לגרסה מ־10:30, 1 באוגוסט 2009‪156 × 281‬ (15 ק"ב)Matthias.Kirchner (שיחה | תרומות){{Information |Description={{en|1=bilinear interpolation, upscaling of a 2x2 block by a factor of 2}} {{de|1=bilineare Interpolation, Vergrößerung eines 2x2-Blockes um den Faktor 2 }} |Source=Own work by uploader |Author=[[User:Matthias.Kirchner|Matthia

אין דפים המשתמשים בקובץ זה.

שימוש גלובלי בקובץ

אתרי הוויקי השונים הבאים משתמשים בקובץ זה: