IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Aug 5, 2009, 2:58:25 PM (17 years ago)
Author:
bills
Message:

For speed: save the pixels to be masked due to streaks in an image instead of
an array.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/magic/remove/src/streaksextern.c

    r24382 r25001  
    3434    int i;
    3535    Line line;
    36     StreakPixels *pixels = psArrayAllocEmpty (1024);
     36    StreakPixels *pixels = psImageAlloc(numCols, numRows, PS_TYPE_U8);
     37    psImageInit(pixels, 0);
    3738    int streaksOnComponent = 0;
    3839
Note: See TracChangeset for help on using the changeset viewer.