Improvements. Some code cleanup. Nearing final version.

This commit is contained in:
Emil Martinec
2012-03-01 22:53:51 -06:00
parent 2dfd780308
commit 3d8c7801ba
15 changed files with 738 additions and 837 deletions

View File

@@ -41,11 +41,11 @@ void ImProcFunctions::impulse_nr (LabImage* lab, double thresh) {
// buffer for the lowpass image
float ** lpf = new float *[height];
// buffer for the highpass image
float ** impish = new float *[height];
char ** impish = new char *[height];
for (int i=0; i<height; i++) {
lpf[i] = new float [width];
//memset (lpf[i], 0, width*sizeof(float));
impish[i] = new float [width];
impish[i] = new char [width];
//memset (impish[i], 0, width*sizeof(unsigned short));
}