| 442 | } |
| 443 | |
| 444 | long ImageSearchService::SetBinaryPreprocess(long mode, long isolated_threshold, long min_component_area, |
| 445 | long bridge_gap) { |
| 446 | _binary_preprocess_mode = clamp_preprocess_mode(mode); |
| 447 | _binary_isolated_threshold = clamp_long(isolated_threshold, 0, 8); |
| 448 | _binary_min_component_area = min_component_area <= 0 ? 2 : clamp_long(min_component_area, 1, 4096); |
| 449 | _binary_bridge_gap = bridge_gap > 0 ? 1 : 0; |
| 450 | return 1; |
| 451 | } |
| 452 | |
| 453 | long ImageSearchService::GetBinaryPreprocess(long &mode, long &isolated_threshold, long &min_component_area, |
| 454 | long &bridge_gap) const { |
nothing calls this directly
no test coverage detected