P4: port framed_render.py model to C++ (FramedDetector: twin-res -> level -> Pchip LUT -> warp -> res^rp gain), replace empirical Detector; tt_base 49.93%->61.45% (single-band); multi-band refs still 100% (model is single-band)
This commit is contained in:
+2
-2
@@ -21,8 +21,8 @@ SpectralProcessor::~SpectralProcessor() {
|
||||
delete[] tmp_buf_;
|
||||
}
|
||||
|
||||
void SpectralProcessor::setDetectorParams(float sharpness, float selectivity, float depth) {
|
||||
detector_.setParams(sharpness, selectivity, depth);
|
||||
void SpectralProcessor::setDetectorParams(float fc, float q) {
|
||||
detector_.setParams(fc, q);
|
||||
}
|
||||
|
||||
void SpectralProcessor::computeWindow() {
|
||||
|
||||
Reference in New Issue
Block a user