|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
ÀÌÀü Ŭ·¡½º ´ÙÀ½ Ŭ·¡½º | ÇÁ·¹ÀÓÀ¸·Î ÇÁ·¹ÀÓ ¾øÀÌ | |||||||||
°³¿ä: NESTED | Çʵå | constructor | ¸Þ¼µå | »ó¼¼: Çʵå | »ý¼ºÀÚ | ¸Þ¼µå |
java.lang.Objectjava.awt.image.LookupTable
public abstract class LookupTable
ÀÌ Ãß»ó Ŭ·¡½º´Â ·è¾÷Å×ÀÌºí °´Ã¼¸¦ Á¤ÀÇÇÕ´Ï´Ù. ByteLookupTable¿Í ShortLookupTable´Â ¼ºê Ŭ·¡½ºÀ̸ç, ByteLookupTable´Â byte µ¥ÀÌÅ͸¦ Æ÷ÇÔÇØ, ShortLookupTable´Â short µ¥ÀÌÅ͸¦ Æ÷ÇÔÇÕ´Ï´Ù. ·è¾÷Å×À̺íÀº À̹ÌÁöÀÇ 1°³ ÀÌ»óÀÇ ¹êµå (¶Ç´Â ¼ººÐ)ÀÇ µ¥ÀÌÅÍ ¹è¿ (¿¹¸¦ µé¾î R, G, B °¢ ¹è¿)°ú ¹è¿¿¡ À妽º¸¦ ºÙÀ̱â Àü¿¡ ÀÔ·ÂÄ¡·ÎºÎÅÍ °¨»êµÇ´Â ¿ÀÇÁ¼Â(offset)¸¦ Æ÷ÇÔÇϰí ÀÖ½À´Ï´Ù. À̰Ϳ¡ ÀÇÇØ ³×ÀÌÆ¼ºê µ¥ÀÌÅÍ »çÀÌÁ´Ù ÀÛÀº ¹è¿ÀÌ Á¦°øµÇ¾î Á¦¾àµÈ ÀÔ·ÂÀ» ¹Þ¾ÆµéÀÏ ¼ö°¡ ÀÖ½À´Ï´Ù. ·è¾÷Å×ÀÌºí¿¡ ¹è¿ÀÌ 1°³ ¹Û¿¡ ¾ø´Â °æ¿ì, ±× ¹è¿ÀÌ ¸ðµç ¹êµå¿¡ Àû¿ëµË´Ï´Ù. ¸ðµç ¹è¿Àº °°Àº »çÀÌÁî°¡ ¾Æ´Ï¸é ¾ÈµË´Ï´Ù.
ByteLookupTable
,
ShortLookupTable
,
LookupOp
»ý¼ºÀÚ °³¿ä | |
---|---|
protected |
LookupTable (int offset,
int numComponents)
¼ººÐ¼ö¿Í ·è¾÷Å×À̺íÀÇ ¿ÀÇÁ¼Â(offset)·ÎºÎÅÍ, »õ·Î¿î LookupTable¸¦ ±¸ÃàÇÕ´Ï´Ù. |
¸Þ¼µå °³¿ä | |
---|---|
int |
getNumComponents ()
·è¾÷Å×À̺íÀÇ ¼ººÐ¼ö¸¦ ¸®ÅÏÇÕ´Ï´Ù. |
int |
getOffset ()
¿ÀÇÁ¼Â(offset)¸¦ ¸®ÅÏÇÕ´Ï´Ù. |
abstract int[] |
lookupPixel (int[] src,
int[] dest)
1°³ÀÇ Çȼ¿ÀÇ ¼ººÐÀÇ int ¹è¿À» ¸®ÅÏÇÕ´Ï´Ù. |
Ŭ·¡½º java.lang. Object ·ÎºÎÅÍ »ó¼ÓµÈ ¸Þ¼µå |
---|
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
»ý¼ºÀÚ »ó¼¼ |
---|
protected LookupTable(int offset, int numComponents)
offset
- ÀÌ LookupTable
µ¥ÀÌÅÍ ¹è¿¿¡ À妽º ºÙÀ̰í Çϱâ Àü¿¡ ÀÔ·ÂÄ¡·ÎºÎÅÍ °¨»êÇÏ´Â ¿ÀÇÁ¼Â(offset)numComponents
- ÀÌ LookupTable
µ¥ÀÌÅÍ ¹è¿¼ö
IllegalArgumentException
- offset
ÀÌ Á¦·Îº¸´Ù ÀÛÀº °æ¿ì, ¶Ç´Â numComponents
±æÀ̰¡ 1 º¸´Ù ªÀº °æ¿ì¸Þ¼µåÀÇ »ó¼¼ |
---|
public int getNumComponents()
LookupTable
¼ººÐ¼öpublic int getOffset()
LookupTable
¿ÀÇÁ¼Â(offset)public abstract int[] lookupPixel(int[] src, int[] dest)
int
¹è¿À» ¸®ÅÏÇÕ´Ï´Ù. dest
¹è¿¿¡´Â ·è ¾÷ÀÇ °á°ú°¡ Æ÷ÇÔµÇ¾î ¸®Åϵ˴ϴÙ
. dest°¡ null
ÀÎ °æ¿ì, »õ·Î¿î ¹è¿À» ÇÒ´çÇÒ ¼ö ÀÖ½À´Ï´Ù. Àü¼Û¿ø°ú Àü¼Û ¸ÕÀú °°Àº °ÍÀ» ÁöÁ¤ÇÒ ¼ö ÀÖ½À´Ï´Ù.
src
- 1 Çȼ¿ÀÇ ¼ººÐÀÇ Àü¼Û¿ø¹è¿dest
- ÀÌ LookupTable
·Î
º¯È¯µÇ´Â 1 Çȼ¿ÀÇ ¼ººÐÀÇ Àü¼Ûó ¹è¿
int
¹è¿
|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
ÀÌÀü Ŭ·¡½º ´ÙÀ½ Ŭ·¡½º | ÇÁ·¹ÀÓÀ¸·Î ÇÁ·¹ÀÓ ¾øÀÌ | |||||||||
°³¿ä: NESTED | Çʵå | constructor | ¸Þ¼µå | »ó¼¼: Çʵå | »ý¼ºÀÚ | ¸Þ¼µå |
Copyright 2004 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms . Documentation Redistribution Policy µµ ÂüÁ¶ÇϽʽÿÀ.