Computer graphics: xim tob

Computer graphics: xim tob
Computer graphics: xim tob
Anonim

Hnub no, thev naus laus zis thiab cov cuab yeej ua kom nws ua tau kom cov duab ci ntsa iab thiab saturated tias nws yuav zoo nkauj dua li nws cov qauv tiag. Qhov zoo ntawm cov duab xa mus yog nyob ntawm ntau qhov ntsuas ib zaug: tus naj npawb ntawm megapixels, cov duab daws teeb meem, nws hom, thiab lwm yam. Ib qho cuab yeej ntxiv yog rau lawv - xim tob. Nws yog dab tsi, thiab txhais thiab xam nws li cas?

xim tob
xim tob

cov ntaub ntawv dav dav

Xim qhov tob yog qhov siab tshaj plaws ntawm cov xim ntxoov ntxoo uas ib daim duab tuaj yeem muaj. Tus lej no yog ntsuas hauv cov khoom (tus naj npawb ntawm binary khoom uas txhais cov xim ntawm txhua pixel thiab xim av nyob rau hauv daim duab bitmap). Piv txwv li, ib qho pixel nrog cov xim tob ntawm 1 ntsis tuaj yeem ua rau ob qhov tseem ceeb: dawb thiab dub. Thiab qhov tseem ceeb tshaj qhov xim qhov tob yog, ntau cov duab yuav txawv, suav nrog ntau xim thiab ntxoov. Nws kuj yog lub luag haujlwm rau qhov raug ntawm cov duab xa mus. Txhua yam yog tib yam ntawm no: siab dua, zoo dua. Lwm qhov piv txwv:-g.webp

me ntsis txog RGB thiab CMYK

Raws li txoj cai, tag nrho cov duab ntawm cov qauv no muaj xim qhov tob ntawm 8 cov khoom ib channel (xim). Tab sis nyob rau hauv daim duab yuav muaj ob peb xim raws. Tom qab ntawd tus qauv RGB nrog peb txoj kab yuav twb muaj qhov tob ntawm 24 khoom (3x8). Cov xim qhov tob ntawm CMYK cov duab tuaj yeem ncav cuag 32 cov khoom (4x8).

xim tob yog
xim tob yog

ob peb tus neeg ntaus

Xim qhov tob - tus naj npawb ntawm cov ntxoov ntxoo ntawm ib qho xim uas lub cuab yeej sib cuag nrog cov duab tuaj yeem tsim dua lossis tsim. Qhov no parameter yog lub luag hauj lwm rau lub smoothness ntawm kev hloov ntawm ntxoov nyob rau hauv cov duab. Tag nrho cov duab digital yog encoded nrog ib qho thiab xoom. Xoom yog dub, ib tug yog dawb. Lawv khaws cia thiab muaj nyob rau hauv lub cim xeeb, ntsuas hauv bytes. Ib byte muaj 8 khoom, uas qhia qhov tob xim. Rau cov koob yees duab, muaj lwm lub ntsiab lus - xim qhov tob ntawm lub matrix. Qhov no yog qhov taw qhia uas txiav txim siab seb cov duab tiav thiab tob npaum li cas ntawm cov duab ntxoov ntxoo thiab cov xim muaj peev xwm tsim tau lub koob yees duab, lossis theej nws cov matrix. Tus nqi siab rau qhov teeb tsa no ua rau muaj cov duab zoo nkauj thiab du.

matrix xim tob
matrix xim tob

Permission

Kev sib txuas ntawm cov xim tob thiab cov duab zoo yog nws qhov kev daws teeb meem. Piv txwv li, ib daim duab 32-ntsis nrog kev daws teeb meem ntawm 800x600 yuav ua rau muaj qhov phem dua li cov duab zoo sib xws nrog kev daws teeb meem ntawm 1440x900. Tseeb tiag, nyob rau hauv ob rooj plaub, ib tug ntau loj tus naj npawb ntawmpixels. Qhov no yog qhov yooj yim heev los xyuas koj tus kheej. Txhua yam koj yuav tsum tau ua yog mus rau koj lub PC hauv "daim duab teeb tsa" thiab sim ua kom tsis tu ncua los yog ua kom lub vijtsam daws teeb meem. Thaum lub sij hawm tus txheej txheem no, koj yuav pom meej npaum li cas qhov kev daws teeb meem cuam tshuam qhov zoo ntawm daim duab kis tau tus mob. Tsis muaj teeb meem pes tsawg xim ib daim duab suav nrog, nws yuav txwv rau qhov siab tshaj plaws uas tus saib tuaj yeem txhawb nqa. Ua piv txwv, coj ib lub saib nrog cov xim tob ntawm 16 cov khoom thiab cov duab nrog 32 khoom. Cov duab no ntawm tus saib yuav pom nrog cov xim tob ntawm 16 khoom.

Pom zoo: