|
7 | 7 | <param name="min_scale" type="float" value="1.0" min="0.1" label="Minimum scale" /> |
8 | 8 | <param name="max_scale" type="float" value="2.0" min="0.1" label="Maximum scale" /> |
9 | 9 | </xml> |
| 10 | + <token name="@INTENSITY_OFFSET_HELP@">The offset of the coordinates where the intensities of the detections are sampled. An offset of 0 corresponds to the location of the detection.</token> |
10 | 11 | </macros> |
11 | 12 | <creator> |
12 | 13 | <expand macro="creators/bmcv"/> |
|
48 | 49 | #if str($method.type) == "local_max": |
49 | 50 |
|
50 | 51 | "sigma": 1.0, |
51 | | - "intensity_offset": [-1, -1] |
| 52 | + "intensity_offset": [ |
| 53 | + $method.intensity_offset_y, |
| 54 | + $method.intensity_offset_x |
| 55 | + ] |
52 | 56 |
|
53 | 57 | #else: |
54 | 58 |
|
|
88 | 92 | <when value="DoH"> |
89 | 93 | <expand macro="param/multiscale"/> |
90 | 94 | </when> |
91 | | - <when value="local_max"/> |
| 95 | + <when value="local_max"> |
| 96 | + <param name="intensity_offset_x" type="integer" value="0" label="Intensity coordinate x-offset (in pixels)" help="@INTENSITY_OFFSET_HELP@"/> |
| 97 | + <param name="intensity_offset_y" type="integer" value="0" label="Intensity coordinate y-offset (in pixels)" help="@INTENSITY_OFFSET_HELP@"/> |
| 98 | + </when> |
92 | 99 | </conditional> |
93 | 100 | <param name="abs_threshold" type="float" value=".25" min="0" label="Minimum filter response (absolute)" help="Filter responses below this threshold will be ignored. Only filter responses above this thresholding will be considered as blobs. This threshold is ignored if the relative threshold (below) corresponds to a higher response." /> |
94 | 101 | <param name="rel_threshold" type="float" value="0" min="0" max="1" label="Minimum filter response (relative)" help="Same as the absolute threshold (above), but as a fraction of the overall maximum filter response of an image. This threshold is ignored if it corresponds to a response below the absolute threshold." /> |
|
148 | 155 | <param name="frame_end" value="0"/> |
149 | 156 | <conditional name="method"> |
150 | 157 | <param name="type" value="local_max"/> |
| 158 | + <param name="intensity_offset_x" value="-1"/> |
| 159 | + <param name="intensity_offset_y" value="-1"/> |
151 | 160 | </conditional> |
152 | 161 | <param name="abs_threshold" value="0"/> |
153 | 162 | <param name="rel_threshold" value="0.1"/> |
|
0 commit comments