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:
2026-08-20 10:31:43 +03:00
parent 45dfe2b8c2
commit 0cdc57972c
6 changed files with 190 additions and 9 deletions
+2 -2
View File
@@ -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() {