Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 | 3x 3x 3x 23x 23x 3x 3x 3x 3x 3x 23x 23x 3x 3x 3x 3x 3x 23x 23x 3x 3x 3x 3x 3x 23x 23x 3x 3x 3x 3x 3x 23x 23x 3x 3x 3x 3x 23x 3x 23x 46x 46x 6x 3x 3x 3x 3x 3x 3x 3x 3x 23x 23x 3x 3x 3x 3x 23x 23x 3x 3x 3x 23x 1x 7x 1x 1x 7x 1x 1x 1x 1x 3x 3x 23x 23x 3x 3x 3x 3x 3x 3x 23x 23x 3x 3x 3x 3x 3x 3x 23x 23x 3x 3x 3x 3x 3x 23x 3x 3x 3x 3x 3x 3x 23x 23x 3x 3x 3x 3x 3x 23x 23x 3x 3x 3x 3x 23x 23x 3x 3x 3x 3x 3x 23x 23x 3x 3x 3x 3x 23x 3x 3x 3x 3x 23x 23x 3x 3x 3x 3x 23x 23x 3x 3x 3x 3x 23x 23x 3x 3x 3x 3x 23x 23x 3x 3x 3x 3x 23x 3x 23x 161x 161x 21x 3x 3x 3x 3x 3x 3x 3x 3x 23x 23x 3x 3x 3x 3x 23x 23x 3x 3x 3x 3x 23x 23x 3x 3x 3x 3x 23x 23x 3x 3x 3x 3x 23x 23x 3x 3x 3x 3x 23x 3x 23x 92x 92x 12x 3x 3x 3x 3x 3x 3x 3x 3x 3x 3x 23x 23x 3x 3x 3x 3x 23x 23x 3x 3x 3x 3x 23x 23x 3x 3x 3x 3x 23x 3x 3x 3x 23x 3x 23x 23x 3x 3x 3x 23x 23x 3x 3x 3x 3x 23x 3x 3x 3x 3x 23x 3x 3x 3x 3x 23x 3x 3x 3x 3x 23x 3x 3x 3x 3x 23x 3x 3x 3x 23x 1x 1x 1x 1x 1x 1x 1x 1x 1x 7x 1x 2x 2x 2x 2x 2x 2x 2x 1x 23x 1x 1x 7x 1x 23x 1x 1x 1x 1x 1x 1x 1x 1x 1x 7x 1x 23x 1x 1x 7x 1x 23x 1x 1x 1x 1x 1x 1x 7x 1x 2x 2x 2x 2x 1x 3x 3x 23x 3x 3x 3x 3x 3x 3x 3x 3x 3x 3x 23x | <div class="content__header">
<h2 class="heading-secondary">Point Cloud Filter Settings</h2>
</div>
<app-settings-group toggleId="settings-borders" elementTitle="Borders">
<!-- Left -->
<app-value-slider
class="settings__item"
elementTitle="Left"
elementId="settings-leftBorder"
[min]="0"
[max]="settings.filterSettingValues.borderValue.right"
[(data)]="settings.filterSettingValues.borderValue.left"
(onChange)="saveBorder()"
Unit="px"
>
Specify how many depth points on the left side are ignored. Maximum value
corresponds with the border filter value on the right side.
<em>Live Preview:</em> red dots are filtered points."
</app-value-slider>
<!-- Right -->
<app-value-slider
class="settings__item"
elementTitle="Right"
elementId="settings-rightBorder"
[min]="settings.filterSettingValues.borderValue.left"
[max]="settings.cameraConfigurationValues.width"
[(data)]="settings.filterSettingValues.borderValue.right"
(onChange)="saveBorder()"
unit="px"
>
Specify how many depth points on the right side are ignored. Minimum value
corresponds with the border filter value on the left side.
<em>Live Preview:</em> red dots are filtered points.
</app-value-slider>
<!-- Top -->
<app-value-slider
class="settings__item"
elementTitle="Top"
elementId="settings-topBorder"
[min]="0"
[max]="settings.filterSettingValues.borderValue.bottom"
[(data)]="settings.filterSettingValues.borderValue.top"
(onChange)="saveBorder()"
unit="px"
>
Specify how many depth points on the upper side are ignored. Maximum value
corresponds with the border filter value on the lower side.
<em>Live Preview:</em> red dots are filtered points.
</app-value-slider>
<!-- Bottom -->
<app-value-slider
class="settings__item"
elementTitle="Bottom"
elementId="settings-bottomBorder"
[min]="settings.filterSettingValues.borderValue.top"
[max]="settings.cameraConfigurationValues.height"
[(data)]="settings.filterSettingValues.borderValue.bottom"
(onChange)="saveBorder()"
unit="px"
>
Specify how many depth points on the lower side are ignored. Minimum value
corresponds with the border filter value on the upper side.
<em>Live Preview:</em> red dots are filtered points.
</app-value-slider>
<!-- min Distance From Sensor -->
<app-value-slider
class="settings__item"
elementTitle="Min Distance"
elementId="settings-sensorDistBorder"
[min]="0.0"
[max]="settings.filterSettingValues.distanceValue.default"
[step]="0.01"
[(data)]="settings.filterSettingValues.minDistanceFromSensor"
(onChange)="saveMinDistanceFromSensor()"
unit="m"
>
Filter out points that are too close to the sensor (usually "dead points" or
points outside the tracking frustum)
</app-value-slider>
<!-- Limitation Filter Type -->
<app-value-selection
elementTitle="Filter Type"
tlementId="settings-limitationFilterType-select"
class="settings__item"
>
<select
selection
[(ngModel)]="selectedLimitationFilterIdx"
class="custom-select"
data-enpassusermodified="yes"
name="settings-limitationFilterType-select"
id="settings-limitationFilterType-select"
(change)="saveLimitationFilterType()"
title="select filter type"
>
@for (filter of limitationFilters; track filter; let i = $index) {
<option [value]="i">
{{ filter.name }}
</option>
}
</select>
<p description>
Select one of the available limitation filters from the list.
<br />
<strong>LimitationFilter:</strong> filter based on the defined borders
<strong>AdvancedLimitationFilter:</strong> filter based on the depth mask
(additional to the borders)
</p>
</app-value-selection>
<!-- Threshold -->
<app-value-slider
class="settings__item"
elementTitle="Threshold"
elementId="settings-limitationThreshold"
[min]="0.0"
[max]="settings.filterSettingValues.distanceValue.min"
[step]="0.01"
[(data)]="settings.filterSettingValues.advancedLimitationFilterThreshold"
(onChange)="saveLimitationFilterType()"
unit="m"
>
Specify maximum distance from zero plane for the points to be filtered.
</app-value-slider>
<!-- Num Samples -->
<app-value-slider
class="settings__item"
elementTitle="Samples"
elementId="settings-limitationSamples"
[min]="0"
[max]="20"
[(data)]="settings.filterSettingValues.advancedLimitationFilterSamples"
(onChange)="saveLimitationFilterType()"
unit="Samples"
>
Specify how many samples from the depth image are captured for initializing
the filter.
</app-value-slider>
<!-- Set Points for Advanced LimitationFilter -->
@if (selectedLimitationFilterIdx === 1) {
<div class="settings__item">
<div class="settings__item--content-button">
<button aria-label="initialize Advanced Limitation Filter" type="button"
[ngClass]="
isTrackingActive && !isCurrentlyInitializingLimitationFilter
? 'button'
: 'button-disabled'
"
(click)="initializeAdvancedLimitationFilter()"
>Initialize Filter</button>
</div>
<div class="settings__item--content-button">
<button aria-label="reset Advanced Limitation Filter" type="button"
class="button"
[ngClass]="
isCurrentlyInitializingLimitationFilter ? 'button-disabled' : 'button'
"
(click)="resetAdvancedLimitationFilter()"
>Reset</button>
</div>
<div class="settings__item--info">
Creates a mask based on the current depth image: all points not in range
of the zero plane are filtered out.
</div>
</div>
}
</app-settings-group>
<app-settings-group toggleId="settings-distance" elementTitle="Distance">
<!-- Min -->
<app-value-slider
class="settings__item"
elementTitle="Minimal Depth"
elementId="settings-minDistance"
[min]="0.0"
[max]="settings.filterSettingValues.distanceValue.max"
[step]="0.01"
[(data)]="settings.filterSettingValues.distanceValue.min"
(onChange)="saveDistance()"
unit="m"
>
Specifies the minimal depth amplitude for both
<strong>Push and Pull</strong> relative to the <em>Zero Plane</em>. Depth
values smaller than this threshold are ignored for interaction processing.
<em>Live Preview:</em> red planes.
</app-value-slider>
<!-- Max -->
<app-value-slider
class="settings__item"
elementTitle="Maximum Depth"
elementId="settings-maxDistance"
[min]="settings.filterSettingValues.distanceValue.min"
[max]="1.0"
[step]="0.01"
[(data)]="settings.filterSettingValues.distanceValue.max"
(onChange)="saveDistance()"
unit="m"
>
Specifies the maximum depth amplitude for both
<strong>Push and Pull</strong> relative to the <em>Zero Plane</em>. Depth
values larger than this threshold are ignored for interaction processing.
<em>Live Preview:</em> blue planes.
</app-value-slider>
<!-- Zero Plane -->
<app-value-slider
class="settings__item"
elementTitle="Zero Plane"
elementId="settings-defaultDistance"
[min]="0.0"
[max]="3.0"
[step]="0.01"
[(data)]="settings.filterSettingValues.distanceValue.default"
(onChange)="saveDistance()"
unit="m"
>
Specifies distance of the elastic surface from the depth sensor. Used to
distinguish Push and Pull and to compute depth values for interactions.
<em>Live Preview:</em> grey plane.
</app-value-slider>
<!-- auto compute zero plane -->
<div class="settings__item">
<div class="settings__item--content-button-large">
<button aria-label="compute Zero Plane" type="button"
[ngClass]="isTrackingActive ? 'button' : 'button-disabled'"
(click)="computeZeroPlane()"
>Compute Zero Plane</button>
</div>
<div class="settings__item--info">
Automatically computes the distance of the zero plane based on the mean
distance of valid and filtered (points within specified borders) points.
<em>Tip: Disable Box blur for this action.</em>
</div>
</div>
<!-- Between Extrema -->
<app-value-slider
class="settings__item"
elementTitle="Between Extrema"
elementId="settings-inputDistance"
[min]="0"
[max]="250"
[(data)]="settings.filterSettingValues.distanceValue.inputDistance"
(onChange)="saveDistance()"
unit="px"
>
Threshold for <strong>lateral distance</strong> between two extremums in the
depth image (<em>squared pixel distance</em>). Used to filter redundant
interactions which may occur due to noise.
</app-value-slider>
</app-settings-group>
<app-settings-group toggleId="settings-confidence" elementTitle="Confidence">
<!-- Min -->
<app-value-slider
class="settings__item"
elementTitle="Minimal"
elementId="settings-minConfidence"
[min]="0"
[max]="settings.filterSettingValues.confidence.max"
[(data)]="settings.filterSettingValues.confidence.min"
(onChange)="saveConfidence()"
unit="Frames"
>
Confidence describes the duration how long a depth interaction has already
been tracked in number of frames. Minimum value is used to filter depth
image interferences / noise related interactions.
</app-value-slider>
<!-- Max -->
<app-value-slider
class="settings__item"
elementTitle="Maximum"
elementId="settings-maxConfidence"
[min]="settings.filterSettingValues.confidence.min"
[max]="30"
[(data)]="settings.filterSettingValues.confidence.max"
(onChange)="saveConfidence()"
unit="Frames"
>
Confidence describes the duration how long a depth interaction has already
been tracked in number of frames. Maximum value can be used to filter depth
image static elements in the depth image (e.g. at the borders).
<strong>Note:</strong> current implementation does not correctly use this
value.
</app-value-slider>
</app-settings-group>
<app-settings-group toggleId="settings-filter" elementTitle="Filter">
<!-- Threshold -->
<app-value-slider
class="settings__item"
elementTitle="Threshold"
elementId="settings-threshold"
[min]="0"
[max]="1000"
[(data)]="settings.filterSettingValues.threshold"
(onChange)="saveThreshold()"
unit="px"
>
Used to filter outliers from depth image. Specifies the maximum depth
difference between two adjacent points in the Pointcloud. Points which do
not satisfy this condition are filtered.
</app-value-slider>
<!-- Toggle Threshold Filter-->
<app-option-checkbox
class="settings__item"
elementTitle="Use Optimized Box Filter"
elementId="settings-toggleOptimizedBoxFilter"
[(data)]="settings.filterSettingValues.useOptimizedBoxFilter"
(onChange)="saveOptimizedBoxFilter()"
>
Specify whether standard or optimized box filter implementation should be
used.
</app-option-checkbox>
<!-- BoxFilterRadius -->
<app-value-slider
class="settings__item"
elementTitle="Box-Filter Radius"
elementId="settings-boxFilterRadius"
[min]="0"
[max]="100"
[(data)]="settings.filterSettingValues.boxFilterRadius"
(onChange)="saveFilterRadius()"
unit="px"
>
The depth image is filtered using <em>box-blur</em> algorithm with the given
radius for the filter. A very large radius results in a very smooth depth
image, but only very sharp edges are detected. Additionally, the
computational cost increases with radius size.
</app-value-slider>
<!-- BoxFilterNumPasses -->
<app-value-slider
class="settings__item"
elementTitle="Box-Filter Passes"
elementId="settings-boxFilterPasses"
[min]="1"
[max]="10"
[(data)]="settings.filterSettingValues.boxFilterNumPasses"
(onChange)="saveFilterPasses()"
unit="passes"
>
Number of iterations the <em>box-blur</em> is applied. A larger number of
iterations results in a better filter result, but with decreased
performance. Default Value: 3
</app-value-slider>
<!-- BoxFilterNumThreads -->
<app-value-slider
class="settings__item"
elementTitle="Box-Filter Threads"
elementId="settings-boxFilterThreads"
[min]="1"
[max]="32"
[(data)]="settings.filterSettingValues.boxFilterNumThreads"
(onChange)="saveFilterThreads()"
unit="threads"
>
Max Number of Threads to use for filtering. Best value is usually less or
equal the number of logical processors. When providing '0', the system
decides which is the best value, '1' means single core performance.
</app-value-slider>
<!-- Min Angle -->
<app-value-slider
class="settings__item"
elementTitle="Minimum Angle"
elementId="settings-minAngle"
[min]="0"
[max]="5.0"
[step]="0.1"
[(data)]="settings.filterSettingValues.minAngle"
(onChange)="saveMinAngle()"
unit="deg"
>
Minimum angle between neighboring vectors for extremum detection. used to
filter low frequency noise.
</app-value-slider>
</app-settings-group>
<app-settings-group toggleId="settings-smoothing" elementTitle="Smoothing">
<!-- Filter Type -->
<app-value-selection
elementTitle="Filter Type"
elementId="settings-filter-select"
class="settings__item"
>
<select
selection
[(ngModel)]="selectedFilterIdx"
class="custom-select"
data-enpassusermodified="yes"
name="settings-filter-select"
id="settings-filter-select"
(change)="saveFilterType()"
title="select smoothing filter"
>
@for (filter of filters; track filter; let i = $index) {
<option [value]="i">
{{ filter.name }}
</option>
}
</select>
<p description>
Select one of the available Filters from the list.
<br />
<strong>Moving Average:</strong> simple average over the last n frames
<strong>SavitzkyGolay:</strong> polynomial regression filter
</p>
</app-value-selection>
<!-- NumSamples -->
<app-value-slider
class="settings__item"
elementTitle="Smoothing"
elementId="settings-smoothing-numFrames"
[min]="0"
[max]="settings.filterSettingValues.smoothingValues.interactionHistorySize"
[(data)]="settings.filterSettingValues.smoothingValues.numSmoothingSamples"
(onChange)="saveSmoothingValues()"
unit="Frames"
>
The number of frames which are cached and used to smooth the interaction
samples. A high number of frames means a smoother behavior, but also
increases latency. 0 means that smoothing is disabled.
</app-value-slider>
<!-- Interaction History -->
<app-value-slider
class="settings__item"
elementTitle="History"
elementId="settings-interactionHistory"
[min]="0"
[max]="100"
[(data)]="
settings.filterSettingValues.smoothingValues.interactionHistorySize
"
(onChange)="saveSmoothingValues()"
unit="Frames"
>
The number of frames which are cached and used to assign ids for associated
touch points (based on positional change between frames).
</app-value-slider>
<!-- Empty Frames Threshold -->
<app-value-slider
class="settings__item"
elementTitle="Empty frames"
elementId="settings-maxEmptyFrames"
[min]="0"
[max]="settings.filterSettingValues.smoothingValues.interactionHistorySize"
[(data)]="
settings.filterSettingValues.smoothingValues.maxNumEmptyFramesBetween
"
(onChange)="saveSmoothingValues()"
unit="Frames"
>
The number of frames a touch id is reconstructed before being filtered from
interactions list. Prevents flickering if measurements are unstable, however
higher values add significant lag, so that touches remain active after the
user has released the surface.
</app-value-slider>
<!-- Merge Distance -->
<app-value-slider
class="settings__item"
elementTitle="Merge Distance"
elementId="settings-touchMergeDist"
[min]="0"
[max]="1000"
[(data)]="settings.filterSettingValues.smoothingValues.touchMergeDistance2D"
(onChange)="saveSmoothingValues()"
unit="px"
>
If the 2D distance between two values if smaller than this value, touch
points are merged together.
</app-value-slider>
<!-- Depth Scale Factor -->
<app-value-slider
class="settings__item"
elementTitle="Depth Scale"
elementId="settings-depthScale"
[min]="0"
[max]="1000"
[(data)]="settings.filterSettingValues.smoothingValues.depthScale"
(onChange)="saveSmoothingValues()"
unit="px"
>
For filters that treat all three dimensions in the depth vector equally, the
Z-value should be scaled accordingly to X and Y values. Therefore, this
scale value should equal approximately pixel dimension of the camera
resolution (short side or average of both)
</app-value-slider>
</app-settings-group>
<app-settings-group
toggleId="settings-extremum-classification"
elementTitle="Extremum Clasification"
>
<!-- Extremum Check Type -->
<app-value-selection
elementTitle="Check Type"
elementId="settings-extremumCheckType-select"
class="settings__item"
>
<select
selection
[(ngModel)]="selectedExtremumCheckIdx"
class="custom-select"
data-enpassusermodified="yes"
name="settings-extremumCheckType-select"
id="settings-extremumCheckType-select"
(change)="saveExtremumCheckType()"
title="select type of extremum check"
>
@for (check of checks; track check; let i = $index) {
<option [value]="i">
{{ check.name }}
</option>
}
</select>
<p description>
Select one of the available Check Method from the list.
<br />
<strong>Global:</strong> basically disable the check
<strong>FixedRadius:</strong> check a predefined number of positions in a
given radius <strong>StochasticStatic:</strong> check random positions
(determined on program start) <strong>StochasticDynamic:</strong> check
random positions (determined for each frame on each extremum)
</p>
</app-value-selection>
<!-- NumSamples -->
<app-value-slider
class="settings__item"
elementTitle="Num Samples"
elementId="settings-extremum-numSamples"
[min]="0"
[max]="20"
[(data)]="settings.filterSettingValues.extremumSettings.numSamples"
(onChange)="saveExtremumValues()"
unit="Samples"
>
The number of samples which are used to check the extremum type. 0 means
that smoothing is disabled.
</app-value-slider>
<!-- Check Radius -->
<app-value-slider
class="settings__item"
elementTitle="Check Radius"
elementId="settings-extremum-checkRadius"
[min]="0"
[max]="100"
[(data)]="settings.filterSettingValues.extremumSettings.checkRadius"
(onChange)="saveExtremumValues()"
unit="px"
>
The pixel radius in which points are sampled to check the type of the
extremum.
</app-value-slider>
<!-- FitPercentage -->
<app-value-slider
class="settings__item"
elementTitle="Fit Percentage"
elementId="settings-extremum-fitPercentage"
[min]="0.5"
[max]="1"
[step]="0.01"
[(data)]="settings.filterSettingValues.extremumSettings.fitPercentage"
(onChange)="saveExtremumValues()"
unit=""
>
The ratio to discriminate whether a distinct extremum type is detected.
</app-value-slider>
</app-settings-group>
<app-settings-group
toggleId="settings-point-cloud-settings"
elementTitle="Point Cloud Streaming"
>
<!-- Toggle Full resolution of point cloud -->
<app-option-checkbox
class="settings__item"
elementTitle="Full Resolution"
elementId="settings-point-cloud-full-resolution"
[(data)]="settings.pointCloudSettingValues.fullResolution"
(onChange)="savePointCloudValues()"
>
Specify if PointCloud should be streamed in full resolution (not
recommended).
<em>Changes are applied after resubscribing to hub.</em>
</app-option-checkbox>
<!-- Point Cloud Size -->
@if (!settings.pointCloudSettingValues.fullResolution) {
<app-value-slider
class="settings__item"
elementTitle="Size"
elementId="settings-point-cloud-size"
[min]="1000"
[max]="200000"
[(data)]="settings.pointCloudSettingValues.pointCloudSize"
(onChange)="savePointCloudValues()"
unit="Points"
>
The number of points to which the point cloud is reduced for broadcasting.
<em>Changes are applied after resubscribing to hub.</em>
</app-value-slider>
}
<!-- Update Interval -->
<app-value-slider
class="settings__item"
elementTitle="Interval"
elementId="settings-point-cloud-size"
[min]="30"
[max]="1000"
[(data)]="settings.pointCloudSettingValues.updateInterval"
(onChange)="savePointCloudValues()"
unit="ms"
>
The time interval between updates of the point cloud in ms.
<em>Changes are applied after resubscribing to hub.</em>
</app-value-slider>
</app-settings-group>
<app-settings-group
toggleId="settings-additional-settings"
elementTitle="Additional Settings"
>
<!-- Toggle LimitationFilter -->
<app-option-checkbox
class="settings__item"
elementTitle="Limitation Filter"
elementId="settings-limitationFilter"
[(data)]="settings.filterSettingValues.isLimitationFilterEnabled"
(onChange)="saveLimitationFilterType()"
>
Specify whether Limitation Filter should be applied to PointCloud.
</app-option-checkbox>
<!-- Toggle Value Filter-->
<app-option-checkbox
class="settings__item"
elementTitle="Value Filter"
elementId="settings-valueFilter"
[(data)]="settings.filterSettingValues.isValueFilterEnabled"
(onChange)="saveLimitationFilterType()"
>
Specify whether Value Filter should be applied to PointCloud.
</app-option-checkbox>
<!-- Toggle Threshold Filter-->
<app-option-checkbox
class="settings__item"
elementTitle="Threshold Filter"
elementId="settings-thresholdFilter"
[(data)]="settings.filterSettingValues.isThresholdFilterEnabled"
(onChange)="saveLimitationFilterType()"
>
Specify whether Threshold Filter should be applied to PointCloud.
</app-option-checkbox>
<!-- Toggle Box Filter-->
<app-option-checkbox
class="settings__item"
elementTitle="Box Filter"
elementId="settings-boxFilter"
[(data)]="settings.filterSettingValues.isBoxFilterEnabled"
(onChange)="saveLimitationFilterType()"
>
Specify whether Box Filter should be applied to PointCloud.
</app-option-checkbox>
<!-- Toggle Measure Performance -->
<app-option-checkbox
class="settings__item"
elementTitle="Measure Performance"
elementId="settings-measurePerformance"
[(data)]="settings.filterSettingValues.measurePerformance"
(onChange)="saveLimitationFilterType()"
>
Specify whether Performance data should be captured and broadcasted.
</app-option-checkbox>
@if (settings.filterSettingValues.measurePerformance) {
<div class="settings__item">
<table class="points__table margin-top-default grid-full-width">
<thead class="points__table--head">
<tr>
<th scope="col">Id</th>
<th scope="col">LimitationFilter</th>
<th scope="col">ValueFilter</th>
<th scope="col">ThresholdFilter</th>
<th scope="col">BoxFilter</th>
<th scope="col">UpdatePointCloud</th>
<th scope="col">Total</th>
</tr>
</thead>
<tbody class="points__table--body">
@for (perfEntry of performanceDataFilter?.data; track perfEntry) {
<tr>
<td>{{ perfEntry?.frameId }}</td>
<td>{{ perfEntry?.limitationFilter?.toFixed(2) ?? " - " }} ms</td>
<td>{{ perfEntry?.valueFilter?.toFixed(2) ?? " - " }} ms</td>
<td>{{ perfEntry?.thresholdFilter?.toFixed(2) ?? " - " }} ms</td>
<td>{{ perfEntry?.boxFilter?.toFixed(2) ?? " - " }} ms</td>
<td>{{ perfEntry?.updatePointCloud?.toFixed(2) ?? " - " }} ms</td>
<td>{{ perfEntry?.totalFilter?.toFixed(2) ?? " - " }} ms</td>
</tr>
}
</tbody>
</table>
</div>
} @if (settings.filterSettingValues.measurePerformance) {
<div class="settings__item">
<app-performance-visualization
[data]="performanceDataFilterVis"
[groups]="performanceDataFilterGroups"
[visId]="'filterVis'"
[refreshRate]="5"
[isProcessingGraph]="false"
[numSamples]="99"
>
</app-performance-visualization>
</div>
} @if (settings.filterSettingValues.measurePerformance) {
<div class="settings__item">
<table class="points__table margin-top-default grid-full-width">
<thead class="points__table--head">
<tr>
<th scope="col">Id</th>
<th scope="col">Preparation</th>
<th scope="col">Analyze</th>
<th scope="col">Convert Depth</th>
<th scope="col">Smoothing</th>
<th scope="col">Extremum Type</th>
<th scope="col">Total</th>
</tr>
</thead>
<tbody class="points__table--body">
@for (perfEntry of performanceDataProcess?.data; track perfEntry) {
<tr>
<td>{{ perfEntry?.frameId }}</td>
<td>
{{ perfEntry?.processingPreparation?.toFixed(2) ?? " - " }} ms
</td>
<td>{{ perfEntry?.processingUpdate?.toFixed(2) ?? " - " }} ms</td>
<td>{{ perfEntry?.processingConvert?.toFixed(2) ?? " - " }} ms</td>
<td>{{ perfEntry?.processingSmoothing?.toFixed(2) ?? " - " }} ms</td>
<td>{{ perfEntry?.processingExtremum?.toFixed(2) ?? " - " }} ms</td>
<td>{{ perfEntry?.totalProcessing?.toFixed(2) ?? " - " }} ms</td>
</tr>
}
</tbody>
</table>
</div>
} @if (settings.filterSettingValues.measurePerformance) {
<div class="settings__item">
<app-performance-visualization
[data]="performanceDataProcessingVis"
[groups]="performanceDataProcessingGroups"
[visId]="'processingVis'"
[refreshRate]="5"
[isProcessingGraph]="true"
[numSamples]="199"
>
</app-performance-visualization>
</div>
} @if (settings.filterSettingValues.measurePerformance) {
<div class="settings__item">
<table class="points__table margin-top-default grid-full-width">
<thead class="points__table--head">
<tr>
<th scope="col">Id</th>
<th scope="col">Start</th>
<th scope="col">End</th>
<th scope="col">Duration</th>
</tr>
</thead>
<tbody class="points__table--body">
@for (perfEntry of performanceDataCompleteTimeFrameVis; track perfEntry)
{
<tr>
<td>{{ perfEntry?.frameId }}</td>
<td>{{ perfEntry?.frameStart ?? " - " }}</td>
<td>{{ perfEntry?.frameEnd ?? " - " }}</td>
<td>{{ perfEntry?.totalFrameTime?.toFixed(2) ?? " - " }} ms</td>
</tr>
}
</tbody>
</table>
</div>
}
<!-- <div
class="settings__item"
*ngIf="settings.filterSettingValues.measurePerformance"
>
<app-performance-visualization
[data]="performanceDataCompleteTimeFrameVis"
[groups]="['totalFrameTime']"
[visId]="'totalFrameTimeVis'"
[refreshRate]="5"
[isProcessingGraph]="true"
[numSamples]="199"
>
</app-performance-visualization>
</div> -->
</app-settings-group>
<div class="settings__button-container">
<div class="settings__button-group">
<button aria-label="restore Settings" type="button"
[ngClass]="canRestore ? 'button' : 'button-disabled'"
(click)="restoreSettings()"
>Restore</button>
<button aria-label="reset Settings" type="button" class="button" (click)="resetSettings()">Reset</button>
<button aria-label="save Settings" type="button" class="button" (click)="saveSettings(settings)">Save</button>
<button aria-label="display Settings JSON" type="button" class="button" (click)="displaySettingsJSON(settings)">Display</button>
</div>
<div class="settings__button-group">
<!-- <div class="settings__item--content"> -->
<div class="settings__item--input">
<input
type="file"
(change)="uploadConfig($event)"
name="selectConfigFile"
id="selectConfigFile"
class="custom-file"
/>
<label for="selectConfigFile" class="settings__item--label"
>Load Config</label
>
</div>
<!-- </div> -->
</div>
</div>
@if (showSettingsJSON) {
<div class="settings__displayJSON">
<div class="settings__displayJSON--content">
<div class="settings__displayJSON--wrapper">
<textarea #json>
{{ settingsJSON }}
</textarea
>
</div>
</div>
<div class="settings__button-group">
<button aria-label="select Text" type="button" class="button" (click)="selectText()">Select</button>
<button aria-label="hide Settings JSON" type="button" class="button" (click)="hideSettingsJSON()">Close</button>
</div>
</div>
}
|