Search:
Type: Posts; User: nihad
Search:
Search took 0.01 seconds.
-
April 2nd, 2013, 09:33 PM
I want to compare two string, and want to see differeince in int form. For example,
string first_string="0002AE1";
string second_string="0002AE2";
How can i calculate difference between...
-
March 23rd, 2013, 10:51 PM
I am trying to use PCA, but it gives memory access violation error. Here is my sample code.
int main(...)
{
.................
vector<float>input_array;
for(i=0;i<number_of_lines;i++)
...
-
March 21st, 2013, 06:30 AM
Revised code would be
int main(.....)
{
vector<double>pdf_vector;
//read data from file and put it in pdf_vector.
vector<double>all_vector;
Mat dft_input_vector(pdf_vector);
Mat...
-
March 21st, 2013, 05:44 AM
I am trying to use following code, but it gives error. Error message is like : OpenCV Error: Assertion failed (dims <= 2 && data && (unsigned)i0 < (unsigned)si ze.p[0] &&...
-
March 18th, 2013, 05:24 AM
I am using OpenCV library.
"images – Source arrays. They all should have the same depth, CV_8U or CV_32F"
so vector<double> is not a valid input. vector<float> should do.
-
March 16th, 2013, 11:18 PM
Here is the solution:
Function prototype would be
vector<double>three_dimensional_shape_retreival_Hough_Transform:: histogram_creation(vector<float> input_vector) instead of...
-
March 15th, 2013, 11:25 PM
I have following code to create histogram, but it gave wrong output. In the program input_vector read 100 double numbers. I want to create a histogram with bin size=5. Output is [0;0;0;0;0]. Can...
-
March 15th, 2013, 08:03 AM
Thnx. I solved the problem.
Source: perfectly fine link:
http://blog.hcilab.org/bastian/2012/06/installing-opencv-2-4-windows-7-visual-studio/
-
March 15th, 2013, 08:01 AM
Thnx. I solved the problem.
Source: perfectly fine link:
http://blog.hcilab.org/bastian/2012/06/installing-opencv-2-4-windows-7-visual-studio/
-
March 15th, 2013, 07:29 AM
I am trying to run an OpenCV program from command line, but it gave error like "The program can`t start because opencv_220d.dll is missing from your computer." Try reinstalling the program to fix...
-
March 9th, 2013, 02:07 AM
I tried in this way , but output is not acceptable.
int main(.......)
{
......................
double histogram_sample[1][6]={1.0,2.0,3.0,4.0,1.0,2.0};
Mat...
-
March 9th, 2013, 01:11 AM
I have a text file which consist of several values. These values represent distance from origin to any point in the triangle. How can I create histogram from these values? Is there any functions in...
-
March 8th, 2013, 04:46 AM
I solved the problem. Here is the solution:
Hough_Transform_3D_Accumulator temp;
temp.i = i;
temp.j = j;
temp.k = k;
-
March 7th, 2013, 11:54 PM
Here I have given my sample code, but it gave error. How can insert value in structure vector?
struct Hough_Transform_3D_Accumulator
{
long int i;
long int j;
long int k;
long int...
-
March 6th, 2013, 02:34 AM
Anyway, I have solved the problem. I include "opencv_imgproc220d.lib" in additional library dependencies in VC++2010.
-
March 5th, 2013, 11:55 PM
I am tying to compare two histograms, but it gives error. Here I have given my code, histogram file and error message.
Histogram file 3*5 matrix(output_test.txt):
1 2 3 4 5
5 2 1 4 2
2 1 2 4 2...
-
February 3rd, 2013, 10:21 AM
Ya, I should include some code for checking.
-
February 3rd, 2013, 09:50 AM
Yes. It would be reader.read_off(mesh, input_file_name.c_str()) instead of argv[2]=input_file_name.c_str().
-
February 3rd, 2013, 09:38 AM
Finally, I did it. It will be writer.write_off(mesh, output_file_name.c_str()); instead of argv[3]= output_file_name.c_str();
-
February 3rd, 2013, 08:33 AM
Actually this is my code: I use command line argument, argv[1] is my one of the input file name. I want to change argv[2] and argv[3] dynamically inside the for loop.
int main(int argc, char...
-
February 3rd, 2013, 04:58 AM
Hi,
I want to do following , but it gives error C2440: '=' : cannot convert from 'const char *' to 'char *.
............
string str("VRML");
char *sss[];
sss[0]=str.c_str();...
|
Click Here to Expand Forum to Full Width
|