refactor acf-pyramid test app: add load_as_float to handle grayscale, bgr, and bgra input types.
acf-pipeline updates: add “—simple” and “—cpu” command line options
“—simple” : enable zero-latency processing
“—cpu” : enabels cpu pyramid construction (mostly for comparison and testing)
some refactoring to break longer lines
chnsPyramid.cpp updates
replicate matlab grayscale->rgb handling
fix is indices — the base-one matlabe indexing had to be replaced with i-1 for the base-zero c++ adaptation
add CV_Assert(!std::isnan(f0[j])) and for f1
remove comment, reformat member function definition
drop redundant conditional
NOTE: Here we replicate the original Matlab behavior of repeating the grayscale in 3 channels and then converting that to grayscale later treating it as a color image, even though this will produce a different single channel image in rgbConvert()
I=I(:,:,[1 1 1]); warning('Converting image to color');
chnsCompute.cpp
fix rgbConvert() call — third argument should indicate single precision
bump patch version to v0.1.11
refactor acf-pyramid test app: add load_as_float to handle grayscale, bgr, and bgra input types.
acf-pipeline updates: add “—simple” and “—cpu” command line options
chnsPyramid.cpp updates
is
indices — the base-one matlabe indexing had to be replaced with i-1 for the base-zero c++ adaptationCV_Assert(!std::isnan(f0[j]))
and forf1
rgbConvert()
call — third argument should indicate single precision