Skip to content

Commit 5d273c5

Browse files
griwodzCarsten Griwodz
andauthored
[sift] removed support for a narrow Gaussian filter width computation
* Soft failing if someone uses the old parameter --gauss-mode=opencv --------- Co-authored-by: Carsten Griwodz <[email protected]>
1 parent e8478e6 commit 5d273c5

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

CHANGES.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
2020
### Removed
2121

2222
- Removed option to create top level of every octave from input image [PR](https://github.com/alicevision/popsift/pull/178)
23-
- Removed option to compute very narrow Gaussian filters called opencv [PR]
23+
- Removed option to compute very narrow Gaussian filters called opencv [PR](https://github.com/alicevision/popsift/pull/179)
2424

2525
## [0.10.0] - 2025-10-14
2626

src/popsift/sift_conf.cu

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,10 @@ void Config::setGaussMode( const std::string& m )
115115
setGaussMode( Config::Fixed9 );
116116
else if( m == "fixed15" )
117117
setGaussMode( Config::Fixed15 );
118-
else
118+
else if( m == "opencv" ) {
119+
POP_WARN( string("Gauss mode 'opencv' has been deprecated. Using mode vlfeat instead.\n") );
120+
setGaussMode( Config::VLFeat_Compute );
121+
} else
119122
POP_FATAL( string("Bad Gauss mode.\n") + getGaussModeUsage() );
120123
}
121124

0 commit comments

Comments
 (0)