|
11 | 11 | * %% |
12 | 12 | * Redistribution and use in source and binary forms, with or without |
13 | 13 | * modification, are permitted provided that the following conditions are met: |
14 | | - * |
| 14 | + * |
15 | 15 | * 1. Redistributions of source code must retain the above copyright notice, |
16 | 16 | * this list of conditions and the following disclaimer. |
17 | 17 | * 2. Redistributions in binary form must reproduce the above copyright notice, |
18 | 18 | * this list of conditions and the following disclaimer in the documentation |
19 | 19 | * and/or other materials provided with the distribution. |
20 | | - * |
| 20 | + * |
21 | 21 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" |
22 | 22 | * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE |
23 | 23 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE |
@@ -78,10 +78,22 @@ public static enum ExtremaType |
78 | 78 | this( Views.extendMirrorSingle( input ), input, getcalib( input ), sigma1, sigma2, extremaType, minPeakValue, true ); |
79 | 79 | } |
80 | 80 |
|
| 81 | + public DogDetection( |
| 82 | + final RandomAccessibleInterval< T > input, |
| 83 | + final double[] calibration, |
| 84 | + final double sigma1, |
| 85 | + final double sigma2, |
| 86 | + final ExtremaType extremaType, |
| 87 | + final double minPeakValue, |
| 88 | + final boolean normalizeMinPeakValue ) |
| 89 | + { |
| 90 | + this( Views.extendMirrorSingle( input ), input, calibration, sigma1, sigma2, extremaType, minPeakValue, true ); |
| 91 | + } |
| 92 | + |
81 | 93 | /** |
82 | 94 | * Sets up a {@link DogDetection} with the specified parameters (does not do |
83 | 95 | * any computation yet). |
84 | | - * |
| 96 | + * |
85 | 97 | * @param input |
86 | 98 | * the input image. |
87 | 99 | * @param interval |
|
0 commit comments