We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
hello I'm trying to compile your project on Ubuntu 18.04 and I have this compilation error:
Scanning dependencies of target guided_filter_image [ 93%] Building CXX object examples/CMakeFiles/guided_filter_image.dir/guidedFilter_image.cpp.o /shared/foss-18/GuidedFilter/examples/guidedFilter_image.cpp: In function ‘int main(int, char**)’: /shared/foss-18/GuidedFilter/examples/guidedFilter_image.cpp:114:70: error: invalid conversion from ‘const void*’ to ‘void*’ [-fpermissive] rgb.write (cl_algo::GF::SeparateRGB::Memory::D_IN, image.datastart); ~~~~~~^~~~~~~~~ In file included from /shared/foss-18/GuidedFilter/examples/guidedFilter_image.cpp:46:0: /shared/foss-18/GuidedFilter/include/GuidedFilter/algorithms.hpp:227:14: note: initializing argument 2 of ‘void cl_algo::GF::SeparateRGB<(cl_algo::GF::SeparateRGBConfig)1>::write(cl_algo::GF::SeparateRGB<(cl_algo::GF::SeparateRGBConfig)1>::Memory, void*, bool, const std::vectorcl::Event, cl::Event)’ void write (SeparateRGB::Memory mem = SeparateRGB::Memory::D_IN, void *ptr = nullptr, bool block = CL_FALSE, ^~~~~
I'm using opencv 3.2 any hints welcomed luc
The text was updated successfully, but these errors were encountered:
found it : // Copy data to device rgb.write (cl_algo::GF::SeparateRGB::Memory::D_IN, const_cast<uchar *>(image.datastart)); works sorry for the noise
Sorry, something went wrong.
Hi @lulu1315 , did you manage to get this compiled and running?
I am getting the following error:
Error when accessing kernel file: ios_base::failbit set: iostream stream error (d:\testing\guidedfilter-master\external\clutils\clutils-master\src\clutils.cpp:224)
Did you have this problem?
Thanks!
hello antithing sorry i didn't have this problem. as of guided filtering i'm using gmic (https://gmic.eu/) which has an implementation of it. see this discussion https://discuss.pixls.us/t/guided-filter-in-gmic/11579
No branches or pull requests
hello
I'm trying to compile your project on Ubuntu 18.04 and I have this compilation error:
Scanning dependencies of target guided_filter_image
[ 93%] Building CXX object examples/CMakeFiles/guided_filter_image.dir/guidedFilter_image.cpp.o
/shared/foss-18/GuidedFilter/examples/guidedFilter_image.cpp: In function ‘int main(int, char**)’:
/shared/foss-18/GuidedFilter/examples/guidedFilter_image.cpp:114:70: error: invalid conversion from ‘const void*’ to ‘void*’ [-fpermissive]
rgb.write (cl_algo::GF::SeparateRGB::Memory::D_IN, image.datastart);
~~~~~~^~~~~~~~~
In file included from /shared/foss-18/GuidedFilter/examples/guidedFilter_image.cpp:46:0:
/shared/foss-18/GuidedFilter/include/GuidedFilter/algorithms.hpp:227:14: note: initializing argument 2 of ‘void cl_algo::GF::SeparateRGB<(cl_algo::GF::SeparateRGBConfig)1>::write(cl_algo::GF::SeparateRGB<(cl_algo::GF::SeparateRGBConfig)1>::Memory, void*, bool, const std::vectorcl::Event, cl::Event)’
void write (SeparateRGB::Memory mem = SeparateRGB::Memory::D_IN, void *ptr = nullptr, bool block = CL_FALSE,
^~~~~
I'm using opencv 3.2
any hints welcomed
luc
The text was updated successfully, but these errors were encountered: