• 検索結果がありません。

コンピュータとデジタル画像

N/A
N/A
Protected

Academic year: 2021

シェア "コンピュータとデジタル画像"

Copied!
40
0
0

読み込み中.... (全文を見る)

全文

(1)
(2)

l

¡

¡

l

¡

¡

l

¡

2

(3)

(CPU)

RAMDAC

D/A

(4)

l

¡

¡

VRAM (Video RAM)

l

¡

l

(scan line)

¡

(5)

l

CG

¡

l

¡

CRT,

, …

• XY

, …

¡

CG

5

(6)
(7)

Ivan Sutherland Sketchpad

(8)

l

¡

¡

l

pixel

¡

l

8

(9)

l

l

l

l

(10)

l

bit

¡

• →0 →1 •

l

¡

• • • • • ( )

10

(11)

( )

(12)

Photoshop

(13)
(14)
(15)

150

(16)

150

(

(17)

50

(18)

50

(

(19)

l

l

¡

8bit (1byte)

• 0→ • 255→

¡

(

)

• (12bit ) • Photoshop 16bit •

19

(20)

l

:R

:G

:B

(21)

l

¡

¡

C = (R, G, B)

(1,0,0) (1,1,0) (0,1,0) (0,0,0) (1,1,1)

21

(22)

(RGB)

(CMY)

22

Red

Green

Blue

Cyan

Magenta

Yellow

( )

(23)

Photoshop

RGB

CMYK

(24)

Photoshop

(25)

CMYK

(26)

CMYK

lCMYK

¡

¡

l

sRGB

¡

PC

CMYK

¡

CMYK

sRGB

l

http://www.iwashi.org/archives/3342

26

(27)

1

1

(28)

l

¡

¡

GIF

0 1 2 3 4 5 6 7 5 6 7 7 7 2 3 4 4 5 6 7 7 1 2 3 3 4 5 6 7 0 1 2 6 7 7 7 7 3 4 5 7 7 7 7 7 4 5 6 7 7 7 7 7 5 6 7

28

(29)
(30)

h w x y wy + x (x, y) wy + x

30

(31)

point(x, y, c)

lvoid point(int x, int y, const double *c)

¡

(x, y)

c

¡

c[0] : , c[1] : , c[2] : , 0 ≦ c[0], c[1], c[2] ≦ 1

x y (x, y) c

31

(32)

point()

/* */

const double red[] = { 1.0, 0.0, 0.0

};

const double blue[] = { 0.0, 0.0, 1.0

};

/* */

void draw(int width, int height) {

point(3, 5, red);

point(width, height, blue); }

(33)

x1 y x0 (x0, y) - (x1, y) (x0 =< x1) x x0 (x, y) x x + 1 BEGIN END N Y x < x 1 =

33

(34)

C

34

/* */ int x; x = x0; do { point(x, y, c); ++x; } while (x <= x1); /* */ int x; for (x = x0; x <= x1; ++x) { point(x, y, c); } /* */ int x; x = x0; while (x <= x1) { point(x, y, c); ++x; }

(35)

x1 y0 x0 (x0, y0) - (x1, y1) (x0 < x1, y0< y1) y y0 (x0, y) - (x1, y) y y + 1 BEGIN END N Y y < y 1 = y1

35

(36)

R G B C C0 C1 R0 R1 G0 G1 B0 B1 1 t

C

= C

0

(1 - t) + C

1

t

R

= R

0

(1 - t) + R

1

t

G

= G

0

(1 - t) + G

1

t

B

= B

0

(1 - t) + B

1

t

0

36

(37)

y1 y x1 x C1 C0 BEGIN y y0 t (y- y0) / (y1 - y0) C C0(1 - t) + C1t (x0, y) - (x1, y) C y y+ 1 y y0 END Y N (x0, y0) - (x1, y1) (x0 < x1, y0 < y1)

37

(38)

38

int t; t = (y – y0) / (x – x0); double t; t = (y – y0) / (x – x0); double t;

t = (double)(y – y0) / (double)(x – x0);

x, y, x0, y0

int (

)

t

double (

)

(39)

l char

l unsigned char

l short

l unsigned short

l int

l unsigned

l unsigned int

l long

l unsigned long

l float

l double

39

l 'A' l 65 l 0x41 l -100 l 1L l 0.75 l .0075e2 l 0.075e1 l .075e1 l 75e-2

(40)

参照

関連したドキュメント

The goods and/or their replicas, the technology and/or software found in this catalog are subject to complementary export regulations by Foreign Exchange and Foreign Trade Law

・保守点検に関する国際規格IEC61948-2 “Nuclear medicine instrumentation- Routine tests- Part2: Scintillation cameras and single photon emission computed tomography imaging”

画像の参照時に ACDSee Pro によってファイルがカタログ化され、ファイル プロパティと メタデータが自動的に ACDSee

在宅医療 注射 画像診断 その他の行為 検査

地図・ナビゲーション 情報検索・ニュース 動画配信 QRコード決済 メッセージングサービス SNS 予定管理・カレンダー オークション・フリマ

The lower two bits are used to assign the NCV7430 to one of four groups for the color setting, while the upper two bits are used to assign the device to one of four groups for

撮影画像(4月12日18時頃撮影) 画像処理後画像 モックアップ試験による映像 CRDレール

2. 2. - - 18 18 3号機 3号機 トーラス室調査 トーラス室調査