However, no matter which one I pick, the result is the same - looks like bi-linear (or even nearest, hard to tell by eye). I set transform_filter to a random integer (8) not in the enum, and there was no error. This leads me to the question - is this even implemented?
Hi,
The algorithm is different and you should see deviation by checking the byte values. So you run upscaling or downscaling in your use-case? And please share your release version:
My use-case is downscaling (2-4x) for feature extraction, where aliasing is detrimental to the algorithm’s performance. I don’t expect it to be flawless, but overlaying them on each other with difference blend mode in GIMP yields no differences at all.
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
NVBUFSURFACE
linked by target "nvbufsurf_example" in directory /home/nvidia/topic_211690
NVBUFSURFACETRANSFORM
linked by target "nvbufsurf_example" in directory /home/nvidia/topic_211690
-- Configuring incomplete, errors occurred!
in CMakeLists.txt, change the path after “HINTS” to where nvbufsurface.so and nvbufsurftransform.so are located. This should be in the deepstream installation folder.
cd <the project folder>
cmake .
make
./nvbufsurf_example
The program reads pattern.png from the current folder and saves scaled images (result0.png, result1.png, … ). You should be able to understand the program just by looking at main() in main.cpp.