Sample (graphics) (original) (raw)
In computer graphics, a sample is an intersection of channel and a pixel. The diagram below depicts a 24-bit pixel, consisting of 3 samples for Red, Green, and Blue. In this particular diagram, the Red sample occupies 9 bits, the Green sample occupies 7 bits and the Blue sample occupies 8 bits, totaling 24 bits per pixel. Note that the samples do not have to be equal size and not all samples are mandatory in a pixel. Also, a pixel can consist of more than 3 samples (e.g. 4 samples of the RGBA color space). A sample is related to a subpixel on a physical display.
Property | Value |
---|---|
dbo:abstract | In computer graphics, a sample is an intersection of channel and a pixel. The diagram below depicts a 24-bit pixel, consisting of 3 samples for Red, Green, and Blue. In this particular diagram, the Red sample occupies 9 bits, the Green sample occupies 7 bits and the Blue sample occupies 8 bits, totaling 24 bits per pixel. Note that the samples do not have to be equal size and not all samples are mandatory in a pixel. Also, a pixel can consist of more than 3 samples (e.g. 4 samples of the RGBA color space). A sample is related to a subpixel on a physical display. (en) コンピュータグラフィックスにおけるサンプル(英: sample)または標本(ひょうほん)とは、あるピクセルに割り当てられた単一分の標本化された情報である。呼称はシステムによって異なり、OpenGLやGDI、DirectX、Quartz 2Dではこれはコンポーネント(英: component)または成分(せいぶん)と呼ばれ、「サンプル」がピクセル単位など一揃いの色情報を指し示す場合もある。 下図に24ビットRGBの、3つのサンプルからなるピクセルフォーマットを例示する。 この図例では、赤は9ビット、緑は7ビット、青は8ビットを占めており、ピクセルあたり合計24ビットの情報量となっている。このピクセルフォーマット例はあくまで解説用であり、実際は8:8:8の配分の方が一般的であるが、このように各サンプルのビット長は等分でない場合もある。例えば、16ビットRGBでは輝度に最も影響する緑の品質を優先して5:6:5の配分が使われたりもする。また、16ビットRGBで5:5:5に配分された場合の余分の1ビットなど、どのサンプルにも属しない未使用領域を伴う場合もある。 ピクセルに含まれるサンプル数も様々であり、例えばRGBA色空間ではピクセルあたり4つのサンプルを含む。YUV色空間では隣接する複数ピクセルの情報をまとめる「マクロピクセル」の概念が利用され、例えば4:2:2に配分されたYUVでは、2ピクセル分のマクロピクセルに輝度2つとU・V色差1つずつの合計4つのサンプルを含み、色差情報が両ピクセルで共有されたりもする。 フレームバッファの内容といった、画像とディスプレイのチャンネル構成が一致する場面であれば、各サンプルは液晶ディスプレイなどのとも対応関係を持つであろう。 (ja) |
dbo:thumbnail | wiki-commons:Special:FilePath/PixelSamples.png?width=300 |
dbo:wikiPageExternalLink | http://www.fourcc.org/rgb.php http://www.w3.org/TR/PNG |
dbo:wikiPageID | 29627886 (xsd:integer) |
dbo:wikiPageLength | 1061 (xsd:nonNegativeInteger) |
dbo:wikiPageRevisionID | 875542590 (xsd:integer) |
dbo:wikiPageWikiLink | dbr:Computer_graphics dbc:Computer_graphics dbc:Digital_photography dbc:Color_space dbr:Channel_(digital_image) dbr:Pixel dbr:RGBA_color_space dbr:File:PixelSamples.png |
dbp:wikiPageUsesTemplate | dbt:Reflist dbt:Compu-graphics-stub |
dct:subject | dbc:Computer_graphics dbc:Digital_photography dbc:Color_space |
gold:hypernym | dbr:Intersection |
rdf:type | dbo:RoadJunction |
rdfs:comment | In computer graphics, a sample is an intersection of channel and a pixel. The diagram below depicts a 24-bit pixel, consisting of 3 samples for Red, Green, and Blue. In this particular diagram, the Red sample occupies 9 bits, the Green sample occupies 7 bits and the Blue sample occupies 8 bits, totaling 24 bits per pixel. Note that the samples do not have to be equal size and not all samples are mandatory in a pixel. Also, a pixel can consist of more than 3 samples (e.g. 4 samples of the RGBA color space). A sample is related to a subpixel on a physical display. (en) コンピュータグラフィックスにおけるサンプル(英: sample)または標本(ひょうほん)とは、あるピクセルに割り当てられた単一分の標本化された情報である。呼称はシステムによって異なり、OpenGLやGDI、DirectX、Quartz 2Dではこれはコンポーネント(英: component)または成分(せいぶん)と呼ばれ、「サンプル」がピクセル単位など一揃いの色情報を指し示す場合もある。 下図に24ビットRGBの、3つのサンプルからなるピクセルフォーマットを例示する。 この図例では、赤は9ビット、緑は7ビット、青は8ビットを占めており、ピクセルあたり合計24ビットの情報量となっている。このピクセルフォーマット例はあくまで解説用であり、実際は8:8:8の配分の方が一般的であるが、このように各サンプルのビット長は等分でない場合もある。例えば、16ビットRGBでは輝度に最も影響する緑の品質を優先して5:6:5の配分が使われたりもする。また、16ビットRGBで5:5:5に配分された場合の余分の1ビットなど、どのサンプルにも属しない未使用領域を伴う場合もある。 フレームバッファの内容といった、画像とディスプレイのチャンネル構成が一致する場面であれば、各サンプルは液晶ディスプレイなどのとも対応関係を持つであろう。 (ja) |
rdfs:label | サンプル (グラフィックス) (ja) Sample (graphics) (en) |
owl:sameAs | freebase:Sample (graphics) wikidata:Sample (graphics) dbpedia-ja:Sample (graphics) https://global.dbpedia.org/id/4uNZ2 |
prov:wasDerivedFrom | wikipedia-en:Sample_(graphics)?oldid=875542590&ns=0 |
foaf:depiction | wiki-commons:Special:FilePath/PixelSamples.png |
foaf:isPrimaryTopicOf | wikipedia-en:Sample_(graphics) |
is dbo:wikiPageDisambiguates of | dbr:Sample |
is dbo:wikiPageWikiLink of | dbr:BMP_file_format dbr:Forza_Horizon_3 dbr:Hexagonal_sampling dbr:Pixel dbr:Sample dbr:Sampling |
is foaf:primaryTopic of | wikipedia-en:Sample_(graphics) |