Changeset 4699 for trunk/MagicSoft/Cosy
- Timestamp:
- 08/23/04 09:32:08 (20 years ago)
- Location:
- trunk/MagicSoft/Cosy
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Cosy/Changelog
r4617 r4699 1 1 -*-*- END -*-*- 2 3 2004/08/23 - Thomas Bretz 4 5 * videodev/FilterLed.cc: 6 - tried to fix a possible crash in FindStar. Maybe the edges 7 exceeded the area of the image in memory 8 9 2 10 3 11 2004/08/16 - Thomas Bretz -
trunk/MagicSoft/Cosy/videodev/FilterLed.cc
r4105 r4699 367 367 // 368 368 // Define outer box (excluding inner box) having almost 369 // the same nu ymber of pixels in which the background369 // the same number of pixels in which the background 370 370 // is calculated 371 371 // … … 391 391 392 392 int n=0; 393 for (int x=xa; x<xb +1; x++)394 for (int y=ya; y<yb +1; y++)395 { 396 if (x> x0 && x<x1 && y>y0 && y<y1)393 for (int x=xa; x<xb; x++) 394 for (int y=ya; y<yb; y++) 395 { 396 if (x>=x0 && x<x1 && y>=y0 && y<y1) 397 397 continue; 398 398 … … 429 429 // Mark the background region 430 430 // 431 for (int x=xa; x<xb +1; x+=2)431 for (int x=xa; x<xb; x+=2) 432 432 { 433 433 fImg[ya*fW+x]=0xf0; 434 434 fImg[yb*fW+x]=0xf0; 435 435 } 436 for (int y=ya; y<yb +1; y+=2)436 for (int y=ya; y<yb; y+=2) 437 437 { 438 438 fImg[y*fW+xa]=0xf0;
Note:
See TracChangeset
for help on using the changeset viewer.