wavelet-commit Mailing List for Wavelet (Page 4)
Status: Beta
Brought to you by:
herbert
You can subscribe to this list here.
2005 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
(16) |
Aug
(16) |
Sep
|
Oct
|
Nov
|
Dec
|
---|---|---|---|---|---|---|---|---|---|---|---|---|
2006 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2007 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(5) |
Jun
|
Jul
|
Aug
(17) |
Sep
(3) |
Oct
|
Nov
|
Dec
(1) |
2008 |
Jan
|
Feb
|
Mar
|
Apr
(10) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2009 |
Jan
|
Feb
(2) |
Mar
|
Apr
(12) |
May
(6) |
Jun
(3) |
Jul
(1) |
Aug
|
Sep
(3) |
Oct
(5) |
Nov
|
Dec
|
2010 |
Jan
|
Feb
|
Mar
(1) |
Apr
|
May
(6) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2011 |
Jan
|
Feb
|
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(2) |
Dec
|
From: Herbert M. D. <he...@us...> - 2007-05-25 08:08:19
|
Update of /cvsroot/wavelet/Wavelet/test In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv18996/test Modified Files: transform.cc Log Message: Added WaveletTransform::highMax() method. Index: transform.cc =================================================================== RCS file: /cvsroot/wavelet/Wavelet/test/transform.cc,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** transform.cc 10 Aug 2005 09:35:23 -0000 1.3 --- transform.cc 25 May 2007 08:08:11 -0000 1.4 *************** *** 3,7 **** * * This is a rather poor test, since only misc functions are tested. The ! * main decomposition and reconstruction algorithms are stolen and thus * supposed to work. * --- 3,7 ---- * * This is a rather poor test, since only misc functions are tested. The ! * main decomposition and reconstruction algorithms are stolen and thus * supposed to work. * *************** *** 18,24 **** #include "Wave/PyramidTransform.hh" #include "Wave/StandardTransform.hh" ! #include <assert.h> #include <iostream> ! #include <math.h> #if !(defined __WATCOMC__ && __WATCOMC__ < 1230) --- 18,26 ---- #include "Wave/PyramidTransform.hh" #include "Wave/StandardTransform.hh" ! #include "testing.h" ! #include <cassert> #include <iostream> ! #include <iomanip> ! #include <cmath> #if !(defined __WATCOMC__ && __WATCOMC__ < 1230) *************** *** 27,30 **** --- 29,67 ---- static void + wavelet (void) + { + cout << "Testing class WaveletTransform...\n"; + int steps = 1; + Image *image = NEW(StillImage ()); + TEST_NO_EXCEPTION (image->read ("harin5.pgm")); + WaveletTransform * transform = NEW (PyramidTransform (*image, Haar)); + TEST_NO_EXCEPTION (transform->analysis (steps)); + + Image *himax = transform->highMax(); + + int yoffs = 0, xoffs = 0, ysize = 0, xsize = 0; + area what; + + for (int a = (int)HL; a < (int)areaINVALID; a++) + { + what = (area)a; + transform->where (what, steps, yoffs, xoffs, ysize, xsize); + for (int y = 0; y < himax->rows (); y++) + { + for (int x = 0; x < himax->cols (); x++) + { + TEST_ASSERT (fabs (himax->at(y, x)) + FLT_EPSILON + >= fabs (image->at (y + yoffs, x + xoffs))); + } + } + } + + DELETE(image); + DELETE(transform); + DELETE(himax); + cout << "Test of class WaveletTransform completed successfully.\n"; + } + + static void pyramid (void) { *************** *** 43,47 **** image->anasteps (1); ! for (int row = 0; row < 8; row++) { --- 80,84 ---- image->anasteps (1); ! for (int row = 0; row < 8; row++) { *************** *** 51,57 **** } } ! image->anasteps (2); ! for (int row = 4; row < 8; row++) { --- 88,94 ---- } } ! image->anasteps (2); ! for (int row = 4; row < 8; row++) { *************** *** 61,65 **** } } ! for (int row = 0; row < 4; row++) { --- 98,102 ---- } } ! for (int row = 0; row < 4; row++) { *************** *** 69,73 **** } } ! for (int row = 4; row < 8; row++) { --- 106,110 ---- } } ! for (int row = 4; row < 8; row++) { *************** *** 77,81 **** } } ! for (int row = 2; row < 4; row++) { --- 114,118 ---- } } ! for (int row = 2; row < 4; row++) { *************** *** 85,89 **** } } ! for (int row = 0; row < 2; row++) { --- 122,126 ---- } } ! for (int row = 0; row < 2; row++) { *************** *** 93,97 **** } } ! DELETE (image); DELETE (transform); --- 130,134 ---- } } ! DELETE (image); DELETE (transform); *************** *** 127,131 **** assert (ysize == 64); assert (xsize == 64); ! transform->where (LL, 2, yoffs, xoffs, ysize, xsize); assert (yoffs == 0); --- 164,168 ---- assert (ysize == 64); assert (xsize == 64); ! transform->where (LL, 2, yoffs, xoffs, ysize, xsize); assert (yoffs == 0); *************** *** 133,137 **** assert (ysize == 32); assert (xsize == 32); ! transform->where (LH, 1, yoffs, xoffs, ysize, xsize); assert (yoffs == 64); --- 170,174 ---- assert (ysize == 32); assert (xsize == 32); ! transform->where (LH, 1, yoffs, xoffs, ysize, xsize); assert (yoffs == 64); *************** *** 164,168 **** assert (fabs (transform->ratio (1, 3) - 16) < COEFF_EPSILON); assert (fabs (transform->ratio (3, 1) - 1.0/16.0) < COEFF_EPSILON); ! //cout << yoffs << "/" << xoffs << " to: " // << yoffs+ysize << "/" << xoffs+xsize << endl; --- 201,205 ---- assert (fabs (transform->ratio (1, 3) - 16) < COEFF_EPSILON); assert (fabs (transform->ratio (3, 1) - 1.0/16.0) < COEFF_EPSILON); ! //cout << yoffs << "/" << xoffs << " to: " // << yoffs+ysize << "/" << xoffs+xsize << endl; *************** *** 176,180 **** assert (subband == 3); assert (channel == LL); ! yoffs = xoffs = 31; transform->where (yoffs, xoffs, subband, channel, 2); --- 213,217 ---- assert (subband == 3); assert (channel == LL); ! yoffs = xoffs = 31; transform->where (yoffs, xoffs, subband, channel, 2); *************** *** 194,198 **** assert (subband == 1); assert (channel == HH); ! yoffs = xoffs = 127; transform->where (yoffs, xoffs, subband, channel, 2); --- 231,235 ---- assert (subband == 1); assert (channel == HH); ! yoffs = xoffs = 127; transform->where (yoffs, xoffs, subband, channel, 2); *************** *** 211,215 **** assert (subband == 2); assert (channel == HL); ! //cout << yoffs << "/" << xoffs // << "-> subband: " << subband << ", channel: " << (int)channel << endl; --- 248,252 ---- assert (subband == 2); assert (channel == HL); ! //cout << yoffs << "/" << xoffs // << "-> subband: " << subband << ", channel: " << (int)channel << endl; *************** *** 228,232 **** assert (ysize == 49); assert (xsize == 64); ! transform->where (HH, 1, yoffs, xoffs, ysize, xsize); assert (yoffs == 49); --- 265,269 ---- assert (ysize == 49); assert (xsize == 64); ! transform->where (HH, 1, yoffs, xoffs, ysize, xsize); assert (yoffs == 49); *************** *** 270,274 **** image->anasteps (1); ! for (int row = 0; row < 8; row++) { --- 307,311 ---- image->anasteps (1); ! for (int row = 0; row < 8; row++) { *************** *** 278,284 **** } } ! image->anasteps (2); ! for (int row = 4; row < 8; row++) { --- 315,321 ---- } } ! image->anasteps (2); ! for (int row = 4; row < 8; row++) { *************** *** 288,292 **** } } ! for (int row = 0; row < 4; row++) { --- 325,329 ---- } } ! for (int row = 0; row < 4; row++) { *************** *** 296,300 **** } } ! for (int row = 4; row < 8; row++) { --- 333,337 ---- } } ! for (int row = 4; row < 8; row++) { *************** *** 304,308 **** } } ! for (int row = 2; row < 4; row++) { --- 341,345 ---- } } ! for (int row = 2; row < 4; row++) { *************** *** 312,316 **** } } ! for (int row = 0; row < 2; row++) { --- 349,353 ---- } } ! for (int row = 0; row < 2; row++) { *************** *** 320,324 **** } } ! DELETE (image); --- 357,361 ---- } } ! DELETE (image); *************** *** 329,332 **** --- 366,370 ---- main (void) { + wavelet (); pyramid (); standard (); |
From: Herbert M. D. <he...@us...> - 2007-05-22 14:55:52
|
Update of /cvsroot/wavelet/Wavelet In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv22191 Modified Files: GreymapWriter.cc StillImage.cc Log Message: Fixed polymorphic-exception problem which popped up while using g++ 4.x... Index: GreymapWriter.cc =================================================================== RCS file: /cvsroot/wavelet/Wavelet/GreymapWriter.cc,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** GreymapWriter.cc 10 Aug 2005 09:35:23 -0000 1.2 --- GreymapWriter.cc 22 May 2007 14:55:44 -0000 1.3 *************** *** 28,32 **** int success = 0; ! /* * First check whether file is writeable... --- 28,32 ---- int success = 0; ! /* * First check whether file is writeable... *************** *** 40,44 **** } } ! if (success == 0) { --- 40,44 ---- } } ! if (success == 0) { *************** *** 46,53 **** pixelize (); ! success = writefmt (); } ! if (success < 0) { --- 46,53 ---- pixelize (); ! success = writefmt (); } ! if (success < 0) { *************** *** 56,60 **** } ! void GreymapWriter::pixelize (void) { --- 56,60 ---- } ! void GreymapWriter::pixelize (void) { Index: StillImage.cc =================================================================== RCS file: /cvsroot/wavelet/Wavelet/StillImage.cc,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** StillImage.cc 14 Apr 2006 11:47:06 -0000 1.10 --- StillImage.cc 22 May 2007 14:55:44 -0000 1.11 *************** *** 78,97 **** } ! bool StillImage::epsilons (Image &si, coeff epsilon) const { return ((StillImage*)this)->m_coeffs->epsilons (((StillImage*)&si)->m_coeffs, ! epsilon); } ! bool StillImage::equals (Image &si) const ! { return ((StillImage*)this)->m_coeffs->epsilons (((StillImage*)&si)->m_coeffs, ! COEFF_EPSILON); } #ifndef _WIN32_WCE ! void StillImage::read (char const * fname, int rawy, int rawx) { --- 78,97 ---- } ! bool StillImage::epsilons (Image &si, coeff epsilon) const { return ((StillImage*)this)->m_coeffs->epsilons (((StillImage*)&si)->m_coeffs, ! epsilon); } ! bool StillImage::equals (Image &si) const ! { return ((StillImage*)this)->m_coeffs->epsilons (((StillImage*)&si)->m_coeffs, ! COEFF_EPSILON); } #ifndef _WIN32_WCE ! void StillImage::read (char const * fname, int rawy, int rawx) { *************** *** 136,143 **** DELETE (ir); } ! catch (const exception &error) { DELETENOTNULL (ir); ! throw error; } m_ysize = m_coeffs->rows (); --- 136,143 ---- DELETE (ir); } ! catch (...) { DELETENOTNULL (ir); ! throw; } m_ysize = m_coeffs->rows (); *************** *** 146,150 **** } ! void StillImage::write (char const *fname, bool beautify) { --- 146,150 ---- } ! void StillImage::write (char const *fname, bool beautify) { *************** *** 158,162 **** GreymapWriter *iw = NULL; bool ispixel = true; ! if (ftype == fn_unknown) { --- 158,162 ---- GreymapWriter *iw = NULL; bool ispixel = true; ! if (ftype == fn_unknown) { *************** *** 197,201 **** if (this->size () > 0 && ! (beautify || (ispixel && (m_asteps - m_ssteps > 0 || (this->smin () < 0))))) { --- 197,201 ---- if (this->size () > 0 && ! (beautify || (ispixel && (m_asteps - m_ssteps > 0 || (this->smin () < 0))))) { *************** *** 208,215 **** DELETE (iw); } ! catch (const exception &error) { DELETENOTNULL (iw); ! throw error; } --- 208,227 ---- DELETE (iw); } ! catch (...) { + DELETE (m_coeffs); + m_coeffs = backup; + + DELETE (m_acol); + m_acol = NEW (ColumnVector (m_coeffs)); + + DELETE (m_arow); + m_arow = NEW (RowVector (m_coeffs)); + + DELETE (m_afull); + m_afull = NEW (FullVector (m_coeffs)); + DELETENOTNULL (iw); ! throw; } *************** *** 237,241 **** } ! void StillImage::resize (int rows, int cols) { --- 249,253 ---- } ! void StillImage::resize (int rows, int cols) { |
From: Herbert M. D. <he...@us...> - 2007-05-22 14:55:50
|
Update of /cvsroot/wavelet/Wavelet/test In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv22191/test Modified Files: image.cc Log Message: Fixed polymorphic-exception problem which popped up while using g++ 4.x... Index: image.cc =================================================================== RCS file: /cvsroot/wavelet/Wavelet/test/image.cc,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** image.cc 10 Aug 2005 09:35:23 -0000 1.4 --- image.cc 22 May 2007 14:55:45 -0000 1.5 *************** *** 31,39 **** Image *img1 = NEW (StillImage ()); ! /* * Out directory should not exist! */ ! try { img1->write ("/nogo/out.pgm"); --- 31,39 ---- Image *img1 = NEW (StillImage ()); ! /* * Out directory should not exist! */ ! try { img1->write ("/nogo/out.pgm"); *************** *** 45,49 **** assert (strstr (error.what (), "writing") != NULL); } ! try { img1->read ("/nogo/in.pgm"); --- 45,49 ---- assert (strstr (error.what (), "writing") != NULL); } ! try { img1->read ("/nogo/in.pgm"); *************** *** 56,60 **** } ! try { img1->write ("out.pxm"); --- 56,60 ---- } ! try { img1->write ("out.pxm"); *************** *** 66,70 **** assert (strstr (error.what (), "unknown") != NULL); } ! try { img1->read ("/nogo/in.ra"); --- 66,70 ---- assert (strstr (error.what (), "unknown") != NULL); } ! try { img1->read ("/nogo/in.ra"); *************** *** 77,81 **** } ! try { img1->read ("image.pgm"); --- 77,81 ---- } ! try { img1->read ("image.pgm"); *************** *** 88,92 **** assert (img1->size () == 16); ! for (int i = 0; i < img1->size (); i++) { --- 88,92 ---- assert (img1->size () == 16); ! for (int i = 0; i < img1->size (); i++) { *************** *** 104,108 **** } cout << "OK?" << endl; ! for (int col = 0; col < img1->cols (); col++) { --- 104,108 ---- } cout << "OK?" << endl; ! for (int col = 0; col < img1->cols (); col++) { *************** *** 114,122 **** } } ! Image *img2 = NEW (StillImage ()); ! ! try { img2->read ("image.pgm"); --- 114,122 ---- } } ! Image *img2 = NEW (StillImage ()); ! ! try { img2->read ("image.pgm"); *************** *** 138,142 **** #ifdef PFI ! try { img2->write ("image.pfi", fn_raw); --- 138,142 ---- #ifdef PFI ! try { img2->write ("image.pfi", fn_raw); *************** *** 155,159 **** assert (img1->equals (*img2)); ! try { img2->read ("image.pfi", fn_raw, 4, 4); --- 155,159 ---- assert (img1->equals (*img2)); ! try { img2->read ("image.pfi", fn_raw, 4, 4); *************** *** 172,176 **** assert (img1->equals (*img2)); ! try { img2->write ("image.pfi"); --- 172,176 ---- assert (img1->equals (*img2)); ! try { img2->write ("image.pfi"); *************** *** 182,186 **** } ! try { img2->read ("image.pfi"); --- 182,186 ---- } ! try { img2->read ("image.pfi"); *************** *** 207,211 **** assert (fabs (img1->at (i) - (coeff)i) < DBL_EPSILON); } ! #endif dump (img1); --- 207,211 ---- assert (fabs (img1->at (i) - (coeff)i) < DBL_EPSILON); } ! #endif dump (img1); *************** *** 234,238 **** img2 = NEW (StillImage (2, 8)); ! try { --- 234,238 ---- img2 = NEW (StillImage (2, 8)); ! try { *************** *** 251,255 **** cout.setf (ios::fixed, ios::floatfield); ! cout << "Inner product two identical images: " << std::setw (2) << img1->iproduct (*img2) << endl; --- 251,255 ---- cout.setf (ios::fixed, ios::floatfield); ! cout << "Inner product two identical images: " << std::setw (2) << img1->iproduct (*img2) << endl; *************** *** 265,274 **** assert (fabs (img1->iproduct (*img2)) < COEFF_EPSILON); ! ! cout << "Inner product two orthogonal images: " << std::setw (2) << img1->iproduct (*img2) << endl; cout.setf (FMT0, ios::floatfield); ! DELETE (img1); DELETE (img2); --- 265,274 ---- assert (fabs (img1->iproduct (*img2)) < COEFF_EPSILON); ! ! cout << "Inner product two orthogonal images: " << std::setw (2) << img1->iproduct (*img2) << endl; cout.setf (FMT0, ios::floatfield); ! DELETE (img1); DELETE (img2); *************** *** 289,294 **** for (int col = 0; col < rw.size (); col++) { ! cout << std::setprecision (1) << std::setw (4) << rw.at (col) ! /*<< "/" << std::setprecision (1) << std::setw (4) << img->at (row, col)*/ << ' '; --- 289,294 ---- for (int col = 0; col < rw.size (); col++) { ! cout << std::setprecision (1) << std::setw (4) << rw.at (col) ! /*<< "/" << std::setprecision (1) << std::setw (4) << img->at (row, col)*/ << ' '; |
From: Johan H. E. <bo...@us...> - 2006-04-14 11:47:11
|
Update of /cvsroot/wavelet/Wavelet In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21437 Modified Files: StillImage.cc Log Message: Minor change in StillImage.cc due to VC6 disliking. Index: StillImage.cc =================================================================== RCS file: /cvsroot/wavelet/Wavelet/StillImage.cc,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** StillImage.cc 8 Mar 2006 17:14:57 -0000 1.9 --- StillImage.cc 14 Apr 2006 11:47:06 -0000 1.10 *************** *** 139,143 **** { DELETENOTNULL (ir); ! throw; } m_ysize = m_coeffs->rows (); --- 139,143 ---- { DELETENOTNULL (ir); ! throw error; } m_ysize = m_coeffs->rows (); *************** *** 211,215 **** { DELETENOTNULL (iw); ! throw; } --- 211,215 ---- { DELETENOTNULL (iw); ! throw error; } |
From: Herbert M. D. <he...@us...> - 2005-08-15 18:38:23
|
Update of /cvsroot/wavelet/Wavelet In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31074 Modified Files: ColorBuffer.cc StillImage.cc avilib.c Log Message: Fixed memory leaks found by Florian Stumpf and Johan Ehlers. Index: ColorBuffer.cc =================================================================== RCS file: /cvsroot/wavelet/Wavelet/ColorBuffer.cc,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** ColorBuffer.cc 10 Aug 2005 09:35:23 -0000 1.6 --- ColorBuffer.cc 15 Aug 2005 16:24:23 -0000 1.7 *************** *** 18,21 **** --- 18,22 ---- #ifndef _WIN32_WCE #include <iostream> + #include <stdio.h> #else #include "WImage/miscdefs.h" Index: StillImage.cc =================================================================== RCS file: /cvsroot/wavelet/Wavelet/StillImage.cc,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** StillImage.cc 10 Aug 2005 09:35:23 -0000 1.7 --- StillImage.cc 15 Aug 2005 16:24:23 -0000 1.8 *************** *** 131,135 **** break; } ! ir->read (); m_ysize = m_coeffs->rows (); m_xsize = m_coeffs->cols (); --- 131,144 ---- break; } ! try ! { ! ir->read (); ! DELETE (ir); ! } ! catch (const exception &error) ! { ! DELETENOTNULL (ir); ! throw; ! } m_ysize = m_coeffs->rows (); m_xsize = m_coeffs->cols (); *************** *** 194,198 **** } ! iw->write (); DELETE (m_coeffs); --- 203,216 ---- } ! try ! { ! iw->write (); ! DELETE (iw); ! } ! catch (const exception &error) ! { ! DELETENOTNULL (iw); ! throw; ! } DELETE (m_coeffs); Index: avilib.c =================================================================== RCS file: /cvsroot/wavelet/Wavelet/avilib.c,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** avilib.c 3 Nov 2004 14:19:48 -0000 1.7 --- avilib.c 15 Aug 2005 16:24:23 -0000 1.8 *************** *** 2218,2221 **** --- 2218,2229 ---- if(AVI->video_superindex) { if(AVI->video_superindex->aIndex) free(AVI->video_superindex->aIndex); + free(AVI->video_superindex->stdindex[ + AVI->video_superindex->nEntriesInUse - 1 + ]->aIndex); + for (j=0; j < NR_IXNN_CHUNKS; j++) + { + free(AVI->video_superindex->stdindex[j]); + } + free(AVI->video_superindex->stdindex); free(AVI->video_superindex); } |
From: Herbert M. D. <he...@us...> - 2005-08-15 18:38:23
|
Update of /cvsroot/wavelet/Wavelet/test In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31074/test Modified Files: imagearray.cc videos.cc Log Message: Fixed memory leaks found by Florian Stumpf and Johan Ehlers. Index: videos.cc =================================================================== RCS file: /cvsroot/wavelet/Wavelet/test/videos.cc,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** videos.cc 10 Aug 2005 09:35:23 -0000 1.8 --- videos.cc 15 Aug 2005 16:24:23 -0000 1.9 *************** *** 367,370 **** --- 367,371 ---- assert (strstr (error.what (), "not a VideoArray") != NULL); } + DELETE (va2); dump (va); Index: imagearray.cc =================================================================== RCS file: /cvsroot/wavelet/Wavelet/test/imagearray.cc,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** imagearray.cc 10 Aug 2005 09:35:23 -0000 1.3 --- imagearray.cc 15 Aug 2005 16:24:23 -0000 1.4 *************** *** 173,176 **** --- 173,178 ---- ia->to (0, 0, 9); + DELETE (ia2); + /* * Forth pass: produce a real small one: |
From: Herbert M. D. <he...@us...> - 2005-08-15 17:42:55
|
Update of /cvsroot/wavelet/Wavelet/tools In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31074/tools Modified Files: vid2pgm.cc Log Message: Fixed memory leaks found by Florian Stumpf and Johan Ehlers. Index: vid2pgm.cc =================================================================== RCS file: /cvsroot/wavelet/Wavelet/tools/vid2pgm.cc,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** vid2pgm.cc 10 Aug 2005 09:35:23 -0000 1.5 --- vid2pgm.cc 15 Aug 2005 16:24:23 -0000 1.6 *************** *** 9,12 **** --- 9,13 ---- #include <assert.h> #include <iostream> + #include <stdio.h> #include <stdexcept> #include <iomanip> |
From: Herbert M. D. <he...@us...> - 2005-08-15 17:09:50
|
Update of /cvsroot/wavelet/Wavelet/tools In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12402/tools Modified Files: Makefile.in Log Message: added objclean target Index: Makefile.in =================================================================== RCS file: /cvsroot/wavelet/Wavelet/tools/Makefile.in,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** Makefile.in 9 Dec 2004 19:15:02 -0000 1.6 --- Makefile.in 15 Aug 2005 17:09:41 -0000 1.7 *************** *** 63,67 **** # Automatic stuff, should not be changed: # ! .PHONY : all clean distclean install uninstall debug # --- 63,67 ---- # Automatic stuff, should not be changed: # ! .PHONY : all clean distclean install uninstall debug objclean # *************** *** 135,138 **** --- 135,141 ---- -rm -f *~ $(OBJS) $(PROGRAMS) ./\#* ./.\#* \ + objclean: + -rm -f $(OBJS) + distclean: -$(MAKE) clean |
From: Herbert M. D. <he...@us...> - 2005-08-15 17:09:49
|
Update of /cvsroot/wavelet/Wavelet/test In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12402/test Modified Files: Makefile.in Log Message: added objclean target Index: Makefile.in =================================================================== RCS file: /cvsroot/wavelet/Wavelet/test/Makefile.in,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** Makefile.in 17 Nov 2004 12:06:09 -0000 1.3 --- Makefile.in 15 Aug 2005 17:09:41 -0000 1.4 *************** *** 128,132 **** # Automatic stuff, should not be changed: # ! .PHONY : all clean distclean html dvi doc debug depend $(TESTS) --- 128,132 ---- # Automatic stuff, should not be changed: # ! .PHONY : all clean distclean html dvi doc debug depend $(TESTS) objclean *************** *** 192,195 **** --- 192,198 ---- -rm -f $(PROGRAMS) *$O html/* latex/*.* *~ out.* ./\#* ./.\#* \ + objclean: + -rm -f *$O + distclean: -$(MAKE) clean |
From: Herbert M. D. <he...@us...> - 2005-08-15 17:09:49
|
Update of /cvsroot/wavelet/Wavelet In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12402 Modified Files: Makefile.in config.guess config.sub Log Message: added objclean target Index: Makefile.in =================================================================== RCS file: /cvsroot/wavelet/Wavelet/Makefile.in,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** Makefile.in 11 Feb 2005 12:14:54 -0000 1.9 --- Makefile.in 15 Aug 2005 17:09:41 -0000 1.10 *************** *** 70,74 **** .PHONY : all complete clean distclean html doc install tar debug test w32bin\ ! static shared sharedinstall docinstall uninstall tools $(TESTS) locs zip # --- 70,75 ---- .PHONY : all complete clean distclean html doc install tar debug test w32bin\ ! static shared sharedinstall docinstall uninstall tools $(TESTS) locs zip \ ! objclean # *************** *** 233,236 **** --- 234,242 ---- ln -sf libwavelet$(D).$(MAJOR) libwavelet$(D) + objclean: + -rm -f $(OBJS) + -$(MAKE) -C test $@ + -$(MAKE) -C tools $@ + clean: -rm -f $(OBJS) html/* latex/*.* W*/*~ *~ ./\#* ./.\#* \ Index: config.guess =================================================================== RCS file: /cvsroot/wavelet/Wavelet/config.guess,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** config.guess 3 Jun 2005 14:02:01 -0000 1.8 --- config.guess 15 Aug 2005 17:09:41 -0000 1.9 *************** *** 4,8 **** # 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. ! timestamp='2005-03-24' # This file is free software; you can redistribute it and/or modify it --- 4,8 ---- # 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. ! timestamp='2005-04-22' # This file is free software; you can redistribute it and/or modify it *************** *** 1141,1144 **** --- 1141,1148 ---- echo i860-stratus-sysv4 exit 0 ;; + i*86:VOS:*:*) + # From Pau...@st.... + echo ${UNAME_MACHINE}-stratus-vos + exit 0 ;; *:VOS:*:*) # From Pau...@st.... Index: config.sub =================================================================== RCS file: /cvsroot/wavelet/Wavelet/config.sub,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** config.sub 3 Jun 2005 14:02:01 -0000 1.8 --- config.sub 15 Aug 2005 17:09:41 -0000 1.9 *************** *** 4,8 **** # 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. ! timestamp='2005-02-10' # This file is (in principle) common to ALL GNU software. --- 4,8 ---- # 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. ! timestamp='2005-04-22' # This file is (in principle) common to ALL GNU software. *************** *** 232,235 **** --- 232,236 ---- | am33_2.0 \ | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr \ + | bfin \ | c4x | clipper \ | d10v | d30v | dlx | dsp16xx \ *************** *** 263,267 **** | sh | sh[1234] | sh[23]e | sh[34]eb | shbe | shle | sh[1234]le | sh3ele \ | sh64 | sh64le \ ! | sparc | sparc64 | sparc86x | sparclet | sparclite | sparcv8 | sparcv9 | sparcv9b \ | strongarm \ | tahoe | thumb | tic4x | tic80 | tron \ --- 264,269 ---- | sh | sh[1234] | sh[23]e | sh[34]eb | shbe | shle | sh[1234]le | sh3ele \ | sh64 | sh64le \ ! | sparc | sparc64 | sparc64b | sparc86x | sparclet | sparclite \ ! | sparcv8 | sparcv9 | sparcv9b \ | strongarm \ | tahoe | thumb | tic4x | tic80 | tron \ *************** *** 299,303 **** | arm-* | armbe-* | armle-* | armeb-* | armv*-* \ | avr-* \ ! | bs2000-* \ | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \ | clipper-* | craynv-* | cydra-* \ --- 301,305 ---- | arm-* | armbe-* | armle-* | armeb-* | armv*-* \ | avr-* \ ! | bfin-* | bs2000-* \ | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \ | clipper-* | craynv-* | cydra-* \ *************** *** 337,341 **** | sh-* | sh[1234]-* | sh[23]e-* | sh[34]eb-* | shbe-* \ | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \ ! | sparc-* | sparc64-* | sparc86x-* | sparclet-* | sparclite-* \ | sparcv8-* | sparcv9-* | sparcv9b-* | strongarm-* | sv1-* | sx?-* \ | tahoe-* | thumb-* \ --- 339,344 ---- | sh-* | sh[1234]-* | sh[23]e-* | sh[34]eb-* | shbe-* \ | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \ ! | sparc-* | sparc64-* | sparc64b-* | sparc86x-* | sparclet-* \ ! | sparclite-* \ | sparcv8-* | sparcv9-* | sparcv9b-* | strongarm-* | sv1-* | sx?-* \ | tahoe-* | thumb-* \ |
From: Herbert M. D. <he...@us...> - 2005-08-15 17:09:49
|
Update of /cvsroot/wavelet/Wavelet/debian In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12402/debian Modified Files: rules Log Message: added objclean target Index: rules =================================================================== RCS file: /cvsroot/wavelet/Wavelet/debian/rules,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** rules 27 Jan 2005 11:54:53 -0000 1.2 --- rules 15 Aug 2005 17:09:41 -0000 1.3 *************** *** 48,52 **** # Add here commands to compile the package. ! $(MAKE) static test shared touch build-stamp --- 48,53 ---- # Add here commands to compile the package. ! $(MAKE) static test ! $(MAKE) objclean shared touch build-stamp |
From: Herbert M. D. <he...@us...> - 2005-08-15 16:38:21
|
Update of /cvsroot/wavelet/Wavelet/WImage In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31074/WImage Modified Files: GreymapReader.hh GreymapWriter.hh PfcReader.hh PfcWriter.hh PfgReader.hh PfgWriter.hh PgmReader.hh PgmWriter.hh PixmapReader.hh PixmapWriter.hh PpmReader.hh PpmWriter.hh RawReader.hh RawWriter.hh VidReader.hh VidWriter.hh VideoReader.hh VideoWriter.hh Log Message: Fixed memory leaks found by Florian Stumpf and Johan Ehlers. Index: GreymapReader.hh =================================================================== RCS file: /cvsroot/wavelet/Wavelet/WImage/GreymapReader.hh,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** GreymapReader.hh 12 Jul 2005 14:52:18 -0000 1.3 --- GreymapReader.hh 15 Aug 2005 16:24:23 -0000 1.4 *************** *** 36,39 **** --- 36,43 ---- GreymapReader (char const *name, ImageArray<coeff> &data) : GreymapFile (name, data) {} + + /** Destructor - does nothing. */ + virtual ~GreymapReader (void) {} + /** Read the image. All steps independent of the file format will be * performed, like testing for file readability etc. Index: PfgWriter.hh =================================================================== RCS file: /cvsroot/wavelet/Wavelet/WImage/PfgWriter.hh,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** PfgWriter.hh 12 Jul 2005 14:52:18 -0000 1.3 --- PfgWriter.hh 15 Aug 2005 16:24:23 -0000 1.4 *************** *** 34,37 **** --- 34,40 ---- : GreymapWriter (name, data) {} + /** Destructor - does nothing. */ + virtual ~PfgWriter (void) {} + protected: /** Write a PFG image file. This is the method that does the actual Index: VidWriter.hh =================================================================== RCS file: /cvsroot/wavelet/Wavelet/WImage/VidWriter.hh,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** VidWriter.hh 12 Jul 2005 14:52:19 -0000 1.5 --- VidWriter.hh 15 Aug 2005 16:24:23 -0000 1.6 *************** *** 38,41 **** --- 38,44 ---- : VideoWriter (name, arrays, colors) { m_skip = skip; } + /** Destructor - does nothing. */ + virtual ~VidWriter (void) {} + protected: /** Write a VID video file. This is the method that does the actual Index: RawWriter.hh =================================================================== RCS file: /cvsroot/wavelet/Wavelet/WImage/RawWriter.hh,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** RawWriter.hh 12 Jul 2005 14:52:19 -0000 1.3 --- RawWriter.hh 15 Aug 2005 16:24:23 -0000 1.4 *************** *** 36,39 **** --- 36,42 ---- : GreymapWriter (name, data) { header (offs); } + /** Destructor - does nothing. */ + virtual ~RawWriter (void) {} + /** Set the offset. * @param offs Index: PgmWriter.hh =================================================================== RCS file: /cvsroot/wavelet/Wavelet/WImage/PgmWriter.hh,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** PgmWriter.hh 12 Jul 2005 14:52:18 -0000 1.3 --- PgmWriter.hh 15 Aug 2005 16:24:23 -0000 1.4 *************** *** 34,37 **** --- 34,40 ---- : GreymapWriter (name, data) {} + /** Destructor - does nothing. */ + virtual ~PgmWriter (void) {} + protected: /** Write a PGM image file. This is the method that does the actual Index: PixmapReader.hh =================================================================== RCS file: /cvsroot/wavelet/Wavelet/WImage/PixmapReader.hh,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** PixmapReader.hh 12 Jul 2005 14:52:18 -0000 1.3 --- PixmapReader.hh 15 Aug 2005 16:24:23 -0000 1.4 *************** *** 37,40 **** --- 37,44 ---- PixmapReader (char const *name, Image *images[], int channels) : PixmapFile (name, images, channels) {} + + /** Destructor - does nothing. */ + virtual ~PixmapReader (void) {} + /** Read the image. All steps independent of the file format will be * performed, like testing for file readability etc. Index: PpmWriter.hh =================================================================== RCS file: /cvsroot/wavelet/Wavelet/WImage/PpmWriter.hh,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** PpmWriter.hh 12 Jul 2005 14:52:19 -0000 1.3 --- PpmWriter.hh 15 Aug 2005 16:24:23 -0000 1.4 *************** *** 34,37 **** --- 34,40 ---- : PixmapWriter (name, images, 3) {} + /** Destructor - does nothing. */ + virtual ~PpmWriter (void) {} + protected: /** Write a PPM image file. This is the method that does the actual Index: PfgReader.hh =================================================================== RCS file: /cvsroot/wavelet/Wavelet/WImage/PfgReader.hh,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** PfgReader.hh 12 Jul 2005 14:52:18 -0000 1.3 --- PfgReader.hh 15 Aug 2005 16:24:23 -0000 1.4 *************** *** 31,34 **** --- 31,37 ---- PfgReader (char const * name, ImageArray<coeff> &data) : GreymapReader (name, data) {} + + /** Destructor - does nothing. */ + virtual ~PfgReader (void) {} protected: Index: VideoReader.hh =================================================================== RCS file: /cvsroot/wavelet/Wavelet/WImage/VideoReader.hh,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** VideoReader.hh 12 Jul 2005 14:52:19 -0000 1.5 --- VideoReader.hh 15 Aug 2005 16:24:23 -0000 1.6 *************** *** 40,43 **** --- 40,47 ---- int channels, int from, int to) : VideoFile (name, arrays, channels, to - from) {m_to = to; m_from = from;} + + /** Destructor - does nothing. */ + virtual ~VideoReader (void) {} + /** Read the video . All steps independent of the file format will be * performed, like testing for file readability etc. Index: VidReader.hh =================================================================== RCS file: /cvsroot/wavelet/Wavelet/WImage/VidReader.hh,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** VidReader.hh 12 Jul 2005 14:52:19 -0000 1.7 --- VidReader.hh 15 Aug 2005 16:24:23 -0000 1.8 *************** *** 40,43 **** --- 40,46 ---- int rawy, int rawx, int colors, int from, int to, int skip = 0); + /** Destructor - does nothing. */ + virtual ~VidReader (void) {} + /** Return the number of frames in a file. * @param fname the file name. Index: PfcWriter.hh =================================================================== RCS file: /cvsroot/wavelet/Wavelet/WImage/PfcWriter.hh,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** PfcWriter.hh 12 Jul 2005 14:52:18 -0000 1.3 --- PfcWriter.hh 15 Aug 2005 16:24:23 -0000 1.4 *************** *** 38,41 **** --- 38,44 ---- : PixmapWriter (name, images, colors) { colormodel (cmodel); } + /** Destructor - does nothing. */ + virtual ~PfcWriter (void) {} + protected: /** Write a PFC image file. This is the method that does the actual Index: PgmReader.hh =================================================================== RCS file: /cvsroot/wavelet/Wavelet/WImage/PgmReader.hh,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** PgmReader.hh 12 Jul 2005 14:52:18 -0000 1.3 --- PgmReader.hh 15 Aug 2005 16:24:23 -0000 1.4 *************** *** 32,35 **** --- 32,38 ---- : GreymapReader (name, data) {} + /** Destructor - does nothing. */ + virtual ~PgmReader (void) {} + protected: /** Read the PGM file format. This does the actual work of reading and Index: RawReader.hh =================================================================== RCS file: /cvsroot/wavelet/Wavelet/WImage/RawReader.hh,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** RawReader.hh 12 Jul 2005 14:52:19 -0000 1.3 --- RawReader.hh 15 Aug 2005 16:24:23 -0000 1.4 *************** *** 41,44 **** --- 41,47 ---- { header (offs); rows (y); cols (x); } + /** Destructor - does nothing. */ + virtual ~RawReader (void) {} + /** Set the offset. * @param offs Index: PpmReader.hh =================================================================== RCS file: /cvsroot/wavelet/Wavelet/WImage/PpmReader.hh,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** PpmReader.hh 12 Jul 2005 14:52:19 -0000 1.3 --- PpmReader.hh 15 Aug 2005 16:24:23 -0000 1.4 *************** *** 32,35 **** --- 32,38 ---- : PixmapReader (name, images, 3) { } + /** Destructor - does nothing. */ + virtual ~PpmReader (void) {} + protected: /** Read the PPM file format. This does the actual work of reading and Index: PixmapWriter.hh =================================================================== RCS file: /cvsroot/wavelet/Wavelet/WImage/PixmapWriter.hh,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** PixmapWriter.hh 12 Jul 2005 14:52:18 -0000 1.3 --- PixmapWriter.hh 15 Aug 2005 16:24:23 -0000 1.4 *************** *** 36,39 **** --- 36,43 ---- PixmapWriter (char const *name, Image *images[], int channels) : PixmapFile (name, images, channels) {} + + /** Destructor - does nothing. */ + virtual ~PixmapWriter (void) {} + /** Write the image. All steps independent of the file format will be * performed, like testing for file writeability etc. Index: VideoWriter.hh =================================================================== RCS file: /cvsroot/wavelet/Wavelet/WImage/VideoWriter.hh,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** VideoWriter.hh 12 Jul 2005 14:52:19 -0000 1.4 --- VideoWriter.hh 15 Aug 2005 16:24:23 -0000 1.5 *************** *** 36,39 **** --- 36,43 ---- VideoWriter (char const *name, VideoArray < coeff > *arrays[], int colors) : VideoFile (name, arrays, colors, arrays[0]->frames ()) {} + + /** Destructor - does nothing. */ + virtual ~VideoWriter (void) {} + /** Write the video . All steps independent of the file format will be * performed, like testing for file writeability etc. Index: GreymapWriter.hh =================================================================== RCS file: /cvsroot/wavelet/Wavelet/WImage/GreymapWriter.hh,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** GreymapWriter.hh 12 Jul 2005 14:52:18 -0000 1.3 --- GreymapWriter.hh 15 Aug 2005 16:24:23 -0000 1.4 *************** *** 36,39 **** --- 36,43 ---- GreymapWriter (char const *name, ImageArray<coeff> &data) : GreymapFile (name, data) {} + + /** Destructor - does nothing. */ + virtual ~GreymapWriter (void) {} + /** Write the image. All steps independent of the file format will be * performed, like testing for file writeability etc. Index: PfcReader.hh =================================================================== RCS file: /cvsroot/wavelet/Wavelet/WImage/PfcReader.hh,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** PfcReader.hh 12 Jul 2005 14:52:18 -0000 1.3 --- PfcReader.hh 15 Aug 2005 16:24:23 -0000 1.4 *************** *** 34,37 **** --- 34,40 ---- : PixmapReader (name, images, colors) { } + /** Destructor - does nothing. */ + virtual ~PfcReader (void) {} + protected: /** Read the PFC file format. This does the actual work of reading and |
From: Herbert M. D. <he...@us...> - 2005-08-15 16:37:23
|
Update of /cvsroot/wavelet/Wavelet In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv32718 Modified Files: ChangeLog wave_version.h Log Message: New version information. Index: wave_version.h =================================================================== RCS file: /cvsroot/wavelet/Wavelet/wave_version.h,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** wave_version.h 25 Mar 2005 09:55:48 -0000 1.3 --- wave_version.h 15 Aug 2005 16:33:47 -0000 1.4 *************** *** 12,16 **** #define __VERSION_H ! #define WAVE_VERSION "1.0" #endif --- 12,16 ---- #define __VERSION_H ! #define WAVE_VERSION "1.1" #endif Index: ChangeLog =================================================================== RCS file: /cvsroot/wavelet/Wavelet/ChangeLog,v retrieving revision 1.22 retrieving revision 1.23 diff -C2 -d -r1.22 -r1.23 *** ChangeLog 13 Jul 2005 13:55:53 -0000 1.22 --- ChangeLog 15 Aug 2005 16:33:47 -0000 1.23 *************** *** 1,2 **** --- 1,8 ---- + 2005-08-15 Herbert <he...@sp...> + * Fixed a serious memory leak in ColorVideo and a number of minor + ones in StillImage and avilib (reported by Florian Stumpf and + Johan Ehlers). + * New version is 1.1. + 2005-07-13 Herbert <he...@sp...> * Optimized Image::gammaCorrection() |
From: Herbert M. D. <he...@us...> - 2005-08-15 16:37:23
|
Update of /cvsroot/wavelet/Wavelet/debian In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv32718/debian Modified Files: changelog Log Message: New version information. Index: changelog =================================================================== RCS file: /cvsroot/wavelet/Wavelet/debian/changelog,v retrieving revision 1.20 retrieving revision 1.21 diff -C2 -d -r1.20 -r1.21 *** changelog 8 Apr 2005 08:17:50 -0000 1.20 --- changelog 15 Aug 2005 16:33:47 -0000 1.21 *************** *** 1,2 **** --- 1,9 ---- + libwavelet (1.1) unstable; urgency=high + + * Fixed a serious memory leak in ColorVideo and a number of minor ones in + StillImage and avilib (reported by Florian Stumpf and Johan Ehlers). + + -- Martin Dietze <he...@sp...> Mon, 15 Aug 2005 12:01:02 +0100 + libwavelet (1.0a-1) unstable; urgency=low |
From: Herbert M. D. <he...@us...> - 2005-08-15 10:18:18
|
Update of /cvsroot/wavelet/Wavelet In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22422 Modified Files: ColorImage.cc ColorVideo.cc INSTALL.Watcomc Image.cc Log Message: Use ColorVideo::destroy() in ~ColorVideo(), fixed a minor memory leak, some syntactic stuff. Index: ColorImage.cc =================================================================== RCS file: /cvsroot/wavelet/Wavelet/ColorImage.cc,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** ColorImage.cc 10 Aug 2005 09:35:23 -0000 1.7 --- ColorImage.cc 15 Aug 2005 10:18:08 -0000 1.8 *************** *** 206,210 **** PixmapWriter *pw = NULL; bool ispixel = true; ! ImageArray <coeff> *coeffs = coeffs = NEW (ImageArray <coeff> (0, 0)); switch (ftype) --- 206,210 ---- PixmapWriter *pw = NULL; bool ispixel = true; ! ImageArray <coeff> *coeffs = NEW (ImageArray <coeff> (0, 0)); switch (ftype) Index: INSTALL.Watcomc =================================================================== RCS file: /cvsroot/wavelet/Wavelet/INSTALL.Watcomc,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** INSTALL.Watcomc 29 Mar 2005 11:36:34 -0000 1.2 --- INSTALL.Watcomc 15 Aug 2005 10:18:08 -0000 1.3 *************** *** 16,19 **** --- 16,23 ---- wmake.exe etc.) needs to be set. + The software has been tested with OpenWatcom 1.1 an 1.2 and + a patched STLPort 4.5.3 (the patch is part of this package's + source distribution). Builds with OW 1.3 have so far failed. + Building Procedure Index: ColorVideo.cc =================================================================== RCS file: /cvsroot/wavelet/Wavelet/ColorVideo.cc,v retrieving revision 1.13 retrieving revision 1.14 diff -C2 -d -r1.13 -r1.14 *** ColorVideo.cc 15 Aug 2005 08:46:06 -0000 1.13 --- ColorVideo.cc 15 Aug 2005 10:18:08 -0000 1.14 *************** *** 67,76 **** ColorVideo::~ColorVideo (void) { ! for (int i = 0; i < m_colors; i++) ! { ! DELETE(m_arrays[i]); ! } ! ! DELETE(m_arrays); } --- 67,71 ---- ColorVideo::~ColorVideo (void) { ! destroy (); } *************** *** 250,254 **** { VideoReader *vr = NULL; - ImageArray <coeff> *coeffs = coeffs = NEW (ImageArray <coeff> (0, 0)); int frames = to - from; --- 245,248 ---- Index: Image.cc =================================================================== RCS file: /cvsroot/wavelet/Wavelet/Image.cc,v retrieving revision 1.22 retrieving revision 1.23 diff -C2 -d -r1.22 -r1.23 *** Image.cc 10 Aug 2005 09:35:23 -0000 1.22 --- Image.cc 15 Aug 2005 10:18:08 -0000 1.23 *************** *** 255,259 **** coeff normCoeff = (coeff)norm; ! coeff * replaceTable = replaceTable = NEW (coeff[norm + 1]); for (int i = 0; i <= norm; i++) --- 255,259 ---- coeff normCoeff = (coeff)norm; ! coeff * replaceTable = NEW (coeff[norm + 1]); for (int i = 0; i <= norm; i++) |
From: Herbert M. D. <he...@us...> - 2005-08-15 10:18:18
|
Update of /cvsroot/wavelet/Wavelet/Wave In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22422/Wave Modified Files: VectorPosition.hh Log Message: Use ColorVideo::destroy() in ~ColorVideo(), fixed a minor memory leak, some syntactic stuff. Index: VectorPosition.hh =================================================================== RCS file: /cvsroot/wavelet/Wavelet/Wave/VectorPosition.hh,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** VectorPosition.hh 12 Jul 2005 14:52:20 -0000 1.3 --- VectorPosition.hh 15 Aug 2005 10:18:08 -0000 1.4 *************** *** 32,35 **** --- 32,38 ---- * the size */ VectorPosition (int newsize); + + /** Destructor. Does nothing. */ + virtual ~VectorPosition (void) {} /** Set a new size. |
From: Johan H. E. <bo...@us...> - 2005-08-15 08:46:18
|
Update of /cvsroot/wavelet/Wavelet In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7582 Modified Files: ColorVideo.cc Log Message: ColorVideo.cc: Fixed destructor to take care of m_array. Index: ColorVideo.cc =================================================================== RCS file: /cvsroot/wavelet/Wavelet/ColorVideo.cc,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** ColorVideo.cc 10 Aug 2005 09:35:23 -0000 1.12 --- ColorVideo.cc 15 Aug 2005 08:46:06 -0000 1.13 *************** *** 67,70 **** --- 67,76 ---- ColorVideo::~ColorVideo (void) { + for (int i = 0; i < m_colors; i++) + { + DELETE(m_arrays[i]); + } + + DELETE(m_arrays); } |
Update of /cvsroot/wavelet/Wavelet In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24601 Modified Files: AviReader.cc AviWriter.cc CoeffInformation.cc ColorBuffer.cc ColorImage.cc ColorVideo.cc ColumnVector.cc FileName.cc Filter.cc FullVector.cc GreymapFile.cc GreymapReader.cc GreymapWriter.cc Histogram.cc Image.cc ImageComparison.cc ImageDenoiser.cc ImageInformation.cc ImageVector.cc JpgReader.cc MirrorPosition.cc PfcReader.cc PfcWriter.cc PfgReader.cc PfgWriter.cc PgmReader.cc PixmapFile.cc PixmapReader.cc PixmapWriter.cc PpmReader.cc PyramidTransform.cc RawReader.cc RowVector.cc StandardTransform.cc StillImage.cc VidReader.cc VideoFile.cc VideoFrame.cc VideoReader.cc VideoWriter.cc Wavelet.cc WaveletTransform.cc Log Message: adapted namespace stuff for openwatcom Index: ImageVector.cc =================================================================== RCS file: /cvsroot/wavelet/Wavelet/ImageVector.cc,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** ImageVector.cc 22 Mar 2005 15:51:21 -0000 1.2 --- ImageVector.cc 10 Aug 2005 09:35:23 -0000 1.3 *************** *** 15,19 **** #include <stdexcept> ! #ifndef __WATCOMC__ using namespace std; #endif --- 15,19 ---- #include <stdexcept> ! #if !(defined __WATCOMC__ && __WATCOMC__ < 1230) using namespace std; #endif Index: VideoReader.cc =================================================================== RCS file: /cvsroot/wavelet/Wavelet/VideoReader.cc,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** VideoReader.cc 18 Oct 2004 11:20:19 -0000 1.1 --- VideoReader.cc 10 Aug 2005 09:35:23 -0000 1.2 *************** *** 13,17 **** #include <fstream> ! #ifndef __WATCOMC__ using namespace std; #endif --- 13,17 ---- #include <fstream> ! #if !(defined __WATCOMC__ && __WATCOMC__ < 1230) using namespace std; #endif Index: GreymapReader.cc =================================================================== RCS file: /cvsroot/wavelet/Wavelet/GreymapReader.cc,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** GreymapReader.cc 18 Oct 2004 11:20:19 -0000 1.1 --- GreymapReader.cc 10 Aug 2005 09:35:23 -0000 1.2 *************** *** 13,17 **** #include <fstream> ! #ifndef __WATCOMC__ using namespace std; #endif --- 13,17 ---- #include <fstream> ! #if !(defined __WATCOMC__ && __WATCOMC__ < 1230) using namespace std; #endif Index: PgmReader.cc =================================================================== RCS file: /cvsroot/wavelet/Wavelet/PgmReader.cc,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** PgmReader.cc 18 Oct 2004 11:20:19 -0000 1.1 --- PgmReader.cc 10 Aug 2005 09:35:23 -0000 1.2 *************** *** 12,16 **** #include <stdio.h> ! #ifndef __WATCOMC__ using namespace std; #endif --- 12,16 ---- #include <stdio.h> ! #if !(defined __WATCOMC__ && __WATCOMC__ < 1230) using namespace std; #endif Index: PpmReader.cc =================================================================== RCS file: /cvsroot/wavelet/Wavelet/PpmReader.cc,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** PpmReader.cc 18 Feb 2005 12:12:24 -0000 1.3 --- PpmReader.cc 10 Aug 2005 09:35:23 -0000 1.4 *************** *** 13,17 **** #include <stdio.h> ! #ifndef __WATCOMC__ using namespace std; #endif --- 13,17 ---- #include <stdio.h> ! #if !(defined __WATCOMC__ && __WATCOMC__ < 1230) using namespace std; #endif Index: RawReader.cc =================================================================== RCS file: /cvsroot/wavelet/Wavelet/RawReader.cc,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** RawReader.cc 18 Feb 2005 12:12:24 -0000 1.2 --- RawReader.cc 10 Aug 2005 09:35:23 -0000 1.3 *************** *** 12,16 **** #include <stdio.h> ! #ifndef __WATCOMC__ using namespace std; #endif --- 12,16 ---- #include <stdio.h> ! #if !(defined __WATCOMC__ && __WATCOMC__ < 1230) using namespace std; #endif Index: ImageComparison.cc =================================================================== RCS file: /cvsroot/wavelet/Wavelet/ImageComparison.cc,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** ImageComparison.cc 22 Mar 2005 17:28:20 -0000 1.5 --- ImageComparison.cc 10 Aug 2005 09:35:23 -0000 1.6 *************** *** 17,21 **** #include "WImage/miscdefs.h" ! #ifndef __WATCOMC__ using namespace std; #endif --- 17,21 ---- #include "WImage/miscdefs.h" ! #if !(defined __WATCOMC__ && __WATCOMC__ < 1230) using namespace std; #endif Index: PixmapWriter.cc =================================================================== RCS file: /cvsroot/wavelet/Wavelet/PixmapWriter.cc,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** PixmapWriter.cc 18 Oct 2004 11:20:19 -0000 1.1 --- PixmapWriter.cc 10 Aug 2005 09:35:23 -0000 1.2 *************** *** 19,23 **** #include <float.h> ! #ifndef __WATCOMC__ using namespace std; #endif --- 19,23 ---- #include <float.h> ! #if !(defined __WATCOMC__ && __WATCOMC__ < 1230) using namespace std; #endif Index: WaveletTransform.cc =================================================================== RCS file: /cvsroot/wavelet/Wavelet/WaveletTransform.cc,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** WaveletTransform.cc 22 Mar 2005 17:28:20 -0000 1.5 --- WaveletTransform.cc 10 Aug 2005 09:35:23 -0000 1.6 *************** *** 20,24 **** #endif ! #ifndef __WATCOMC__ using namespace std; #endif --- 20,24 ---- #endif ! #if !(defined __WATCOMC__ && __WATCOMC__ < 1230) using namespace std; #endif Index: FullVector.cc =================================================================== RCS file: /cvsroot/wavelet/Wavelet/FullVector.cc,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** FullVector.cc 22 Mar 2005 15:51:21 -0000 1.2 --- FullVector.cc 10 Aug 2005 09:35:23 -0000 1.3 *************** *** 15,19 **** #include <stdexcept> ! #ifndef __WATCOMC__ using namespace std; #endif --- 15,19 ---- #include <stdexcept> ! #if !(defined __WATCOMC__ && __WATCOMC__ < 1230) using namespace std; #endif Index: StillImage.cc =================================================================== RCS file: /cvsroot/wavelet/Wavelet/StillImage.cc,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** StillImage.cc 22 Mar 2005 17:28:20 -0000 1.6 --- StillImage.cc 10 Aug 2005 09:35:23 -0000 1.7 *************** *** 30,34 **** #endif ! #ifndef __WATCOMC__ using namespace std; #endif --- 30,34 ---- #endif ! #if !(defined __WATCOMC__ && __WATCOMC__ < 1230) using namespace std; #endif Index: Filter.cc =================================================================== RCS file: /cvsroot/wavelet/Wavelet/Filter.cc,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** Filter.cc 18 Feb 2005 12:12:24 -0000 1.2 --- Filter.cc 10 Aug 2005 09:35:23 -0000 1.3 *************** *** 33,37 **** #include "Wave/Filter.hh" ! #ifndef __WATCOMC__ using namespace std; #endif --- 33,37 ---- #include "Wave/Filter.hh" ! #if !(defined __WATCOMC__ && __WATCOMC__ < 1230) using namespace std; #endif Index: RowVector.cc =================================================================== RCS file: /cvsroot/wavelet/Wavelet/RowVector.cc,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** RowVector.cc 22 Mar 2005 15:51:21 -0000 1.2 --- RowVector.cc 10 Aug 2005 09:35:23 -0000 1.3 *************** *** 15,19 **** #include <stdexcept> ! #ifndef __WATCOMC__ using namespace std; #endif --- 15,19 ---- #include <stdexcept> ! #if !(defined __WATCOMC__ && __WATCOMC__ < 1230) using namespace std; #endif Index: ImageDenoiser.cc =================================================================== RCS file: /cvsroot/wavelet/Wavelet/ImageDenoiser.cc,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** ImageDenoiser.cc 22 Mar 2005 17:28:20 -0000 1.5 --- ImageDenoiser.cc 10 Aug 2005 09:35:23 -0000 1.6 *************** *** 17,21 **** #include "WImage/miscdefs.h" ! #ifndef __WATCOMC__ using namespace std; #endif --- 17,21 ---- #include "WImage/miscdefs.h" ! #if !(defined __WATCOMC__ && __WATCOMC__ < 1230) using namespace std; #endif Index: Wavelet.cc =================================================================== RCS file: /cvsroot/wavelet/Wavelet/Wavelet.cc,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** Wavelet.cc 22 Mar 2005 15:51:21 -0000 1.3 --- Wavelet.cc 10 Aug 2005 09:35:23 -0000 1.4 *************** *** 24,28 **** #include "WImage/tools.h" ! #ifndef __WATCOMC__ using namespace std; #endif --- 24,28 ---- #include "WImage/tools.h" ! #if !(defined __WATCOMC__ && __WATCOMC__ < 1230) using namespace std; #endif Index: AviWriter.cc =================================================================== RCS file: /cvsroot/wavelet/Wavelet/AviWriter.cc,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** AviWriter.cc 18 Feb 2005 12:12:23 -0000 1.5 --- AviWriter.cc 10 Aug 2005 09:35:23 -0000 1.6 *************** *** 13,17 **** #include <iostream> ! #ifndef __WATCOMC__ using namespace std; #endif --- 13,17 ---- #include <iostream> ! #if !(defined __WATCOMC__ && __WATCOMC__ < 1230) using namespace std; #endif Index: ColorVideo.cc =================================================================== RCS file: /cvsroot/wavelet/Wavelet/ColorVideo.cc,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** ColorVideo.cc 22 Mar 2005 15:51:21 -0000 1.11 --- ColorVideo.cc 10 Aug 2005 09:35:23 -0000 1.12 *************** *** 24,28 **** #include <assert.h> ! #ifndef __WATCOMC__ using namespace std; #endif --- 24,28 ---- #include <assert.h> ! #if !(defined __WATCOMC__ && __WATCOMC__ < 1230) using namespace std; #endif Index: VidReader.cc =================================================================== RCS file: /cvsroot/wavelet/Wavelet/VidReader.cc,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** VidReader.cc 18 Feb 2005 12:12:24 -0000 1.5 --- VidReader.cc 10 Aug 2005 09:35:23 -0000 1.6 *************** *** 13,17 **** #include <stdio.h> ! #ifndef __WATCOMC__ using namespace std; #endif --- 13,17 ---- #include <stdio.h> ! #if !(defined __WATCOMC__ && __WATCOMC__ < 1230) using namespace std; #endif Index: Image.cc =================================================================== RCS file: /cvsroot/wavelet/Wavelet/Image.cc,v retrieving revision 1.21 retrieving revision 1.22 diff -C2 -d -r1.21 -r1.22 *** Image.cc 15 Jul 2005 08:43:53 -0000 1.21 --- Image.cc 10 Aug 2005 09:35:23 -0000 1.22 *************** *** 22,26 **** #include "WImage/miscdefs.h" ! #ifndef __WATCOMC__ using namespace std; #endif --- 22,26 ---- #include "WImage/miscdefs.h" ! #if !(defined __WATCOMC__ && __WATCOMC__ < 1230) using namespace std; #endif Index: ColumnVector.cc =================================================================== RCS file: /cvsroot/wavelet/Wavelet/ColumnVector.cc,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** ColumnVector.cc 18 Oct 2004 11:20:19 -0000 1.1 --- ColumnVector.cc 10 Aug 2005 09:35:23 -0000 1.2 *************** *** 12,16 **** #include <stdexcept> ! #ifndef __WATCOMC__ using namespace std; #endif --- 12,16 ---- #include <stdexcept> ! #if !(defined __WATCOMC__ && __WATCOMC__ < 1230) using namespace std; #endif Index: CoeffInformation.cc =================================================================== RCS file: /cvsroot/wavelet/Wavelet/CoeffInformation.cc,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** CoeffInformation.cc 22 Mar 2005 15:51:21 -0000 1.3 --- CoeffInformation.cc 10 Aug 2005 09:35:23 -0000 1.4 *************** *** 15,19 **** #endif ! #ifndef __WATCOMC__ using namespace std; #endif --- 15,19 ---- #endif ! #if !(defined __WATCOMC__ && __WATCOMC__ < 1230) using namespace std; #endif Index: PfcWriter.cc =================================================================== RCS file: /cvsroot/wavelet/Wavelet/PfcWriter.cc,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** PfcWriter.cc 18 Feb 2005 12:12:24 -0000 1.3 --- PfcWriter.cc 10 Aug 2005 09:35:23 -0000 1.4 *************** *** 12,16 **** #include <pfi.h> ! #ifndef __WATCOMC__ using namespace std; #endif --- 12,16 ---- #include <pfi.h> ! #if !(defined __WATCOMC__ && __WATCOMC__ < 1230) using namespace std; #endif Index: StandardTransform.cc =================================================================== RCS file: /cvsroot/wavelet/Wavelet/StandardTransform.cc,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** StandardTransform.cc 18 Oct 2004 11:20:19 -0000 1.1 --- StandardTransform.cc 10 Aug 2005 09:35:23 -0000 1.2 *************** *** 12,16 **** #include "WImage/debug.h" ! #ifndef __WATCOMC__ using namespace std; #endif --- 12,16 ---- #include "WImage/debug.h" ! #if !(defined __WATCOMC__ && __WATCOMC__ < 1230) using namespace std; #endif Index: GreymapWriter.cc =================================================================== RCS file: /cvsroot/wavelet/Wavelet/GreymapWriter.cc,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** GreymapWriter.cc 18 Oct 2004 11:20:19 -0000 1.1 --- GreymapWriter.cc 10 Aug 2005 09:35:23 -0000 1.2 *************** *** 19,23 **** #include <float.h> ! #ifndef __WATCOMC__ using namespace std; #endif --- 19,23 ---- #include <float.h> ! #if !(defined __WATCOMC__ && __WATCOMC__ < 1230) using namespace std; #endif Index: JpgReader.cc =================================================================== RCS file: /cvsroot/wavelet/Wavelet/JpgReader.cc,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** JpgReader.cc 18 Feb 2005 12:12:24 -0000 1.2 --- JpgReader.cc 10 Aug 2005 09:35:23 -0000 1.3 *************** *** 19,23 **** #include <iostream> ! #ifndef __WATCOMC__ using namespace std; #endif --- 19,23 ---- #include <iostream> ! #if !(defined __WATCOMC__ && __WATCOMC__ < 1230) using namespace std; #endif Index: Histogram.cc =================================================================== RCS file: /cvsroot/wavelet/Wavelet/Histogram.cc,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** Histogram.cc 22 Mar 2005 17:28:20 -0000 1.4 --- Histogram.cc 10 Aug 2005 09:35:23 -0000 1.5 *************** *** 21,25 **** #endif ! #ifndef __WATCOMC__ using namespace std; #endif --- 21,25 ---- #endif ! #if !(defined __WATCOMC__ && __WATCOMC__ < 1230) using namespace std; #endif Index: GreymapFile.cc =================================================================== RCS file: /cvsroot/wavelet/Wavelet/GreymapFile.cc,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** GreymapFile.cc 18 Feb 2005 12:12:24 -0000 1.2 --- GreymapFile.cc 10 Aug 2005 09:35:23 -0000 1.3 *************** *** 12,16 **** #include <stdexcept> ! #ifndef __WATCOMC__ using namespace std; #endif --- 12,16 ---- #include <stdexcept> ! #if !(defined __WATCOMC__ && __WATCOMC__ < 1230) using namespace std; #endif Index: PixmapReader.cc =================================================================== RCS file: /cvsroot/wavelet/Wavelet/PixmapReader.cc,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** PixmapReader.cc 18 Oct 2004 11:20:19 -0000 1.1 --- PixmapReader.cc 10 Aug 2005 09:35:23 -0000 1.2 *************** *** 13,17 **** #include <fstream> ! #ifndef __WATCOMC__ using namespace std; #endif --- 13,17 ---- #include <fstream> ! #if !(defined __WATCOMC__ && __WATCOMC__ < 1230) using namespace std; #endif Index: PfcReader.cc =================================================================== RCS file: /cvsroot/wavelet/Wavelet/PfcReader.cc,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** PfcReader.cc 18 Feb 2005 12:12:24 -0000 1.4 --- PfcReader.cc 10 Aug 2005 09:35:23 -0000 1.5 *************** *** 13,17 **** #include <stdio.h> ! #ifndef __WATCOMC__ using namespace std; #endif --- 13,17 ---- #include <stdio.h> ! #if !(defined __WATCOMC__ && __WATCOMC__ < 1230) using namespace std; #endif Index: AviReader.cc =================================================================== RCS file: /cvsroot/wavelet/Wavelet/AviReader.cc,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** AviReader.cc 18 Feb 2005 12:12:23 -0000 1.4 --- AviReader.cc 10 Aug 2005 09:35:23 -0000 1.5 *************** *** 16,20 **** } ! #ifndef __WATCOMC__ using namespace std; #endif --- 16,20 ---- } ! #if !(defined __WATCOMC__ && __WATCOMC__ < 1230) using namespace std; #endif Index: PixmapFile.cc =================================================================== RCS file: /cvsroot/wavelet/Wavelet/PixmapFile.cc,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** PixmapFile.cc 18 Feb 2005 12:12:24 -0000 1.2 --- PixmapFile.cc 10 Aug 2005 09:35:23 -0000 1.3 *************** *** 12,16 **** #include <stdexcept> ! #ifndef __WATCOMC__ using namespace std; #endif --- 12,16 ---- #include <stdexcept> ! #if !(defined __WATCOMC__ && __WATCOMC__ < 1230) using namespace std; #endif Index: PfgWriter.cc =================================================================== RCS file: /cvsroot/wavelet/Wavelet/PfgWriter.cc,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** PfgWriter.cc 15 Nov 2004 15:27:14 -0000 1.3 --- PfgWriter.cc 10 Aug 2005 09:35:23 -0000 1.4 *************** *** 12,16 **** #include <pfi.h> ! #ifndef __WATCOMC__ using namespace std; #endif --- 12,16 ---- #include <pfi.h> ! #if !(defined __WATCOMC__ && __WATCOMC__ < 1230) using namespace std; #endif Index: VideoFrame.cc =================================================================== RCS file: /cvsroot/wavelet/Wavelet/VideoFrame.cc,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** VideoFrame.cc 22 Mar 2005 15:51:21 -0000 1.3 --- VideoFrame.cc 10 Aug 2005 09:35:23 -0000 1.4 *************** *** 29,33 **** #include <assert.h> ! #ifndef __WATCOMC__ using namespace std; #endif --- 29,33 ---- #include <assert.h> ! #if !(defined __WATCOMC__ && __WATCOMC__ < 1230) using namespace std; #endif Index: ColorBuffer.cc =================================================================== RCS file: /cvsroot/wavelet/Wavelet/ColorBuffer.cc,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** ColorBuffer.cc 22 Mar 2005 17:28:19 -0000 1.5 --- ColorBuffer.cc 10 Aug 2005 09:35:23 -0000 1.6 *************** *** 22,26 **** #endif ! #ifndef __WATCOMC__ using namespace std; #endif --- 22,26 ---- #endif ! #if !(defined __WATCOMC__ && __WATCOMC__ < 1230) using namespace std; #endif Index: ColorImage.cc =================================================================== RCS file: /cvsroot/wavelet/Wavelet/ColorImage.cc,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** ColorImage.cc 22 Mar 2005 17:28:20 -0000 1.6 --- ColorImage.cc 10 Aug 2005 09:35:23 -0000 1.7 *************** *** 43,47 **** #endif ! #ifndef __WATCOMC__ using namespace std; #endif --- 43,47 ---- #endif ! #if !(defined __WATCOMC__ && __WATCOMC__ < 1230) using namespace std; #endif Index: VideoFile.cc =================================================================== RCS file: /cvsroot/wavelet/Wavelet/VideoFile.cc,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** VideoFile.cc 18 Feb 2005 12:12:24 -0000 1.2 --- VideoFile.cc 10 Aug 2005 09:35:23 -0000 1.3 *************** *** 11,15 **** #include <stdexcept> ! #ifndef __WATCOMC__ using namespace std; #endif --- 11,15 ---- #include <stdexcept> ! #if !(defined __WATCOMC__ && __WATCOMC__ < 1230) using namespace std; #endif Index: VideoWriter.cc =================================================================== RCS file: /cvsroot/wavelet/Wavelet/VideoWriter.cc,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** VideoWriter.cc 18 Oct 2004 11:20:19 -0000 1.1 --- VideoWriter.cc 10 Aug 2005 09:35:23 -0000 1.2 *************** *** 19,23 **** #include <float.h> ! #ifndef __WATCOMC__ using namespace std; #endif --- 19,23 ---- #include <float.h> ! #if !(defined __WATCOMC__ && __WATCOMC__ < 1230) using namespace std; #endif Index: PyramidTransform.cc =================================================================== RCS file: /cvsroot/wavelet/Wavelet/PyramidTransform.cc,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** PyramidTransform.cc 22 Mar 2005 17:28:20 -0000 1.4 --- PyramidTransform.cc 10 Aug 2005 09:35:23 -0000 1.5 *************** *** 19,23 **** #endif ! #ifndef __WATCOMC__ using namespace std; #endif --- 19,23 ---- #endif ! #if !(defined __WATCOMC__ && __WATCOMC__ < 1230) using namespace std; #endif Index: PfgReader.cc =================================================================== RCS file: /cvsroot/wavelet/Wavelet/PfgReader.cc,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** PfgReader.cc 18 Feb 2005 12:12:24 -0000 1.4 --- PfgReader.cc 10 Aug 2005 09:35:23 -0000 1.5 *************** *** 13,17 **** #include <stdio.h> ! #ifndef __WATCOMC__ using namespace std; #endif --- 13,17 ---- #include <stdio.h> ! #if !(defined __WATCOMC__ && __WATCOMC__ < 1230) using namespace std; #endif Index: FileName.cc =================================================================== RCS file: /cvsroot/wavelet/Wavelet/FileName.cc,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** FileName.cc 22 Mar 2005 17:28:20 -0000 1.5 --- FileName.cc 10 Aug 2005 09:35:23 -0000 1.6 *************** *** 18,22 **** #include "WImage/miscdefs.h" ! #ifndef __WATCOMC__ using namespace std; #else --- 18,22 ---- #include "WImage/miscdefs.h" ! #if !(defined __WATCOMC__ && __WATCOMC__ < 1230) using namespace std; #else Index: MirrorPosition.cc =================================================================== RCS file: /cvsroot/wavelet/Wavelet/MirrorPosition.cc,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** MirrorPosition.cc 22 Mar 2005 15:51:21 -0000 1.2 --- MirrorPosition.cc 10 Aug 2005 09:35:23 -0000 1.3 *************** *** 14,18 **** #endif ! #ifndef __WATCOMC__ using namespace std; #endif --- 14,18 ---- #endif ! #if !(defined __WATCOMC__ && __WATCOMC__ < 1230) using namespace std; #endif Index: ImageInformation.cc =================================================================== RCS file: /cvsroot/wavelet/Wavelet/ImageInformation.cc,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** ImageInformation.cc 22 Mar 2005 15:51:21 -0000 1.3 --- ImageInformation.cc 10 Aug 2005 09:35:23 -0000 1.4 *************** *** 16,20 **** #endif ! #ifndef __WATCOMC__ using namespace std; #endif --- 16,20 ---- #endif ! #if !(defined __WATCOMC__ && __WATCOMC__ < 1230) using namespace std; #endif |
From: Herbert M. D. <he...@us...> - 2005-08-10 09:35:31
|
Update of /cvsroot/wavelet/Wavelet/tools In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24601/tools Modified Files: imgconvert.cc pgmcompare.cc pgmcount.cc pgmdenoise.cc pgmdiff.cc pgmequalize.cc pgmhist.cc pgminmax.cc pgmpixel.cc pgmscale.cc pgmstats.cc ppm2grey.cc vid2pgm.cc video2grey.cc wavepgm.cc waveppm.cc Log Message: adapted namespace stuff for openwatcom Index: video2grey.cc =================================================================== RCS file: /cvsroot/wavelet/Wavelet/tools/video2grey.cc,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** video2grey.cc 18 Feb 2005 12:12:25 -0000 1.12 --- video2grey.cc 10 Aug 2005 09:35:23 -0000 1.13 *************** *** 13,17 **** #include <WImage.hh> ! #ifndef __WATCOMC__ using namespace std; #endif --- 13,17 ---- #include <WImage.hh> ! #if !(defined __WATCOMC__ && __WATCOMC__ < 1230) using namespace std; #endif Index: pgmscale.cc =================================================================== RCS file: /cvsroot/wavelet/Wavelet/tools/pgmscale.cc,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** pgmscale.cc 18 Feb 2005 12:12:25 -0000 1.2 --- pgmscale.cc 10 Aug 2005 09:35:23 -0000 1.3 *************** *** 14,18 **** #include <Wave.hh> ! #ifndef __WATCOMC__ using namespace std; #endif --- 14,18 ---- #include <Wave.hh> ! #if !(defined __WATCOMC__ && __WATCOMC__ < 1230) using namespace std; #endif Index: waveppm.cc =================================================================== RCS file: /cvsroot/wavelet/Wavelet/tools/waveppm.cc,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** waveppm.cc 18 Feb 2005 12:12:25 -0000 1.3 --- waveppm.cc 10 Aug 2005 09:35:23 -0000 1.4 *************** *** 14,18 **** #include <Wave.hh> ! #ifndef __WATCOMC__ using namespace std; #endif --- 14,18 ---- #include <Wave.hh> ! #if !(defined __WATCOMC__ && __WATCOMC__ < 1230) using namespace std; #endif Index: imgconvert.cc =================================================================== RCS file: /cvsroot/wavelet/Wavelet/tools/imgconvert.cc,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** imgconvert.cc 17 Mar 2005 14:30:28 -0000 1.5 --- imgconvert.cc 10 Aug 2005 09:35:23 -0000 1.6 *************** *** 14,18 **** #endif ! #ifndef __WATCOMC__ using namespace std; #endif --- 14,18 ---- #endif ! #if !(defined __WATCOMC__ && __WATCOMC__ < 1230) using namespace std; #endif Index: pgmstats.cc =================================================================== RCS file: /cvsroot/wavelet/Wavelet/tools/pgmstats.cc,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** pgmstats.cc 18 Feb 2005 12:12:25 -0000 1.2 --- pgmstats.cc 10 Aug 2005 09:35:23 -0000 1.3 *************** *** 13,17 **** #include <WTools.hh> ! #ifndef __WATCOMC__ using namespace std; #endif --- 13,17 ---- #include <WTools.hh> ! #if !(defined __WATCOMC__ && __WATCOMC__ < 1230) using namespace std; #endif Index: pgmhist.cc =================================================================== RCS file: /cvsroot/wavelet/Wavelet/tools/pgmhist.cc,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** pgmhist.cc 18 Feb 2005 12:12:25 -0000 1.2 --- pgmhist.cc 10 Aug 2005 09:35:23 -0000 1.3 *************** *** 14,18 **** #include <WTools.hh> ! #ifndef __WATCOMC__ using namespace std; #endif --- 14,18 ---- #include <WTools.hh> ! #if !(defined __WATCOMC__ && __WATCOMC__ < 1230) using namespace std; #endif Index: pgmcount.cc =================================================================== RCS file: /cvsroot/wavelet/Wavelet/tools/pgmcount.cc,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** pgmcount.cc 18 Feb 2005 12:12:25 -0000 1.2 --- pgmcount.cc 10 Aug 2005 09:35:23 -0000 1.3 *************** *** 13,17 **** #include <WTools.hh> ! #ifndef __WATCOMC__ using namespace std; #endif --- 13,17 ---- #include <WTools.hh> ! #if !(defined __WATCOMC__ && __WATCOMC__ < 1230) using namespace std; #endif Index: pgmequalize.cc =================================================================== RCS file: /cvsroot/wavelet/Wavelet/tools/pgmequalize.cc,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** pgmequalize.cc 13 Jul 2005 13:15:07 -0000 1.3 --- pgmequalize.cc 10 Aug 2005 09:35:23 -0000 1.4 *************** *** 14,18 **** #include <WImage.hh> ! #ifndef __WATCOMC__ using namespace std; #endif --- 14,18 ---- #include <WImage.hh> ! #if !(defined __WATCOMC__ && __WATCOMC__ < 1230) using namespace std; #endif Index: vid2pgm.cc =================================================================== RCS file: /cvsroot/wavelet/Wavelet/tools/vid2pgm.cc,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** vid2pgm.cc 29 Mar 2005 16:55:08 -0000 1.4 --- vid2pgm.cc 10 Aug 2005 09:35:23 -0000 1.5 *************** *** 13,17 **** #include <WImage.hh> ! #ifndef __WATCOMC__ using namespace std; #endif --- 13,17 ---- #include <WImage.hh> ! #if !(defined __WATCOMC__ && __WATCOMC__ < 1230) using namespace std; #endif Index: wavepgm.cc =================================================================== RCS file: /cvsroot/wavelet/Wavelet/tools/wavepgm.cc,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** wavepgm.cc 18 Feb 2005 12:12:25 -0000 1.3 --- wavepgm.cc 10 Aug 2005 09:35:23 -0000 1.4 *************** *** 14,18 **** #include <Wave.hh> ! #ifndef __WATCOMC__ using namespace std; #endif --- 14,18 ---- #include <Wave.hh> ! #if !(defined __WATCOMC__ && __WATCOMC__ < 1230) using namespace std; #endif Index: pgmcompare.cc =================================================================== RCS file: /cvsroot/wavelet/Wavelet/tools/pgmcompare.cc,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** pgmcompare.cc 18 Feb 2005 12:12:25 -0000 1.4 --- pgmcompare.cc 10 Aug 2005 09:35:23 -0000 1.5 *************** *** 15,19 **** #include <WTools.hh> ! #ifndef __WATCOMC__ using namespace std; #endif --- 15,19 ---- #include <WTools.hh> ! #if !(defined __WATCOMC__ && __WATCOMC__ < 1230) using namespace std; #endif Index: pgmdiff.cc =================================================================== RCS file: /cvsroot/wavelet/Wavelet/tools/pgmdiff.cc,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** pgmdiff.cc 18 Feb 2005 12:12:25 -0000 1.2 --- pgmdiff.cc 10 Aug 2005 09:35:23 -0000 1.3 *************** *** 12,16 **** #include <WTools.hh> ! #ifndef __WATCOMC__ using namespace std; #endif --- 12,16 ---- #include <WTools.hh> ! #if !(defined __WATCOMC__ && __WATCOMC__ < 1230) using namespace std; #endif Index: pgminmax.cc =================================================================== RCS file: /cvsroot/wavelet/Wavelet/tools/pgminmax.cc,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** pgminmax.cc 18 Feb 2005 12:12:25 -0000 1.2 --- pgminmax.cc 10 Aug 2005 09:35:23 -0000 1.3 *************** *** 13,17 **** #include <WTools.hh> ! #ifndef __WATCOMC__ using namespace std; #endif --- 13,17 ---- #include <WTools.hh> ! #if !(defined __WATCOMC__ && __WATCOMC__ < 1230) using namespace std; #endif Index: pgmpixel.cc =================================================================== RCS file: /cvsroot/wavelet/Wavelet/tools/pgmpixel.cc,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** pgmpixel.cc 18 Feb 2005 12:12:25 -0000 1.2 --- pgmpixel.cc 10 Aug 2005 09:35:23 -0000 1.3 *************** *** 13,17 **** #include <Wave.hh> ! #ifndef __WATCOMC__ using namespace std; #endif --- 13,17 ---- #include <Wave.hh> ! #if !(defined __WATCOMC__ && __WATCOMC__ < 1230) using namespace std; #endif Index: ppm2grey.cc =================================================================== RCS file: /cvsroot/wavelet/Wavelet/tools/ppm2grey.cc,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** ppm2grey.cc 18 Feb 2005 12:12:25 -0000 1.2 --- ppm2grey.cc 10 Aug 2005 09:35:23 -0000 1.3 *************** *** 11,15 **** #include <Wave.hh> ! #ifndef __WATCOMC__ using namespace std; #endif --- 11,15 ---- #include <Wave.hh> ! #if !(defined __WATCOMC__ && __WATCOMC__ < 1230) using namespace std; #endif Index: pgmdenoise.cc =================================================================== RCS file: /cvsroot/wavelet/Wavelet/tools/pgmdenoise.cc,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** pgmdenoise.cc 18 Feb 2005 12:12:25 -0000 1.2 --- pgmdenoise.cc 10 Aug 2005 09:35:23 -0000 1.3 *************** *** 14,18 **** #include <WTools.hh> ! #ifndef __WATCOMC__ using namespace std; #endif --- 14,18 ---- #include <WTools.hh> ! #if !(defined __WATCOMC__ && __WATCOMC__ < 1230) using namespace std; #endif |
From: Herbert M. D. <he...@us...> - 2005-08-10 09:35:31
|
Update of /cvsroot/wavelet/Wavelet/test In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24601/test Modified Files: benchmark.cc coeffinfo.cc colorimage.cc filename.cc histogram.cc image.cc imagearray.cc imagefile.cc imageinfo.cc ntree.cc position.cc transform.cc vectors.cc videos.cc wavelet.cc Log Message: adapted namespace stuff for openwatcom Index: transform.cc =================================================================== RCS file: /cvsroot/wavelet/Wavelet/test/transform.cc,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** transform.cc 18 Feb 2005 12:12:25 -0000 1.2 --- transform.cc 10 Aug 2005 09:35:23 -0000 1.3 *************** *** 22,26 **** #include <math.h> ! #ifndef __WATCOMC__ using namespace std; #endif --- 22,26 ---- #include <math.h> ! #if !(defined __WATCOMC__ && __WATCOMC__ < 1230) using namespace std; #endif Index: imageinfo.cc =================================================================== RCS file: /cvsroot/wavelet/Wavelet/test/imageinfo.cc,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** imageinfo.cc 18 Feb 2005 12:12:25 -0000 1.2 --- imageinfo.cc 10 Aug 2005 09:35:23 -0000 1.3 *************** *** 20,24 **** #include <math.h> ! #ifndef __WATCOMC__ using namespace std; #endif --- 20,24 ---- #include <math.h> ! #if !(defined __WATCOMC__ && __WATCOMC__ < 1230) using namespace std; #endif Index: wavelet.cc =================================================================== RCS file: /cvsroot/wavelet/Wavelet/test/wavelet.cc,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** wavelet.cc 18 Feb 2005 12:12:25 -0000 1.2 --- wavelet.cc 10 Aug 2005 09:35:23 -0000 1.3 *************** *** 25,29 **** #include "Wave/Wavelet.hh" ! #ifndef __WATCOMC__ using namespace std; #endif --- 25,29 ---- #include "Wave/Wavelet.hh" ! #if !(defined __WATCOMC__ && __WATCOMC__ < 1230) using namespace std; #endif Index: ntree.cc =================================================================== RCS file: /cvsroot/wavelet/Wavelet/test/ntree.cc,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** ntree.cc 18 Feb 2005 14:35:50 -0000 1.4 --- ntree.cc 10 Aug 2005 09:35:23 -0000 1.5 *************** *** 16,20 **** #include "WImage/tools.h" ! #ifndef __WATCOMC__ using namespace std; #endif --- 16,20 ---- #include "WImage/tools.h" ! #if !(defined __WATCOMC__ && __WATCOMC__ < 1230) using namespace std; #endif Index: imagefile.cc =================================================================== RCS file: /cvsroot/wavelet/Wavelet/test/imagefile.cc,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** imagefile.cc 18 Feb 2005 12:12:25 -0000 1.2 --- imagefile.cc 10 Aug 2005 09:35:23 -0000 1.3 *************** *** 34,38 **** #include "WImage/debug.h" ! #ifndef __WATCOMC__ using namespace std; #endif --- 34,38 ---- #include "WImage/debug.h" ! #if !(defined __WATCOMC__ && __WATCOMC__ < 1230) using namespace std; #endif Index: benchmark.cc =================================================================== RCS file: /cvsroot/wavelet/Wavelet/test/benchmark.cc,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** benchmark.cc 18 Feb 2005 12:12:25 -0000 1.2 --- benchmark.cc 10 Aug 2005 09:35:23 -0000 1.3 *************** *** 12,16 **** #include <Wave.hh> ! #ifndef __WATCOMC__ using namespace std; #endif --- 12,16 ---- #include <Wave.hh> ! #if !(defined __WATCOMC__ && __WATCOMC__ < 1230) using namespace std; #endif Index: videos.cc =================================================================== RCS file: /cvsroot/wavelet/Wavelet/test/videos.cc,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** videos.cc 18 Feb 2005 12:12:25 -0000 1.7 --- videos.cc 10 Aug 2005 09:35:23 -0000 1.8 *************** *** 26,30 **** #include "Wave/Filter.hh" ! #ifndef __WATCOMC__ using namespace std; #endif --- 26,30 ---- #include "Wave/Filter.hh" ! #if !(defined __WATCOMC__ && __WATCOMC__ < 1230) using namespace std; #endif Index: position.cc =================================================================== RCS file: /cvsroot/wavelet/Wavelet/test/position.cc,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** position.cc 18 Feb 2005 12:12:25 -0000 1.2 --- position.cc 10 Aug 2005 09:35:23 -0000 1.3 *************** *** 16,20 **** #include <iostream> ! #ifndef __WATCOMC__ using namespace std; #endif --- 16,20 ---- #include <iostream> ! #if !(defined __WATCOMC__ && __WATCOMC__ < 1230) using namespace std; #endif Index: image.cc =================================================================== RCS file: /cvsroot/wavelet/Wavelet/test/image.cc,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** image.cc 18 Feb 2005 12:12:25 -0000 1.3 --- image.cc 10 Aug 2005 09:35:23 -0000 1.4 *************** *** 19,23 **** #include "WImage/StillImage.hh" ! #ifndef __WATCOMC__ using namespace std; #endif --- 19,23 ---- #include "WImage/StillImage.hh" ! #if !(defined __WATCOMC__ && __WATCOMC__ < 1230) using namespace std; #endif Index: imagearray.cc =================================================================== RCS file: /cvsroot/wavelet/Wavelet/test/imagearray.cc,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** imagearray.cc 18 Feb 2005 12:12:25 -0000 1.2 --- imagearray.cc 10 Aug 2005 09:35:23 -0000 1.3 *************** *** 22,26 **** #include "../ImageArray.cc" ! #ifndef __WATCOMC__ using namespace std; #endif --- 22,26 ---- #include "../ImageArray.cc" ! #if !(defined __WATCOMC__ && __WATCOMC__ < 1230) using namespace std; #endif Index: colorimage.cc =================================================================== RCS file: /cvsroot/wavelet/Wavelet/test/colorimage.cc,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** colorimage.cc 18 Feb 2005 12:12:25 -0000 1.2 --- colorimage.cc 10 Aug 2005 09:35:23 -0000 1.3 *************** *** 15,19 **** #include "WImage/ColorImage.hh" ! #ifndef __WATCOMC__ using namespace std; #endif --- 15,19 ---- #include "WImage/ColorImage.hh" ! #if !(defined __WATCOMC__ && __WATCOMC__ < 1230) using namespace std; #endif Index: coeffinfo.cc =================================================================== RCS file: /cvsroot/wavelet/Wavelet/test/coeffinfo.cc,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** coeffinfo.cc 18 Oct 2004 11:20:20 -0000 1.1 --- coeffinfo.cc 10 Aug 2005 09:35:23 -0000 1.2 *************** *** 15,19 **** #include <iostream> ! #ifndef __WATCOMC__ using namespace std; #endif --- 15,19 ---- #include <iostream> ! #if !(defined __WATCOMC__ && __WATCOMC__ < 1230) using namespace std; #endif Index: filename.cc =================================================================== RCS file: /cvsroot/wavelet/Wavelet/test/filename.cc,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** filename.cc 18 Feb 2005 13:05:25 -0000 1.3 --- filename.cc 10 Aug 2005 09:35:23 -0000 1.4 *************** *** 16,20 **** #include <iostream> ! #ifndef __WATCOMC__ using namespace std; #endif --- 16,20 ---- #include <iostream> ! #if !(defined __WATCOMC__ && __WATCOMC__ < 1230) using namespace std; #endif Index: histogram.cc =================================================================== RCS file: /cvsroot/wavelet/Wavelet/test/histogram.cc,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** histogram.cc 18 Feb 2005 12:12:25 -0000 1.2 --- histogram.cc 10 Aug 2005 09:35:23 -0000 1.3 *************** *** 18,22 **** #include <stdexcept> ! #ifndef __WATCOMC__ using namespace std; #endif --- 18,22 ---- #include <stdexcept> ! #if !(defined __WATCOMC__ && __WATCOMC__ < 1230) using namespace std; #endif Index: vectors.cc =================================================================== RCS file: /cvsroot/wavelet/Wavelet/test/vectors.cc,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** vectors.cc 18 Feb 2005 12:12:25 -0000 1.2 --- vectors.cc 10 Aug 2005 09:35:23 -0000 1.3 *************** *** 24,28 **** #include "WImage/ColumnVector.hh" ! #ifndef __WATCOMC__ using namespace std; #endif --- 24,28 ---- #include "WImage/ColumnVector.hh" ! #if !(defined __WATCOMC__ && __WATCOMC__ < 1230) using namespace std; #endif |
From: Herbert M. D. <he...@us...> - 2005-07-19 08:41:24
|
Update of /cvsroot/wavelet/Wavelet/WImage In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13344/WImage Modified Files: Image.hh Log Message: Doxygen fixes. Index: Image.hh =================================================================== RCS file: /cvsroot/wavelet/Wavelet/WImage/Image.hh,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -d -r1.14 -r1.15 *** Image.hh 14 Jul 2005 17:06:19 -0000 1.14 --- Image.hh 19 Jul 2005 08:41:06 -0000 1.15 *************** *** 195,200 **** * @return * the gamma value - (use it to undo operation if needed) */ ! double gammaCorrectionAuto ( int row , int columns , int yoffs = 0 , ! int xoffs = 0 , int ysize = -1 ,int xsize = -1,int norm = 255); /** Perform a histogram equalisation. --- 195,201 ---- * @return * the gamma value - (use it to undo operation if needed) */ ! double gammaCorrectionAuto (int rows, int columns, int yoffs = 0, ! int xoffs = 0, int ysize = -1,int xsize = -1, ! int norm = 255); /** Perform a histogram equalisation. *************** *** 205,209 **** * for Haar non LL Level 1. * Code provided by Johan Ehlers. ! * @waring * Use unnormalised coefficients else the operation has un-determinable * results. --- 206,210 ---- * for Haar non LL Level 1. * Code provided by Johan Ehlers. ! * @warning * Use unnormalised coefficients else the operation has un-determinable * results. |
From: Herbert M. D. <he...@us...> - 2005-07-15 08:44:01
|
Update of /cvsroot/wavelet/Wavelet In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7329 Modified Files: Image.cc Log Message: Slightly changed Image::gammaCorrection() again: should work now with minimum less than zero. Index: Image.cc =================================================================== RCS file: /cvsroot/wavelet/Wavelet/Image.cc,v retrieving revision 1.20 retrieving revision 1.21 diff -C2 -d -r1.20 -r1.21 *** Image.cc 14 Jul 2005 17:06:18 -0000 1.20 --- Image.cc 15 Jul 2005 08:43:53 -0000 1.21 *************** *** 247,264 **** int iMin = tools_coeff2int (min - 0.5); - iMin = MIN (0,iMin); - int iMax = tools_coeff2int (max); ! iMax = MAX (norm,iMax); ! norm = iMax-iMin; coeff normCoeff = (coeff)norm; ! coeff * replaceTable = replaceTable = NEW (coeff[norm+1]); for (int i = 0; i <= norm; i++) { ! replaceTable[i] = tools_coeff2int ! (norm * pow ((coeff)(i+iMin) / normCoeff, 1.0 / factor)); } --- 247,264 ---- int iMin = tools_coeff2int (min - 0.5); int iMax = tools_coeff2int (max); ! ! iMin = MIN (0, iMin); ! iMax = MAX (norm, iMax); ! norm = iMax - iMin; coeff normCoeff = (coeff)norm; ! coeff * replaceTable = replaceTable = NEW (coeff[norm + 1]); for (int i = 0; i <= norm; i++) { ! replaceTable[i] = tools_coeff2int (norm * pow ((coeff)(i) / normCoeff, ! 1.0 / factor)) + iMin; } *************** *** 267,271 **** for ( int x = xoffs; x < toX ; x++ ) { ! to (y, x, replaceTable[(int)(at (y,x)+iMin)]); } } --- 267,271 ---- for ( int x = xoffs; x < toX ; x++ ) { ! to (y, x, replaceTable[(int)(at (y, x) + iMin)]); } } |
From: Johan H. E. <bo...@us...> - 2005-07-14 17:06:31
|
Update of /cvsroot/wavelet/Wavelet/WImage In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20708/WImage Modified Files: Image.hh Log Message: Image class: Gamma correction now also has ability to work on other predefined normalization ranges oppose to default range of (0..255.). Index: Image.hh =================================================================== RCS file: /cvsroot/wavelet/Wavelet/WImage/Image.hh,v retrieving revision 1.13 retrieving revision 1.14 diff -C2 -d -r1.13 -r1.14 *** Image.hh 13 Jul 2005 13:55:53 -0000 1.13 --- Image.hh 14 Jul 2005 17:06:19 -0000 1.14 *************** *** 151,158 **** /** Perform a gamma correction. Since this is normally only defined for the * spatial domain (the pixels need to be normalized) the normalization factor ! * is assumed to be 255, but only if all values found in the image are within ! * the [0..255] range. If they are not, a normalization factor is * automatically calculated as the difference between the image's maximum ! * and minimum coefficient value. * @param factor * the gamma factor (0..1.0) --- 151,159 ---- /** Perform a gamma correction. Since this is normally only defined for the * spatial domain (the pixels need to be normalized) the normalization factor ! * is set to 255 by default, if values are found in the image outside the ! * specified [0..norm] range, the range will be increased. ! * If the range is increased a new normalization factor is * automatically calculated as the difference between the image's maximum ! * (if more than norm) and minimum (if less than 0) coefficient value. * @param factor * the gamma factor (0..1.0) *************** *** 164,170 **** * the horizontal offset of the region to process * @param xoffs ! * the vertical offset of the region to process */ virtual void gammaCorrection (double factor, int yoffs = 0, int xoffs = 0, ! int ysize = -1, int xsize = -1); /** Does a automatic gamma correction. This function breaks the image up into --- 165,174 ---- * the horizontal offset of the region to process * @param xoffs ! * the vertical offset of the region to process ! * @param norm ! * the normalization factor ( default = 255 )*/ virtual void gammaCorrection (double factor, int yoffs = 0, int xoffs = 0, ! int ysize = -1, int xsize = -1, ! int norm = 255); /** Does a automatic gamma correction. This function breaks the image up into *************** *** 187,195 **** * @param xsize * Horizontal size * @return * the gamma value - (use it to undo operation if needed) */ double gammaCorrectionAuto ( int row , int columns , int yoffs = 0 , ! int xoffs = 0 , int ysize = -1 , ! int xsize = -1 ); /** Perform a histogram equalisation. --- 191,200 ---- * @param xsize * Horizontal size + * @param norm + * the normalization factor ( default = 255 ) * @return * the gamma value - (use it to undo operation if needed) */ double gammaCorrectionAuto ( int row , int columns , int yoffs = 0 , ! int xoffs = 0 , int ysize = -1 ,int xsize = -1,int norm = 255); /** Perform a histogram equalisation. |
From: Johan H. E. <bo...@us...> - 2005-07-14 17:06:30
|
Update of /cvsroot/wavelet/Wavelet In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20708 Modified Files: Image.cc Log Message: Image class: Gamma correction now also has ability to work on other predefined normalization ranges oppose to default range of (0..255.). Index: Image.cc =================================================================== RCS file: /cvsroot/wavelet/Wavelet/Image.cc,v retrieving revision 1.19 retrieving revision 1.20 diff -C2 -d -r1.19 -r1.20 *** Image.cc 13 Jul 2005 15:20:30 -0000 1.19 --- Image.cc 14 Jul 2005 17:06:18 -0000 1.20 *************** *** 221,225 **** void Image::gammaCorrection (double factor, int yoffs, int xoffs, ! int ysize, int xsize) { if (yoffs < 0 || yoffs >= rows ()) --- 221,225 ---- void Image::gammaCorrection (double factor, int yoffs, int xoffs, ! int ysize, int xsize, int norm) { if (yoffs < 0 || yoffs >= rows ()) *************** *** 245,276 **** coeff min = smin (yoffs, xoffs, toY, toX); coeff max = smax (yoffs, xoffs, toY, toX); - coeff amin = fabs (min); - int iMin = tools_coeff2int (min - 0.5); - int iMax = tools_coeff2int (max + 0.5); - coeff norm = 255.0; - coeff lift = 0.0; - coeff cRange = max - min; - int tableSize = (int)(cRange + 0.5); ! coeff *replaceTable = NEW (coeff[tableSize]); ! if (iMin >= 0 && iMax <= 255) ! { ! norm = cRange; ! } ! if (iMin < 0) { ! lift = amin; } ! replaceTable[0] = 0.0; ! for (int i = 1; i < tableSize; i++) ! { ! replaceTable[i] = norm * pow ((coeff)i / norm, 1.0 / factor) - lift; ! } ! for (int i = 0; i < m_xysize; i++) { ! to (i , replaceTable[(int)(at (i) + lift)]); } --- 245,272 ---- coeff min = smin (yoffs, xoffs, toY, toX); coeff max = smax (yoffs, xoffs, toY, toX); ! int iMin = tools_coeff2int (min - 0.5); ! iMin = MIN (0,iMin); ! ! int iMax = tools_coeff2int (max); ! iMax = MAX (norm,iMax); ! ! norm = iMax-iMin; ! coeff normCoeff = (coeff)norm; ! coeff * replaceTable = replaceTable = NEW (coeff[norm+1]); ! for (int i = 0; i <= norm; i++) { ! replaceTable[i] = tools_coeff2int ! (norm * pow ((coeff)(i+iMin) / normCoeff, 1.0 / factor)); } ! for (int y = yoffs; y < toY; y++) { ! for ( int x = xoffs; x < toX ; x++ ) ! { ! to (y, x, replaceTable[(int)(at (y,x)+iMin)]); ! } } *************** *** 279,284 **** double ! Image::gammaCorrectionAuto ( int rows , int columns , int yoffs, ! int xoffs, int ysize, int xsize) { if ((yoffs < 0) || (yoffs >= this->rows ())) --- 275,280 ---- double ! Image::gammaCorrectionAuto ( int rows, int columns, int yoffs, ! int xoffs, int ysize, int xsize, int norm) { if ((yoffs < 0) || (yoffs >= this->rows ())) *************** *** 354,358 **** double gammaContrast = 1 - ((float)(max - min) / (max + min)); ! gammaCorrection (1.0 / gammaContrast , yoffs , xoffs , ysize , xsize); return gammaContrast; --- 350,354 ---- double gammaContrast = 1 - ((float)(max - min) / (max + min)); ! gammaCorrection (1.0 / gammaContrast , yoffs , xoffs , ysize , xsize, norm); return gammaContrast; |
From: Herbert M. D. <he...@us...> - 2005-07-13 15:20:47
|
Update of /cvsroot/wavelet/Wavelet In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv985 Modified Files: Image.cc Log Message: Fix to Image::gammaCorrection(), did not work with values < 0. Index: Image.cc =================================================================== RCS file: /cvsroot/wavelet/Wavelet/Image.cc,v retrieving revision 1.18 retrieving revision 1.19 diff -C2 -d -r1.18 -r1.19 *** Image.cc 13 Jul 2005 13:55:53 -0000 1.18 --- Image.cc 13 Jul 2005 15:20:30 -0000 1.19 *************** *** 246,251 **** coeff max = smax (yoffs, xoffs, toY, toX); coeff amin = fabs (min); ! int iMin = tools_coeff2pixel (min - 0.5); ! int iMax = tools_coeff2pixel (max + 0.5); coeff norm = 255.0; coeff lift = 0.0; --- 246,251 ---- coeff max = smax (yoffs, xoffs, toY, toX); coeff amin = fabs (min); ! int iMin = tools_coeff2int (min - 0.5); ! int iMax = tools_coeff2int (max + 0.5); coeff norm = 255.0; coeff lift = 0.0; |