Hello,
I get the following error:
error: feval: function 'fftconv2' not found
octave-image provide fftconv2.m
can I use it? If yes, How?
Thanks
=========================================================================== Patrick DUPRÉ | | email: pdupre@gmx.com Laboratoire interdisciplinaire Carnot de Bourgogne 9 Avenue Alain Savary, BP 47870, 21078 DIJON Cedex FRANCE Tel: +33 (0)380395988 | | Room# D114A ===========================================================================
On Mon, 17 Jan 2022 22:58:11 +0100 Patrick Dupre pdupre@gmx.com wrote:
Hello,
I get the following error:
error: feval: function 'fftconv2' not found
octave-image provide fftconv2.m
can I use it? If yes, How?
Not enough information. What program is giving the error? Where does it think it should be getting this function from? Is that dependency installed? I don't know what fftconv2.m is, but unless the program that is giving the error knows how to use that api, it seems unlikely. If octave-image knows how to use that, you might be able to research what services it provides and see if they can do what you were trying to do with the original program.
I don't know anything about octave-image, so this is just general debug procedure.
On Mon, 17 Jan 2022 at 17:59, Patrick Dupre pdupre@gmx.com wrote:
Hello,
I get the following error:
error: feval: function 'fftconv2' not found
octave-image provide fftconv2.m
can I use it? If yes, How?
Are you trying to use octave's fftconv2 function? In Fedora35 with octave and octave-image installed using dnf:
octave:8> pkg load image pkg load image octave:9> help fftconv2 help fftconv2 'fftconv2' is a function from the file /usr/share/octave/packages/image-2.12.0/fftconv2.m
-- Function File: fftconv2 (A, B) -- Function File: fftconv2 (V1, V2, A) -- Function File: fftconv2 (..., SHAPE) Convolve 2 dimensional signals using the FFT.
This method is faster but less accurate than CONV2 for large A and B. It also uses more memory. A small complex component will be introduced even if both A and B are real.
See also: conv2, fftconv, fft, ifft.
On Wed, 19 Jan 2022 at 03:44, Patrick Dupre pdupre@gmx.com wrote:
Yes, exactly. Actually the package * FFTConvolution https://github.com/jeremyfix/FFTConvolution call fftconv2 (* https://github.com/jeremyfix/FFTConvolution)
In convolution_benchmark.cc feval ("fftconv2", functionArguments, 1);
but, I get error: feval: function 'fftconv2' not found
I do not know how to call the octave function from a c++ program. It is because a library si not linked?
The convolution_benchmark.cc was last updated in 2013. Octave has changed a lot since then.
The author of the package (jeremy.fix) did not answer to my request.
Can't really blame someone for not keeping on top of old projects. Wonder if someone has forked the code.
*Sent:* Tuesday, January 18, 2022 at 9:33 PM *From:* "George N. White III" gnwiii@gmail.com *To:* "Community support for Fedora users" users@lists.fedoraproject.org *Subject:* Re: fttconv2 On Mon, 17 Jan 2022 at 17:59, Patrick Dupre pdupre@gmx.com wrote:
Hello,
I get the following error:
error: feval: function 'fftconv2' not found
octave-image provide fftconv2.m
can I use it? If yes, How?
Are you trying to use octave's fftconv2 function? In Fedora35 with octave and octave-image installed using dnf:
octave:8> pkg load image pkg load image octave:9> help fftconv2 help fftconv2 'fftconv2' is a function from the file /usr/share/octave/packages/image-2.12.0/fftconv2.m
-- Function File: fftconv2 (A, B) -- Function File: fftconv2 (V1, V2, A) -- Function File: fftconv2 (..., SHAPE) Convolve 2 dimensional signals using the FFT.
This method is faster but less accurate than CONV2 for large A and B. It also uses more memory. A small complex component will be introduced even if both A and B are real. See also: conv2, fftconv, fft, ifft.-- George N. White III
_______________________________________________ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-leave@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure _______________________________________________ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-leave@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure