| 1 |
<?xml version="1.0" encoding="UTF-8"?> |
| 2 |
<ui version="4.0"> |
| 3 |
<class>CanupoTrainingDialog</class> |
| 4 |
<widget class="QDialog" name="CanupoTrainingDialog"> |
| 5 |
<property name="geometry"> |
| 6 |
<rect> |
| 7 |
<x>0</x> |
| 8 |
<y>0</y> |
| 9 |
<width>731</width> |
| 10 |
<height>530</height> |
| 11 |
</rect> |
| 12 |
</property> |
| 13 |
<property name="windowTitle"> |
| 14 |
<string>CANUPO Training</string> |
| 15 |
</property> |
| 16 |
<property name="windowIcon"> |
| 17 |
<iconset resource="../qCanupo.qrc"> |
| 18 |
<normaloff>:/CC/plugin/qCanupoPlugin/images/iconCreate.png</normaloff>:/CC/plugin/qCanupoPlugin/images/iconCreate.png</iconset> |
| 19 |
</property> |
| 20 |
<layout class="QVBoxLayout" name="verticalLayout"> |
| 21 |
<item> |
| 22 |
<widget class="QGroupBox" name="groupBox"> |
| 23 |
<property name="title"> |
| 24 |
<string>Data</string> |
| 25 |
</property> |
| 26 |
<layout class="QGridLayout" name="gridLayout"> |
| 27 |
<item row="0" column="0"> |
| 28 |
<widget class="QLabel" name="label_3"> |
| 29 |
<property name="text"> |
| 30 |
<string>Role</string> |
| 31 |
</property> |
| 32 |
</widget> |
| 33 |
</item> |
| 34 |
<item row="0" column="1"> |
| 35 |
<widget class="QLabel" name="label_4"> |
| 36 |
<property name="text"> |
| 37 |
<string>Cloud</string> |
| 38 |
</property> |
| 39 |
</widget> |
| 40 |
</item> |
| 41 |
<item row="0" column="2"> |
| 42 |
<widget class="QLabel" name="label_5"> |
| 43 |
<property name="text"> |
| 44 |
<string>Class label</string> |
| 45 |
</property> |
| 46 |
</widget> |
| 47 |
</item> |
| 48 |
<item row="2" column="0"> |
| 49 |
<widget class="QLabel" name="label"> |
| 50 |
<property name="text"> |
| 51 |
<string>class #1</string> |
| 52 |
</property> |
| 53 |
</widget> |
| 54 |
</item> |
| 55 |
<item row="2" column="2"> |
| 56 |
<widget class="QSpinBox" name="cloud1ClassSpinBox"> |
| 57 |
<property name="minimum"> |
| 58 |
<number>1</number> |
| 59 |
</property> |
| 60 |
</widget> |
| 61 |
</item> |
| 62 |
<item row="3" column="0"> |
| 63 |
<widget class="QLabel" name="label_2"> |
| 64 |
<property name="text"> |
| 65 |
<string>class #2</string> |
| 66 |
</property> |
| 67 |
</widget> |
| 68 |
</item> |
| 69 |
<item row="3" column="2"> |
| 70 |
<widget class="QSpinBox" name="cloud2ClassSpinBox"> |
| 71 |
<property name="minimum"> |
| 72 |
<number>1</number> |
| 73 |
</property> |
| 74 |
<property name="value"> |
| 75 |
<number>2</number> |
| 76 |
</property> |
| 77 |
</widget> |
| 78 |
</item> |
| 79 |
<item row="2" column="1"> |
| 80 |
<widget class="QComboBox" name="class1CloudComboBox"> |
| 81 |
<property name="sizePolicy"> |
| 82 |
<sizepolicy hsizetype="Expanding" vsizetype="Fixed"> |
| 83 |
<horstretch>0</horstretch> |
| 84 |
<verstretch>0</verstretch> |
| 85 |
</sizepolicy> |
| 86 |
</property> |
| 87 |
<property name="toolTip"> |
| 88 |
<string>Points belonging to class #1</string> |
| 89 |
</property> |
| 90 |
</widget> |
| 91 |
</item> |
| 92 |
<item row="3" column="1"> |
| 93 |
<widget class="QComboBox" name="class2CloudComboBox"> |
| 94 |
<property name="sizePolicy"> |
| 95 |
<sizepolicy hsizetype="Expanding" vsizetype="Fixed"> |
| 96 |
<horstretch>0</horstretch> |
| 97 |
<verstretch>0</verstretch> |
| 98 |
</sizepolicy> |
| 99 |
</property> |
| 100 |
<property name="toolTip"> |
| 101 |
<string>Points belonging to class #2</string> |
| 102 |
</property> |
| 103 |
</widget> |
| 104 |
</item> |
| 105 |
</layout> |
| 106 |
</widget> |
| 107 |
</item> |
| 108 |
<item> |
| 109 |
<widget class="QGroupBox" name="scalesGroupBox"> |
| 110 |
<property name="title"> |
| 111 |
<string>Scales</string> |
| 112 |
</property> |
| 113 |
<layout class="QFormLayout" name="formLayout_2"> |
| 114 |
<item row="0" column="0"> |
| 115 |
<widget class="QRadioButton" name="scalesRampRadioButton"> |
| 116 |
<property name="text"> |
| 117 |
<string>ramp</string> |
| 118 |
</property> |
| 119 |
<property name="checked"> |
| 120 |
<bool>true</bool> |
| 121 |
</property> |
| 122 |
</widget> |
| 123 |
</item> |
| 124 |
<item row="0" column="1"> |
| 125 |
<widget class="QFrame" name="scalesRampFrame"> |
| 126 |
<layout class="QHBoxLayout" name="horizontalLayout"> |
| 127 |
<property name="leftMargin"> |
| 128 |
<number>0</number> |
| 129 |
</property> |
| 130 |
<property name="topMargin"> |
| 131 |
<number>0</number> |
| 132 |
</property> |
| 133 |
<property name="rightMargin"> |
| 134 |
<number>0</number> |
| 135 |
</property> |
| 136 |
<property name="bottomMargin"> |
| 137 |
<number>0</number> |
| 138 |
</property> |
| 139 |
<item> |
| 140 |
<widget class="QDoubleSpinBox" name="minScaleDoubleSpinBox"> |
| 141 |
<property name="toolTip"> |
| 142 |
<string>Mininum scale</string> |
| 143 |
</property> |
| 144 |
<property name="prefix"> |
| 145 |
<string>Min = </string> |
| 146 |
</property> |
| 147 |
<property name="decimals"> |
| 148 |
<number>6</number> |
| 149 |
</property> |
| 150 |
<property name="minimum"> |
| 151 |
<double>0.000001000000000</double> |
| 152 |
</property> |
| 153 |
<property name="maximum"> |
| 154 |
<double>1000000000.000000000000000</double> |
| 155 |
</property> |
| 156 |
<property name="singleStep"> |
| 157 |
<double>0.100000000000000</double> |
| 158 |
</property> |
| 159 |
<property name="value"> |
| 160 |
<double>0.100000000000000</double> |
| 161 |
</property> |
| 162 |
</widget> |
| 163 |
</item> |
| 164 |
<item> |
| 165 |
<widget class="QDoubleSpinBox" name="stepScaleDoubleSpinBox"> |
| 166 |
<property name="toolTip"> |
| 167 |
<string>Step</string> |
| 168 |
</property> |
| 169 |
<property name="prefix"> |
| 170 |
<string>Step = </string> |
| 171 |
</property> |
| 172 |
<property name="decimals"> |
| 173 |
<number>6</number> |
| 174 |
</property> |
| 175 |
<property name="minimum"> |
| 176 |
<double>0.000001000000000</double> |
| 177 |
</property> |
| 178 |
<property name="maximum"> |
| 179 |
<double>1000000000.000000000000000</double> |
| 180 |
</property> |
| 181 |
<property name="singleStep"> |
| 182 |
<double>0.100000000000000</double> |
| 183 |
</property> |
| 184 |
<property name="value"> |
| 185 |
<double>0.100000000000000</double> |
| 186 |
</property> |
| 187 |
</widget> |
| 188 |
</item> |
| 189 |
<item> |
| 190 |
<widget class="QDoubleSpinBox" name="maxScaleDoubleSpinBox"> |
| 191 |
<property name="toolTip"> |
| 192 |
<string>Max scale</string> |
| 193 |
</property> |
| 194 |
<property name="prefix"> |
| 195 |
<string>Max = </string> |
| 196 |
</property> |
| 197 |
<property name="decimals"> |
| 198 |
<number>6</number> |
| 199 |
</property> |
| 200 |
<property name="minimum"> |
| 201 |
<double>0.000001000000000</double> |
| 202 |
</property> |
| 203 |
<property name="maximum"> |
| 204 |
<double>1000000000.000000000000000</double> |
| 205 |
</property> |
| 206 |
<property name="value"> |
| 207 |
<double>1.000000000000000</double> |
| 208 |
</property> |
| 209 |
</widget> |
| 210 |
</item> |
| 211 |
</layout> |
| 212 |
</widget> |
| 213 |
</item> |
| 214 |
<item row="1" column="0"> |
| 215 |
<widget class="QRadioButton" name="scalesListRadioButton"> |
| 216 |
<property name="toolTip"> |
| 217 |
<string>Inp</string> |
| 218 |
</property> |
| 219 |
<property name="text"> |
| 220 |
<string>list</string> |
| 221 |
</property> |
| 222 |
</widget> |
| 223 |
</item> |
| 224 |
<item row="1" column="1"> |
| 225 |
<widget class="QLineEdit" name="scalesListLineEdit"> |
| 226 |
<property name="enabled"> |
| 227 |
<bool>false</bool> |
| 228 |
</property> |
| 229 |
<property name="toolTip"> |
| 230 |
<string>Input scales as a list of values (separated by a space character)</string> |
| 231 |
</property> |
| 232 |
</widget> |
| 233 |
</item> |
| 234 |
</layout> |
| 235 |
</widget> |
| 236 |
</item> |
| 237 |
<item> |
| 238 |
<widget class="QGroupBox" name="groupBox_2"> |
| 239 |
<property name="title"> |
| 240 |
<string>Advanced</string> |
| 241 |
</property> |
| 242 |
<layout class="QFormLayout" name="formLayout"> |
| 243 |
<item row="1" column="0"> |
| 244 |
<widget class="QLabel" name="label_7"> |
| 245 |
<property name="text"> |
| 246 |
<string>Classification parameter</string> |
| 247 |
</property> |
| 248 |
</widget> |
| 249 |
</item> |
| 250 |
<item row="1" column="1"> |
| 251 |
<widget class="QComboBox" name="paramComboBox"> |
| 252 |
<item> |
| 253 |
<property name="text"> |
| 254 |
<string>Dimensionality</string> |
| 255 |
</property> |
| 256 |
</item> |
| 257 |
</widget> |
| 258 |
</item> |
| 259 |
<item row="2" column="0"> |
| 260 |
<widget class="QLabel" name="label_6"> |
| 261 |
<property name="text"> |
| 262 |
<string>Max core points</string> |
| 263 |
</property> |
| 264 |
</widget> |
| 265 |
</item> |
| 266 |
<item row="2" column="1"> |
| 267 |
<widget class="QSpinBox" name="maxPointsSpinBox"> |
| 268 |
<property name="toolTip"> |
| 269 |
<string>Maximum number of core points computed on each class</string> |
| 270 |
</property> |
| 271 |
<property name="minimum"> |
| 272 |
<number>100</number> |
| 273 |
</property> |
| 274 |
<property name="maximum"> |
| 275 |
<number>1000000000</number> |
| 276 |
</property> |
| 277 |
<property name="singleStep"> |
| 278 |
<number>1000</number> |
| 279 |
</property> |
| 280 |
<property name="value"> |
| 281 |
<number>10000</number> |
| 282 |
</property> |
| 283 |
</widget> |
| 284 |
</item> |
| 285 |
<item row="4" column="0"> |
| 286 |
<widget class="QCheckBox" name="evaluateParamsCheckBox"> |
| 287 |
<property name="toolTip"> |
| 288 |
<string>Check this to add more points to the 2D classifier behavior representation</string> |
| 289 |
</property> |
| 290 |
<property name="text"> |
| 291 |
<string>Show classifier behavior on </string> |
| 292 |
</property> |
| 293 |
</widget> |
| 294 |
</item> |
| 295 |
<item row="4" column="1"> |
| 296 |
<widget class="QComboBox" name="evaluationCloudComboBox"> |
| 297 |
<property name="enabled"> |
| 298 |
<bool>false</bool> |
| 299 |
</property> |
| 300 |
<property name="sizePolicy"> |
| 301 |
<sizepolicy hsizetype="Expanding" vsizetype="Fixed"> |
| 302 |
<horstretch>0</horstretch> |
| 303 |
<verstretch>0</verstretch> |
| 304 |
</sizepolicy> |
| 305 |
</property> |
| 306 |
<property name="toolTip"> |
| 307 |
<string>Additional points that will be added to the 2D classifier behavior representation</string> |
| 308 |
</property> |
| 309 |
</widget> |
| 310 |
</item> |
| 311 |
<item row="3" column="0"> |
| 312 |
<widget class="QCheckBox" name="useOriginalCloudCheckBox"> |
| 313 |
<property name="toolTip"> |
| 314 |
<string>If checked the original cloud will be used for descriptors computation (i.e. class clouds will be considered as core points of this cloud)</string> |
| 315 |
</property> |
| 316 |
<property name="text"> |
| 317 |
<string>Use original cloud for descriptors</string> |
| 318 |
</property> |
| 319 |
</widget> |
| 320 |
</item> |
| 321 |
<item row="3" column="1"> |
| 322 |
<widget class="QComboBox" name="originCloudComboBox"> |
| 323 |
<property name="enabled"> |
| 324 |
<bool>false</bool> |
| 325 |
</property> |
| 326 |
<property name="sizePolicy"> |
| 327 |
<sizepolicy hsizetype="Expanding" vsizetype="Fixed"> |
| 328 |
<horstretch>0</horstretch> |
| 329 |
<verstretch>0</verstretch> |
| 330 |
</sizepolicy> |
| 331 |
</property> |
| 332 |
<property name="toolTip"> |
| 333 |
<string>If set this cloud will be used for descriptors computation (i.e. class clouds will be considered as core points of this cloud)</string> |
| 334 |
</property> |
| 335 |
</widget> |
| 336 |
</item> |
| 337 |
<item row="5" column="1"> |
| 338 |
<widget class="QFrame" name="frame"> |
| 339 |
<property name="frameShape"> |
| 340 |
<enum>QFrame::StyledPanel</enum> |
| 341 |
</property> |
| 342 |
<property name="frameShadow"> |
| 343 |
<enum>QFrame::Raised</enum> |
| 344 |
</property> |
| 345 |
<layout class="QHBoxLayout" name="horizontalLayout_8"> |
| 346 |
<property name="leftMargin"> |
| 347 |
<number>0</number> |
| 348 |
</property> |
| 349 |
<property name="topMargin"> |
| 350 |
<number>0</number> |
| 351 |
</property> |
| 352 |
<property name="rightMargin"> |
| 353 |
<number>0</number> |
| 354 |
</property> |
| 355 |
<property name="bottomMargin"> |
| 356 |
<number>0</number> |
| 357 |
</property> |
| 358 |
<item> |
| 359 |
<widget class="QSpinBox" name="maxThreadCountSpinBox"> |
| 360 |
<property name="suffix"> |
| 361 |
<string notr="true"> / 8</string> |
| 362 |
</property> |
| 363 |
</widget> |
| 364 |
</item> |
| 365 |
<item> |
| 366 |
<spacer name="horizontalSpacer"> |
| 367 |
<property name="orientation"> |
| 368 |
<enum>Qt::Horizontal</enum> |
| 369 |
</property> |
| 370 |
<property name="sizeHint" stdset="0"> |
| 371 |
<size> |
| 372 |
<width>40</width> |
| 373 |
<height>20</height> |
| 374 |
</size> |
| 375 |
</property> |
| 376 |
</spacer> |
| 377 |
</item> |
| 378 |
</layout> |
| 379 |
</widget> |
| 380 |
</item> |
| 381 |
<item row="5" column="0"> |
| 382 |
<widget class="QLabel" name="label_8"> |
| 383 |
<property name="text"> |
| 384 |
<string>Max thread count</string> |
| 385 |
</property> |
| 386 |
</widget> |
| 387 |
</item> |
| 388 |
</layout> |
| 389 |
</widget> |
| 390 |
</item> |
| 391 |
<item> |
| 392 |
<spacer name="verticalSpacer"> |
| 393 |
<property name="orientation"> |
| 394 |
<enum>Qt::Vertical</enum> |
| 395 |
</property> |
| 396 |
<property name="sizeHint" stdset="0"> |
| 397 |
<size> |
| 398 |
<width>20</width> |
| 399 |
<height>1</height> |
| 400 |
</size> |
| 401 |
</property> |
| 402 |
</spacer> |
| 403 |
</item> |
| 404 |
<item> |
| 405 |
<widget class="QDialogButtonBox" name="buttonBox"> |
| 406 |
<property name="orientation"> |
| 407 |
<enum>Qt::Horizontal</enum> |
| 408 |
</property> |
| 409 |
<property name="standardButtons"> |
| 410 |
<set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set> |
| 411 |
</property> |
| 412 |
</widget> |
| 413 |
</item> |
| 414 |
</layout> |
| 415 |
</widget> |
| 416 |
<tabstops> |
| 417 |
<tabstop>class1CloudComboBox</tabstop> |
| 418 |
<tabstop>cloud1ClassSpinBox</tabstop> |
| 419 |
<tabstop>class2CloudComboBox</tabstop> |
| 420 |
<tabstop>cloud2ClassSpinBox</tabstop> |
| 421 |
<tabstop>scalesRampRadioButton</tabstop> |
| 422 |
<tabstop>minScaleDoubleSpinBox</tabstop> |
| 423 |
<tabstop>stepScaleDoubleSpinBox</tabstop> |
| 424 |
<tabstop>maxScaleDoubleSpinBox</tabstop> |
| 425 |
<tabstop>scalesListRadioButton</tabstop> |
| 426 |
<tabstop>scalesListLineEdit</tabstop> |
| 427 |
<tabstop>paramComboBox</tabstop> |
| 428 |
<tabstop>maxPointsSpinBox</tabstop> |
| 429 |
<tabstop>useOriginalCloudCheckBox</tabstop> |
| 430 |
<tabstop>originCloudComboBox</tabstop> |
| 431 |
<tabstop>evaluateParamsCheckBox</tabstop> |
| 432 |
<tabstop>evaluationCloudComboBox</tabstop> |
| 433 |
<tabstop>buttonBox</tabstop> |
| 434 |
</tabstops> |
| 435 |
<resources> |
| 436 |
<include location="../qCanupo.qrc"/> |
| 437 |
</resources> |
| 438 |
<connections> |
| 439 |
<connection> |
| 440 |
<sender>buttonBox</sender> |
| 441 |
<signal>accepted()</signal> |
| 442 |
<receiver>CanupoTrainingDialog</receiver> |
| 443 |
<slot>accept()</slot> |
| 444 |
<hints> |
| 445 |
<hint type="sourcelabel"> |
| 446 |
<x>248</x> |
| 447 |
<y>254</y> |
| 448 |
</hint> |
| 449 |
<hint type="destinationlabel"> |
| 450 |
<x>157</x> |
| 451 |
<y>274</y> |
| 452 |
</hint> |
| 453 |
</hints> |
| 454 |
</connection> |
| 455 |
<connection> |
| 456 |
<sender>buttonBox</sender> |
| 457 |
<signal>rejected()</signal> |
| 458 |
<receiver>CanupoTrainingDialog</receiver> |
| 459 |
<slot>reject()</slot> |
| 460 |
<hints> |
| 461 |
<hint type="sourcelabel"> |
| 462 |
<x>316</x> |
| 463 |
<y>260</y> |
| 464 |
</hint> |
| 465 |
<hint type="destinationlabel"> |
| 466 |
<x>286</x> |
| 467 |
<y>274</y> |
| 468 |
</hint> |
| 469 |
</hints> |
| 470 |
</connection> |
| 471 |
<connection> |
| 472 |
<sender>evaluateParamsCheckBox</sender> |
| 473 |
<signal>toggled(bool)</signal> |
| 474 |
<receiver>evaluationCloudComboBox</receiver> |
| 475 |
<slot>setEnabled(bool)</slot> |
| 476 |
<hints> |
| 477 |
<hint type="sourcelabel"> |
| 478 |
<x>109</x> |
| 479 |
<y>281</y> |
| 480 |
</hint> |
| 481 |
<hint type="destinationlabel"> |
| 482 |
<x>343</x> |
| 483 |
<y>282</y> |
| 484 |
</hint> |
| 485 |
</hints> |
| 486 |
</connection> |
| 487 |
<connection> |
| 488 |
<sender>scalesRampRadioButton</sender> |
| 489 |
<signal>toggled(bool)</signal> |
| 490 |
<receiver>scalesRampFrame</receiver> |
| 491 |
<slot>setEnabled(bool)</slot> |
| 492 |
<hints> |
| 493 |
<hint type="sourcelabel"> |
| 494 |
<x>42</x> |
| 495 |
<y>170</y> |
| 496 |
</hint> |
| 497 |
<hint type="destinationlabel"> |
| 498 |
<x>276</x> |
| 499 |
<y>171</y> |
| 500 |
</hint> |
| 501 |
</hints> |
| 502 |
</connection> |
| 503 |
<connection> |
| 504 |
<sender>scalesListRadioButton</sender> |
| 505 |
<signal>toggled(bool)</signal> |
| 506 |
<receiver>scalesListLineEdit</receiver> |
| 507 |
<slot>setEnabled(bool)</slot> |
| 508 |
<hints> |
| 509 |
<hint type="sourcelabel"> |
| 510 |
<x>36</x> |
| 511 |
<y>196</y> |
| 512 |
</hint> |
| 513 |
<hint type="destinationlabel"> |
| 514 |
<x>276</x> |
| 515 |
<y>197</y> |
| 516 |
</hint> |
| 517 |
</hints> |
| 518 |
</connection> |
| 519 |
<connection> |
| 520 |
<sender>useOriginalCloudCheckBox</sender> |
| 521 |
<signal>toggled(bool)</signal> |
| 522 |
<receiver>originCloudComboBox</receiver> |
| 523 |
<slot>setEnabled(bool)</slot> |
| 524 |
<hints> |
| 525 |
<hint type="sourcelabel"> |
| 526 |
<x>108</x> |
| 527 |
<y>229</y> |
| 528 |
</hint> |
| 529 |
<hint type="destinationlabel"> |
| 530 |
<x>342</x> |
| 531 |
<y>230</y> |
| 532 |
</hint> |
| 533 |
</hints> |
| 534 |
</connection> |
| 535 |
</connections> |
| 536 |
</ui> |