å¯è¦å éä¿¡ã®åºç¤ãã¼ã¿è§£æã§å¨å® ããã°ã©ãã³ã°
æå®åºç³»ãå¯è¦å
éä¿¡å®é¨ã®ã¤ã¡ã¼ã¸ã»ã³ãµéä¿¡ã¨ãã¦ã®ãã£ã¼ã«ããã¼ã¿ã®åºç¤è§£æãèªå®
ããã°ã©ãã³ã°ã§è¡ã£ãã
ï¼ãã©ã³ãã£ã¢ã¿ãããªãããªãã§ãä¼ç¤¾ã§ããæéã¨ããªãã£ãï¼
ã§ãå»å¹´ã®è§£æããã°ã©ã ããã¾ãåããªãã¦ããã¯ã¾ããã»ã»ã»
ã¾ããæ°ä¸æã®ç»åãããã¤ã¡ã¼ã¸ã»ã³ãµéä¿¡ã®ããã®åºç¤ç¹æ§ãã¼ã¿ãã¨ããã ãã©ã
ï¼ãªãããã®çµæã¯ãããã¦ãã©ãè¦å¯é¢ä¿ããæ¥é ï¼ãå
¬éããããããï¼
ããªãããé·æéã¯ã¾ã£ããã§ããã°ã®ãã¤ã³ãã¯ã
OpenCVã¨ãããIplæ§é ä½ã§ã座æ¨ãã¼ã¿ã¢ã¯ã»ã¹ãã
hogeImg->imageData[y * hogeImg->width + y]
ãªãã¦ãã£ã¦ãããã»ã»ã»
hogeImg->imageData[y * hogeImg->widthStep + y]
ãããªãã¨ã ããããï¼
imageStepãªããï¼ãã¤ããã¦ã³ããªã®æ ¼ç´ã®ã¡ã¢ãªã®ã¢ãã¬ã¹ãèæ
®ãããµã¤ãºã«ãªããã®ãå¿ãã¦ãã
ï¼ãã¤ããã¦ã³ããªãããªããµã¤ãºã ã£ããå¶ç¶ããããã©ãã§ããã¹ãã§ã¤ããããµã¤ãºã®ãã¤é£ããã¦ã»ã»
ãªãããéãã¨ã追ã£ããã¦ãã_|ï¿£|ã
ï¼å¹´ã¶ãã«OpenCVããã£ã¦ããã£ããå¿ãã¦ããããæ
ããªãã