|
649 | 649 | description: The Gmsh-generated mesh, as a string. |
650 | 650 | condition: { value.is_instance: [str] } |
651 | 651 |
|
| 652 | +- type: reference_image_path |
| 653 | + _validation: |
| 654 | + - path: [] |
| 655 | + doc: |
| 656 | + condition: { value.is_instance: [str, path] } |
| 657 | +- type: deformed_image_path |
| 658 | + _validation: |
| 659 | + - path: [] |
| 660 | + doc: |
| 661 | + condition: { value.is_instance: [str, path] } |
| 662 | +- type: subset_size |
| 663 | + _validation: |
| 664 | + - path: [] |
| 665 | + doc: "Size of the square subset window in pixels (default: 21)." |
| 666 | + condition: { value.is_instance: [int] } |
| 667 | +- type: subset_step |
| 668 | + _validation: |
| 669 | + - path: [] |
| 670 | + doc: "Step size between subset centers in pixels (default: 10)." |
| 671 | + condition: { value.is_instance: [int] } |
| 672 | +- type: correlation_criteria |
| 673 | + _validation: |
| 674 | + - path: [] |
| 675 | + doc: "Metric for matching subsets: `ZNSSD`, `NSSD` or `SSD` (default: `ZNSSD`)." |
| 676 | + condition: |
| 677 | + and: |
| 678 | + - value.is_instance: [str] |
| 679 | + - value.in: [ZNSSD, NSSD, SSD] |
| 680 | +- type: shape_function |
| 681 | + _validation: |
| 682 | + - path: [] |
| 683 | + doc: "Deformation model: e.g., `AFFINE`, `RIGID` (default: `AFFINE`)." |
| 684 | + condition: |
| 685 | + and: |
| 686 | + - value.is_instance: [str] |
| 687 | + - value.in: [AFFINE, RIGID] |
| 688 | +- type: interpolation_routine |
| 689 | + _validation: |
| 690 | + - path: [] |
| 691 | + doc: > |
| 692 | + Interpolation method used on image intensity. `BICUBIC` is currently the |
| 693 | + only supported option. |
| 694 | + condition: |
| 695 | + and: |
| 696 | + - value.is_instance: [str] |
| 697 | + - value.in: [BICUBIC] |
| 698 | +- type: max_iterations |
| 699 | + _validation: |
| 700 | + - path: [] |
| 701 | + doc: "Maximum number of iterations allowed for subset optimization (default: 40)." |
| 702 | + condition: { value.is_instance: [int] } |
| 703 | +- type: precision |
| 704 | + _validation: |
| 705 | + - path: [] |
| 706 | + doc: "Precision threshold for iterative optimization convergence (default: 0.001)." |
| 707 | + condition: { value.is_instance: [float] } |
| 708 | +- type: threshold |
| 709 | + _validation: |
| 710 | + - path: [] |
| 711 | + doc: "Minimum correlation/cost coefficient value to be considered a matching subset (default: 0.9)." |
| 712 | + condition: { value.is_instance: [float] } |
| 713 | +- type: bf_threshold |
| 714 | + _validation: |
| 715 | + - path: [] |
| 716 | + doc: > |
| 717 | + Correlation threshold used in rigid bruteforce check for a subset to be |
| 718 | + considered a good match(default: 0.6). |
| 719 | + condition: { value.is_instance: [float] } |
| 720 | +- type: max_displacement |
| 721 | + _validation: |
| 722 | + - path: [] |
| 723 | + doc: "Estimate for the Maximum displacement in any direction (in pixels) (default: 128)." |
| 724 | + condition: { value.is_instance: [int] } |
| 725 | +- type: method |
| 726 | + _validation: |
| 727 | + - path: [] |
| 728 | + doc: > |
| 729 | + Subset scanning method: `RG` for Reliability-Guided (best overall approach), |
| 730 | + `IMAGE_SCAN` for a standard scan across the image with no seeding (best |
| 731 | + performance with for subpixel displacements with high quality images), `FFT` |
| 732 | + for a multi-window FFT based approach (Good for large displacements) |
| 733 | + condition: |
| 734 | + and: |
| 735 | + - value.is_instance: [str] |
| 736 | + - value.in: [RG, IMAGE_SCAN, FFT] |
| 737 | +- type: fft_mad |
| 738 | + _validation: |
| 739 | + - path: [] |
| 740 | + doc: > |
| 741 | + The option to smooth FFT windowing data by identifying and replacing outliers |
| 742 | + using a robust statistical method. For each subset, the function collects |
| 743 | + values from its neighboring subsets (within a 5x5 window, i.e., radius = 2), |
| 744 | + computes the median and Median Absolute Deviation (MAD), and determines whether |
| 745 | + the value at the current subset is an outlier. If it is, the value is replaced |
| 746 | + with the median of its neighbors. (default: False) |
| 747 | + condition: { value.is_instance: [bool] } |
| 748 | +- type: fft_mad_scale |
| 749 | + _validation: |
| 750 | + - path: [] |
| 751 | + doc: > |
| 752 | + An outlier is defined as a value whose deviation from the local median exceeds |
| 753 | + fft_mad_scale times the MAD. This value choses the scaling factor that determines |
| 754 | + the threshold for detecting outliers relative to the MAD. |
| 755 | + condition: { value.is_instance: [bool] } |
| 756 | +- type: output_delimiter |
| 757 | + _validation: |
| 758 | + - path: [] |
| 759 | + doc: "Delimiter used in text output files (default: `,`)." |
| 760 | + condition: { value.is_instance: [str] } |
| 761 | +- type: output_below_threshold |
| 762 | + _validation: |
| 763 | + - path: [] |
| 764 | + doc: > |
| 765 | + If True, subset results with cost values that did not exceed the cost threshold |
| 766 | + will still be present in output (default: False). |
| 767 | + condition: { value.is_instance: [bool] } |
| 768 | +- type: dic_seed |
| 769 | + _validation: |
| 770 | + - path: [] |
| 771 | + doc: > |
| 772 | + Coordinates `[x, y]` of the seed point for Reliability-Guided (RG) scanning, |
| 773 | + default is centre of image. |
| 774 | + condition: |
| 775 | + and: |
| 776 | + - value.is_instance: [list] |
| 777 | + - value.length.equal_to: 2 |
| 778 | + - path: [{ "type": "list_value" }] |
| 779 | + condition: { value.is_instance: [int] } |
| 780 | +- type: crop_dists |
| 781 | + _validation: |
| 782 | + - path: [] |
| 783 | + doc: Number of px to exclude from each edge of image (`left`, `right`, `top`, `bottom`). |
| 784 | + condition: |
| 785 | + and: |
| 786 | + - value.is_instance: [dict] |
| 787 | + - key.in: ["left", "right", "top", "bottom"] |
| 788 | + - path: [{ "type": "map_value" }] |
| 789 | + condition: { value.is_instance: [int] } |
| 790 | + |
652 | 791 | # Types only used to transfer values between tasks |
653 | 792 | - type: damask_post_processing_result |
654 | 793 | - type: damask_viz_result |
|
0 commit comments