Is it so funny for you? Is it so funny my teacher of project doesn t know where is the error, so to obtain my degree I have to pay someone to correct my work to don t another project and less other 5...
Type: Posts; User: Elvio Esposito
Is it so funny for you? Is it so funny my teacher of project doesn t know where is the error, so to obtain my degree I have to pay someone to correct my work to don t another project and less other 5...
I have a project on image processing. It doesn' t work. It s finished, but I don' t understand how correct the error. the project is very short, about 300 lines. The project come from a work (it...
I need to reshape an image to obtain a 3D matrix made by his rows,by his cols and by his number of channels and obtain so 3 components (everyone has a decorrelated version , I did before, of input...
Hi I m doing a work with Ubuntu using Eclipse for my thesis' project. I need to insure the compiler is generating the maximum number of warnings, that I fix all warnings and stop using any compiler...
I post something more. All the project now is around 500 lines and they compile. Don t gonna post the function when I can t enter and how I call it in main. It s above how it starts. That s a...
I have :
int*padSize;
padSize=(int*)malloc(sizeof(int));
invoking with & operator is an error.I assign a value to the padSize in another function.And I use malloc to conserve it.
Whe you said to pass to C I wrote to another website. I said I just studied C language but I need for my project to use the some parts of C++ because for image processing, it s impossible just use C....
Hi I have no error compiling, but running my project it stops before entering a function and debugging I have an error about Segmentation fault. The function:
1
2
3
Hi I have no error compiling, but running my project it stops before entering a function and debugging I have an error about Segmentation fault. The function:
Mat logGabor(matriz filter,Mat...
found the error that was in the meshgrid. I mean:
for(int m=0;m<cols;m++){
for(int n=0;n<rows;n++){
X[m][n]=x[m];
Y[m][n]=y[n];
}
All my project compile. But running it, it stopped in this line his work.This is the function where i have the problem:
void pre_filter_Computations(matriz radius,matriz theta,int cols,int...
Hi, the problem is that before using it I used vectors of vectors and I had a problem about glibc. My teacher of University told me I have it because of vector of vectors utilization. So I used this...
double **createmat(int rows,int cols){
double **m;
m=new double*[rows];
for(int i=0;i<rows;i++)
m[i]=new double[cols];
return m;
}
Hi people. I have en error translating a function from Matlab to C/C++ :
radius(floor(rows/2+1),floor(cols/2+1)) = 1;
% Get rid of the 0 radius value at the 0
% frequency point (now at...
Hi people I have the error I named the question in the function: (With "here" I comment where the compiler send me the error):
void ftshifting(matriz filter,int rows,int cols){
double...
MAIN:
vector< vector<double> >radius(rows, vector<double>(cols);
vector< vector<double> >theta(rows,cols);
pre_filter_Computations(radius,theta,cols,rows);
function:
I adjust it. Thanks Elysia. But I have the glibc error to solve.
So do I have just to pass the & operator to the function and create the vector in the main to obtain pass by reference? Don t I need to create a pointer too?
Maybe I don t talk very well Eglish. Sorry. I just have to modify in the function the vectors. So I need that when I go back to the main that my vectors have new data, because I changed it in this...
because I have to do this datas (radius,theta) conserve their values exiting the function. Googling I read I have to pass the pointers because era not dynamic. I m sorry but I just studied C and not...
The question is :
1)how to invoke the pointer to the vector. Because in that code I write below it gives me the error I wrote as a comment.
2)is it the meshgrid I explain right with vectors?...
Hi you have reason. I have to pass the pointer to the vector of vector. I just studied C and not studied C++,but worling with images I need to use it. I m trying to assign a pointer to radius and...
Hi people I have this error entering a function:
(really the error lines are more than this I put)
*** glibc detected *** /home/elvio/workspace/aws/Debug/aws: double free or corruption...
The problem is in my University we just studied C language. I m working to a thesis ' project and I work with image-processing and OpenCV so i have to use C++ in some parts of the works. I understood...
Is it possible to pass a vector of vector to a function?
void pre_filter_Computations(vector< vector<double> > radius(rows, vector<double>(cols) ),vector< vector<double> > theta(rows,...