ã®ç¹°ãè¿ãã§ãï¼ ç»ç´ ãç´æ¥æä½ãã¦ï¼å³å½¢ãæç»ããä¾ã sample03.cpp ã«ã¾ã¨ãã¾ããï¼ããã°ã£ã¦è§£èªãã¦ãã ããï¼ $ ./sample03 ã§ï¼å®è¡ã§ãã¾ãï¼ ç°¡åã«èª¬æããã¨ï¼320Ã240 ã®ç»åç¨ã®ã¡ã¢ãªã確ä¿ããã«ã¯ IplImage *src = cvCreateImage( cvSize(320,240), IPL_DEPTH_8U, 3); ã¨ãã¾ãï¼ "IPL_DEPTH_8U" 㨠"3" ãæå®ãã¦ããã®ã§ï¼åç»ç´ 㯠8*3 bits ã®æ å ±ãæ ã¤ãã¨ãã§ãã¾ãï¼åç»ç´ ã®è²æ å ±ãR,G,Bã®ï¼ã¤ã®æåã§è¡¨ç¾ããã¨ï¼RGB æåã¯ãããã 0ã255 ã®æ°å¤ã§è¡¨ããããã¨ã«ãªãã¾ãï¼ å®éã®ã¡ã¢ãªä¸ã«ã©ã®ããã«ç»ç´ ã®RGBã®æ å ±ãæ ¼ç´ãããããå³ã«ç¤ºãã¾ãï¼ ç»åç¨ã®ã¡ã¢ãªã®å é ã®ã¢ãã¬ã¹ã¯ï¼IplImageæ§é ä½ã®ã¡ã³ãå¤æ°ã® imageData
{{#tags}}- {{label}}
{{/tags}}