How to modify dft function in opencv? -


i need modify of variables inside dft function in opencv make suitable application.

  1. where can find dft source code? i've tried c:\opencv243\build\include\opencv2\core.hpp gives me description of dft:

    //! performs forward or inverse 1d or 2d discrete fourier transformation cv_exports_w void dft(inputarray src, outputarray dst, int flags=0, int nonzerorows=0);

  2. what procedure after source code modification? have give different name such dft2()?

  3. where save new function?

i'm using visual studio 2010 , opencv 2.4.3 installed on windows7 (32 bit). please note i'm new opencv , switched matlab. therefore if willing help, grateful if explain clearly.

in matlab right-click on function , see source file (for open source functions only).

thanks

payam

  1. dft function can found in dxt.cpp source file. located in $opencv2.3$\opencv\modules\core\src

  2. if save same function overwrite function , wont able use original function. if want new function change code, if want original functionality save else, dft2 surfice suggest saving more meaningfull dft"whathaveidone"

  3. either create new files etc or save new function dxt.cpp, need create function definitions etc

  4. in order find information opened opencv solution in visual studio , did solution wide search dft


Comments

Popular posts from this blog

c# - How Configure Devart dotConnect for SQLite Code First? -

java - Copying object fields -

c++ - Clear the memory after returning a vector in a function -