FPGA: Clean-up of spot_finder core + update README.MD
This commit is contained in:
@@ -159,7 +159,7 @@ bool Isigma_cpu(double val, double sum, double sum2, float threshold) {
|
||||
|
||||
bool Isigma_fpga(ap_int<16> val, ap_int<SUM_BITWIDTH> sum, ap_uint<SUM2_BITWIDTH> sum2, float threshold) {
|
||||
return check_threshold(val, sum, sum2, (FPGA_NBX *2 + 1) * (FPGA_NBX *2 + 1),
|
||||
fpga_strong_pixel_threshold(threshold), -1);
|
||||
threshold * threshold, -1);
|
||||
}
|
||||
|
||||
TEST_CASE("FPGA_spot_check_threshold","[FPGA][SpotFinder]") {
|
||||
|
||||
Reference in New Issue
Block a user