画像データから特徴量を計算する事は、様々な画像処理においても重要な機能(役割)と言えます。 特徴量を計算するには、対象物を識別する処理の必要性が生じます。 2009/02/24 対象物の識別における 第一ステップは、背景部分と、対象物の分離(二値化等の処理)です。 第二ステップは、個々の対象物を識別する符号付け(ラベリング処理)です。 第三ステップは、識別された対象物の特徴量(面積、重心、形状を数値化)を抽出する処理です。 以下に、取得した画像で、対象物の面積(画素数×スケールファクター)に相当する、画素数を計測した 例を示します。 | |
原画を計測用に2値化処理した画像
|
|
個々の対象物にラベル付けし、識別用に色分けした画像 |
|
各対象物に関する情報
1、obj[???]. は個々のオブジェクトを表し、??? の部分は、オブジェクトの番号
(画像からは、151個のオブジェクトが識別された。) 2、Label(ラベル)は、個々のオブジェクトを識別する為に割り振られたラベル番号 (特定オブジェクトを構成する画素には、同一ラベルが割り当てられる) 3、Pixel(ピクセル)は、ラベルにより識別されるオブジェクトを構成する画素数 (Pixel '画素数' は、対象物の面積に相当する特徴量。) |
|
obj[001].Label = 1, Pixel = 8783 obj[002].Label = 2, Pixel = 2606 obj[003].Label = 3, Pixel = 128 obj[004].Label = 4, Pixel = 4107 obj[005].Label = 5, Pixel = 230 obj[006].Label = 6, Pixel = 169 obj[007].Label = 7, Pixel = 696 obj[008].Label = 8, Pixel = 2457 obj[009].Label = 9, Pixel = 12873 obj[010].Label = 10, Pixel = 718 obj[011].Label = 15, Pixel = 5833 obj[012].Label = 18, Pixel = 172 obj[013].Label = 20, Pixel = 153 obj[014].Label = 23, Pixel = 306 obj[015].Label = 34, Pixel = 1710 obj[016].Label = 35, Pixel = 94 obj[017].Label = 44, Pixel = 526 obj[018].Label = 50, Pixel = 547 obj[019].Label = 62, Pixel = 1549 obj[020].Label = 67, Pixel = 920 obj[021].Label = 76, Pixel = 94 obj[022].Label = 82, Pixel = 1718 obj[023].Label = 83, Pixel = 1726 obj[024].Label = 88, Pixel = 1051 obj[025].Label = 90, Pixel = 3154 obj[026].Label = 91, Pixel = 519 obj[027].Label = 93, Pixel = 1082 obj[028].Label = 94, Pixel = 1246 obj[029].Label = 96, Pixel = 3915 obj[030].Label = 101, Pixel = 2041 obj[031].Label = 106, Pixel = 848 obj[032].Label = 108, Pixel = 1795 obj[033].Label = 113, Pixel = 562 obj[034].Label = 115, Pixel = 1477 obj[035].Label = 120, Pixel = 1181 obj[036].Label = 121, Pixel = 864 obj[037].Label = 126, Pixel = 354 obj[038].Label = 127, Pixel = 254 obj[039].Label = 129, Pixel = 4744 obj[040].Label = 130, Pixel = 87 obj[041].Label = 132, Pixel = 466 obj[042].Label = 133, Pixel = 388 obj[043].Label = 145, Pixel = 90 obj[044].Label = 152, Pixel = 419 obj[045].Label = 154, Pixel = 1155 obj[046].Label = 155, Pixel = 408 obj[047].Label = 159, Pixel = 764 obj[048].Label = 161, Pixel = 3379 obj[049].Label = 163, Pixel = 1412 obj[050].Label = 168, Pixel = 1731 obj[051].Label = 169, Pixel = 2817 obj[052].Label = 175, Pixel = 2125 obj[053].Label = 185, Pixel = 285 obj[054].Label = 190, Pixel = 350 obj[055].Label = 194, Pixel = 1447 obj[056].Label = 197, Pixel = 1278 obj[057].Label = 199, Pixel = 443 obj[058].Label = 203, Pixel = 144 obj[059].Label = 208, Pixel = 1023 obj[060].Label = 210, Pixel = 54 obj[061].Label = 213, Pixel = 356 obj[062].Label = 214, Pixel = 109 obj[063].Label = 215, Pixel = 215 obj[064].Label = 216, Pixel = 395 obj[065].Label = 217, Pixel = 1728 obj[066].Label = 219, Pixel = 370 obj[067].Label = 221, Pixel = 1550 obj[068].Label = 222, Pixel = 306 obj[069].Label = 224, Pixel = 1508 obj[070].Label = 229, Pixel = 820 obj[071].Label = 234, Pixel = 2063 obj[072].Label = 237, Pixel = 709 obj[073].Label = 241, Pixel = 1914 obj[074].Label = 242, Pixel = 69 obj[075].Label = 243, Pixel = 419 |
obj[076].Label = 244, Pixel = 284 obj[077].Label = 248, Pixel = 1588 obj[078].Label = 249, Pixel = 1218 obj[079].Label = 255, Pixel = 1243 obj[080].Label = 257, Pixel = 1235 obj[081].Label = 261, Pixel = 1833 obj[082].Label = 264, Pixel = 706 obj[083].Label = 267, Pixel = 289 obj[084].Label = 272, Pixel = 183 obj[085].Label = 274, Pixel = 161 obj[086].Label = 281, Pixel = 176 obj[087].Label = 285, Pixel = 1083 obj[088].Label = 288, Pixel = 69 obj[089].Label = 290, Pixel = 126 obj[090].Label = 292, Pixel = 310 obj[091].Label = 297, Pixel = 938 obj[092].Label = 298, Pixel = 304 obj[093].Label = 300, Pixel = 115 obj[094].Label = 302, Pixel = 324 obj[095].Label = 304, Pixel = 1694 obj[096].Label = 305, Pixel = 290 obj[097].Label = 309, Pixel = 370 obj[098].Label = 310, Pixel = 105 obj[099].Label = 311, Pixel = 424 obj[100].Label = 315, Pixel = 95 obj[101].Label = 317, Pixel = 169 obj[102].Label = 319, Pixel = 1384 obj[103].Label = 322, Pixel = 1626 obj[104].Label = 324, Pixel = 4787 obj[105].Label = 326, Pixel = 1255 obj[106].Label = 330, Pixel = 1130 obj[107].Label = 336, Pixel = 39 obj[108].Label = 340, Pixel = 2191 obj[109].Label = 343, Pixel = 1966 obj[110].Label = 348, Pixel = 2424 obj[111].Label = 358, Pixel = 1590 obj[112].Label = 373, Pixel = 714 obj[113].Label = 383, Pixel = 140 obj[114].Label = 384, Pixel = 269 obj[115].Label = 385, Pixel = 1585 obj[116].Label = 386, Pixel = 1941 obj[117].Label = 389, Pixel = 143 obj[118].Label = 391, Pixel = 634 obj[119].Label = 393, Pixel = 1554 obj[120].Label = 396, Pixel = 78 obj[121].Label = 397, Pixel = 1391 obj[122].Label = 399, Pixel = 854 obj[123].Label = 401, Pixel = 477 obj[124].Label = 402, Pixel = 1347 obj[125].Label = 411, Pixel = 1951 obj[126].Label = 419, Pixel = 374 obj[127].Label = 420, Pixel = 1235 obj[128].Label = 422, Pixel = 392 obj[129].Label = 423, Pixel = 296 obj[130].Label = 425, Pixel = 400 obj[131].Label = 426, Pixel = 606 obj[132].Label = 434, Pixel = 142 obj[133].Label = 435, Pixel = 310 obj[134].Label = 437, Pixel = 113 obj[135].Label = 438, Pixel = 644 obj[136].Label = 443, Pixel = 150 obj[137].Label = 445, Pixel = 88 obj[138].Label = 449, Pixel = 101 obj[139].Label = 450, Pixel = 959 obj[140].Label = 451, Pixel = 218 obj[141].Label = 455, Pixel = 707 obj[142].Label = 459, Pixel = 343 obj[143].Label = 460, Pixel = 748 obj[144].Label = 461, Pixel = 131 obj[145].Label = 463, Pixel = 167 obj[146].Label = 472, Pixel = 539 obj[147].Label = 474, Pixel = 302 obj[148].Label = 483, Pixel = 92 obj[149].Label = 484, Pixel = 76 obj[150].Label = 485, Pixel = 49 obj[151].Label = 486, Pixel = 79 |
go to TopPage | go to CategoryTop |