{"id":643,"date":"2012-05-15T12:28:21","date_gmt":"2012-05-15T03:28:21","guid":{"rendered":"http:\/\/nyatla.jp\/nyartoolkit\/wp\/?p=643"},"modified":"2012-05-15T12:32:27","modified_gmt":"2012-05-15T03:32:27","slug":"markersystem%e3%81%a7%e6%95%b7%e5%b1%85%e5%80%a4%e6%8e%a2%e7%b4%a2%e3%82%a2%e3%83%ab%e3%82%b4%e3%83%aa%e3%82%ba%e3%83%a0%e3%82%92%e5%a4%89%e3%81%88%e3%82%8b%e6%96%b9%e6%b3%95","status":"publish","type":"post","link":"https:\/\/nyatla.jp\/nyartoolkit\/wp\/?p=643","title":{"rendered":"MarkerSystem\u3067\u6577\u5c45\u5024\u63a2\u7d22\u30a2\u30eb\u30b4\u30ea\u30ba\u30e0\u3092\u5909\u3048\u308b\u65b9\u6cd5"},"content":{"rendered":"<p>\u6620\u50cf\u306b\u30de\u30fc\u30ab\u306f\u6620\u3063\u3066\u3044\u308b\u306e\u306b\u3001\u4f55\u6545\u304b\u8a8d\u8b58\u3057\u306a\u3044\u3053\u3068\u304c\u3042\u308a\u307e\u3059\u306d\u3002<br \/>\n\u305d\u3093\u306a\u3068\u304d\u306b\u3001\u6577\u5c45\u5024\u63a2\u7d22\u30a2\u30eb\u30b4\u30ea\u30ba\u30e0\u3092\u5909\u3048\u308b\u3068\u3001\u3046\u307e\u304f\u8a8d\u8b58\u3059\u308b\u5834\u5408\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>MarkerSystem\u3092\u4f7f\u3046\u5834\u5408\u306b\u306f\u3001\u6577\u5c45\u5024\u63a2\u7d22\u30a2\u30eb\u30b4\u30ea\u30ba\u30e0\u3092\u7c21\u5358\u306b\u5207\u308a\u66ff\u3048\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<h2><\/h2>\n<h2>\u5909\u66f4\u65b9\u6cd5<\/h2>\n<p>\u30a2\u30eb\u30b4\u30ea\u30ba\u30e0\u306e\u5909\u66f4\u306b\u306f\uff12\u3064\u306e\u5b9f\u88c5\u304c\u5fc5\u8981\u3067\u3059\u3002<\/p>\n<ol>\n<li>\u6577\u5c45\u5024\u6c7a\u5b9a\u30a2\u30eb\u30b4\u30ea\u30ba\u30e0\u3092\u5c0e\u5165\u3057\u305fMarkerSystemConfig\u3092\u5b9a\u7fa9\u3059\u308b\u3002<\/li>\n<li>\u65b0\u3057\u304f\u5b9a\u7fa9\u3057\u305fMarkerSystemConfig\u3092MarkerSystem\u3078\u30bb\u30c3\u30c8\u3059\u308b\u3002<\/li>\n<\/ol>\n<p>\u6b21\u306e\u4f8b\u3067\u306f\u3001\u6577\u5c45\u5024\u63a2\u7d22\u30a2\u30eb\u30b4\u30ea\u30ba\u30e0\u3092\u5224\u5225\u6cd5\u306b\u5207\u308a\u66ff\u3048\u3066\u3044\u307e\u3059\u3002<\/p>\n<h3>MyMarkerSystemConfig\u306e\u5b9a\u7fa9<\/h3>\n<pre class=\"brush: java; title: ; notranslate\" title=\"\">\r\n  class MyNyARMarkerSystemConfig extends NyARMarkerSystemConfig\r\n  {\r\n    public MyNyARMarkerSystemConfig(InputStream i_ar_param_stream,int i_width,int i_height) throws NyARException\r\n    {\r\n      super(i_ar_param_stream,i_width,i_height);\r\n    }\r\n    public MyNyARMarkerSystemConfig(int i_width,int i_height) throws NyARException\r\n    {\r\n      super(i_width,i_height);\r\n    }\r\n    public INyARHistogramAnalyzer_Threshold createAutoThresholdArgorism()\r\n    {\r\n      return new NyARHistogramAnalyzer_DiscriminantThreshold();\r\n    }\r\n\r\n  }\r\n<\/pre>\n<h3>MarkerSystem\u3078\u30bb\u30c3\u30c8<\/h3>\n<pre class=\"brush: java; title: ; notranslate\" title=\"\">\r\n  NyARMarkerSystemConfig config = new MyNyARMarkerSystemConfig(320,240);\r\n  NyARMarkerSystem s=new NyARMarkerSystem(config);\r\n<\/pre>\n<h2><\/h2>\n<h2>\u5b9f\u88c5\u6e08\u306e\u30a2\u30eb\u30b4\u30ea\u30ba\u30e0<\/h2>\n<p>NyARToolKit\u306b\u306f\uff13\u7a2e\u985e\u306e\u6577\u5c45\u5024\u63a2\u7d22\u30a2\u30eb\u30b4\u30ea\u30ba\u30e0\u304c\u5b9f\u88c5\u6e08\u307f\u3067\u3059\u3002\u3053\u308c\u3089\u306f\u3001\u30d2\u30b9\u30c8\u30b0\u30e9\u30e0\u304b\u3089\u6577\u5c45\u5024\u3092\u63a2\u7d22\u3057\u307e\u3059\u3002<\/p>\n<ol>\n<li>\u5224\u5225\u6cd5\u3000NyARHistogramAnalyzer_DiscriminantThreshold<\/li>\n<li>Kittler\u6cd5\u3000NyARHistogramAnalyzer_KittlerThreshold<\/li>\n<li>Sp\u30bf\u30a4\u30eb\u6cd5\u3000NyARHistogramAnalyzer_SlidePTile<\/li>\n<\/ol>\n<p>\u5224\u5225\u6cd5\u3001Kitter\u6cd5\u306f\u3001\u826f\u304f\u77e5\u3089\u308c\u305f\u3082\u306e\u3067\u3059\u3002Sp\u30bf\u30a4\u30eb\u6cd5\u306f\u3001NyARToolKit\u56fa\u6709\u306e\u3082\u306e\u3067\u3059\u3002<br \/>\nNyARToolkit\u306f\u3001\u6a19\u6e96\u3067\u306fSp\u30bf\u30a4\u30eb\u6cd5\u3092\u4f7f\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n<h2><\/h2>\n<h2>Sp\u30bf\u30a4\u30eb\u6cd5<\/h2>\n<p>Sp\u30bf\u30a4\u30eb\u6cd5\u306f\u3001\u767d\u9ed2\u30de\u30fc\u30ab\u306e\u691c\u51fa\u306e\u70ba\u306b\u8003\u6848\u3057\u305f\u6577\u5c45\u5024\u691c\u51fa\u65b9\u5f0f\u3067\u3059\u3002\u660e\u70b9\u3001\u6697\u70b9\u306e\u4e21\u5074\u304b\u3089\u3001\u4e00\u5b9a\u5272\u5408\u306e\u753b\u7d20\u3092\u9664\u5916\u3057\u3066\u3001\u305d\u306e\u4e2d\u5fc3\u70b9\u3092\u6577\u5c45\u5024\u3068\u3057\u307e\u3059\u3002<\/p>\n<p><a href=\"http:\/\/nyatla.jp\/nyartoolkit\/wp\/wp-content\/uploads\/0d40a5e4a645fc6b96e767d64ac0878e12.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-644\" title=\"\u7121\u984c\" src=\"http:\/\/nyatla.jp\/nyartoolkit\/wp\/wp-content\/uploads\/0d40a5e4a645fc6b96e767d64ac0878e12-300x89.png\" alt=\"\" width=\"300\" height=\"89\" srcset=\"https:\/\/nyatla.jp\/nyartoolkit\/wp\/wp-content\/uploads\/0d40a5e4a645fc6b96e767d64ac0878e12-300x89.png 300w, https:\/\/nyatla.jp\/nyartoolkit\/wp\/wp-content\/uploads\/0d40a5e4a645fc6b96e767d64ac0878e12.png 416w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><br \/>\n\u3053\u306e\u65b9\u5f0f\u306f\u3001\u5165\u529b\u753b\u50cf\u306e\u6697\/\u660e\u70b9\u4ed8\u8fd1\u306b\u30de\u30fc\u30ab\u306e\u69cb\u6210\u8981\u7d20\uff08\u767d\/\u9ed2\uff09\u304c\u96c6\u4e2d\u3057\u3066\u3044\u308b\u5834\u5408\u306b\u3001\u826f\u597d\u306a\u7d50\u679c\u304c\u5f97\u3089\u308c\u307e\u3059\u3002\u305d\u3046\u3067\u306a\u3044\u5834\u5408\u3001\u3042\u307e\u308a\u826f\u3044\u7d50\u679c\u304c\u5f97\u3089\u308c\u307e\u305b\u3093\u3002<br \/>\n\u4f8b\u3048\u3070\u3001\u81ea\u7136\u753b\u306e\u4e2d\u306b\u3042\u308b\u6d45\u3044\u8272\u306e\u30de\u30fc\u30ab\u304c\u8a8d\u8b58\u3067\u304d\u306a\u3044\u3088\u3046\u306a\u3053\u3068\u304c\u8d77\u3053\u308a\u307e\u3059\u3002<\/p>\n<h2><\/h2>\n<h2>\u72ec\u81ea\u306e\u6577\u5c45\u5024\u63a2\u7d22\u30a2\u30eb\u30b4\u30ea\u30ba\u30e0\u306e\u5b9f\u88c5\u65b9\u6cd5<\/h2>\n<p>INyARHistogramAnalyzer_Threshold\u30a4\u30f3\u30bf\u30d5\u30a7\u30a4\u30b9\u3092\u5b9f\u88c5\u3057\u305f\u30af\u30e9\u30b9\u3092\u5b9a\u7fa9\u3057\u3001MarkerSystemConfig\u306b\u30bb\u30c3\u30c8\u3059\u308b\u3053\u3068\u3067\u3001\u30d2\u30b9\u30c8\u30b0\u30e9\u30e0\u30d9\u30fc\u30b9\u306e\u6577\u5c45\u5024\u63a2\u7d22\u30a2\u30eb\u30b4\u30ea\u30ba\u30e0\u3092\u4f7f\u3046\u3053\u3068\u304c\u51fa\u6765\u307e\u3059\u3002<br \/>\n\u4f8b\u3048\u3070\u3001\u6b21\u306e\u30b3\u30fc\u30c9\u306f\u56fa\u5b9a\u6577\u5c45\u5024\u3092\u8fd4\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"brush: java; title: ; notranslate\" title=\"\">\r\npublic class MyHistogramAnalyzer implements INyARHistogramAnalyzer_Threshold\r\n{\r\n  public int getThreshold(NyARHistogram i_histogram)\r\n  {\r\n     return 128;\r\n  }\r\n}\r\n<\/pre>\n<p>\u6577\u5c45\u5024\u63a2\u7d22\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306f\u3001MarkerSystem\u8d77\u52d5\u6642\u306b\uff11\u5ea6\u3060\u3051\u4f5c\u3089\u308c\u307e\u3059\u3002\u691c\u51fa\u3057\u3066\u305d\u306e\u5024\u3092\u8fd4\u3059\u4ee5\u5916\u306b\u3001\u30d5\u30ec\u30fc\u30e0\u9593\u3067\u6577\u5c45\u5024\u306e\u5e73\u5747\u3092\u53d6\u308b\u51e6\u7406\u7b49\u3092\u8ffd\u52a0\u3059\u308b\u3053\u3068\u3082\u51fa\u6765\u308b\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<p><iframe loading=\"lazy\" style=\"width: 120px; height: 240px;\" src=\"http:\/\/rcm-jp.amazon.co.jp\/e\/cm?lt1=_blank&amp;bc1=000000&amp;IS2=1&amp;bg1=FFFFFF&amp;fc1=000000&amp;lc1=0000FF&amp;t=nyatla-22&amp;o=9&amp;p=8&amp;l=as4&amp;m=amazon&amp;f=ifr&amp;ref=ss_til&amp;asins=4797344377\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\" width=\"320\" height=\"240\"><\/iframe><iframe loading=\"lazy\" style=\"width: 120px; height: 240px;\" src=\"http:\/\/rcm-jp.amazon.co.jp\/e\/cm?lt1=_blank&amp;bc1=000000&amp;IS2=1&amp;bg1=FFFFFF&amp;fc1=000000&amp;lc1=0000FF&amp;t=nyatla-22&amp;o=9&amp;p=8&amp;l=as4&amp;m=amazon&amp;f=ifr&amp;ref=ss_til&amp;asins=4274211746\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\" width=\"320\" height=\"240\"><\/iframe><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6620\u50cf\u306b\u30de\u30fc\u30ab\u306f\u6620\u3063\u3066\u3044\u308b\u306e\u306b\u3001\u4f55\u6545\u304b\u8a8d\u8b58\u3057\u306a\u3044\u3053\u3068\u304c\u3042\u308a\u307e\u3059\u306d\u3002 \u305d\u3093\u306a\u3068\u304d\u306b\u3001\u6577\u5c45\u5024\u63a2\u7d22\u30a2\u30eb\u30b4\u30ea\u30ba\u30e0\u3092\u5909\u3048\u308b\u3068\u3001\u3046\u307e\u304f\u8a8d\u8b58\u3059\u308b\u5834\u5408\u304c\u3042\u308a\u307e\u3059\u3002 MarkerSystem\u3092\u4f7f\u3046\u5834\u5408\u306b\u306f\u3001\u6577\u5c45\u5024\u63a2\u7d22\u30a2\u30eb\u30b4\u30ea\u30ba\u30e0\u3092\u7c21\u5358\u306b\u5207\u308a [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[22,4,3,17,13],"tags":[],"_links":{"self":[{"href":"https:\/\/nyatla.jp\/nyartoolkit\/wp\/index.php?rest_route=\/wp\/v2\/posts\/643"}],"collection":[{"href":"https:\/\/nyatla.jp\/nyartoolkit\/wp\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/nyatla.jp\/nyartoolkit\/wp\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/nyatla.jp\/nyartoolkit\/wp\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/nyatla.jp\/nyartoolkit\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=643"}],"version-history":[{"count":5,"href":"https:\/\/nyatla.jp\/nyartoolkit\/wp\/index.php?rest_route=\/wp\/v2\/posts\/643\/revisions"}],"predecessor-version":[{"id":649,"href":"https:\/\/nyatla.jp\/nyartoolkit\/wp\/index.php?rest_route=\/wp\/v2\/posts\/643\/revisions\/649"}],"wp:attachment":[{"href":"https:\/\/nyatla.jp\/nyartoolkit\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=643"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/nyatla.jp\/nyartoolkit\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=643"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/nyatla.jp\/nyartoolkit\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=643"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}