2014-10-06 10:20:59 -0600 | commented question | Error - create an image - different resolutions The problem is, im not the best in programming. At the beginning, the includes (i use opencv 2.4.9 ) include <stdio.h> include <math.h> include <opencv2/opencv.hpp> include <opencv2/highgui/highgui.hpp> include <opencv/cv.h> include <math.h> include <stdlib.h> include <string.h> include "Funktionen.h" include <iostream> define PI 3.14159265359 void SI_Function (char AB[75],int Voriteration, int Iteration, long double start, long double stoer, int hoehe, int breite, int laenge, long double x_achse_anfang, long double x_achse_ende, long double y_achse_anfang, long double y_achse_ende, long double b, char dateiname[75], char bildname[75]) { printf("SI-Function"); |
2014-10-06 10:11:18 -0600 | received badge | ● Editor (source) |
2014-10-06 10:09:11 -0600 | asked a question | Error - create an image - different resolutions Hello, im trying to create a pricture from an array. Sometimes it works and sometimes not. 1st correct one: 500x503 2nd something wrong 500x500 (500x501, 500x502 the same) there is a diagonal in the picture and i dont know why. 1st: 2nd: in the daten[count_array] are 500x500 values that need to be printed. I dont want to paste the whole code, so here is just the interesting part: } |