IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Opened 21 years ago

Closed 21 years ago

Last modified 20 years ago

#588 closed defect (fixed)

psImageSmooth only works for psF64, needs at least psF32

Reported by: eugene Owned by: eugene
Priority: high Milestone:
Component: imageops Version: 0.8.0
Severity: normal Keywords:
Cc: robert.desonia@…

Description

the required data types for psImageSmooth are not specified in the SDRS. It was
implemented with only psF64. We need at least psF32. Since images which would
be smoothed with this function are large, and thus unlikely to be psF64, let's
make this function valid for psF32 and drop psF64 for now.

Change History (2)

comment:1 by robert.desonia@…, 21 years ago

Owner: changed from robert.desonia@… to eugene

Macroized the routine to support both F32 and F64.

While doing that, I had to add a check of type. If it is not F32 or F64, I print an error message, but the
function doesn't return a value. It probably should be define to return a bool to mark success.

What do you think?

-rdd

comment:2 by Paul Price, 21 years ago

Cc: robert.desonia@… added
Resolution: fixed
Status: newclosed

Sounds good --- changed:

bool psImageSmooth(psImage *image, double sigma, double Nsigma);

Note: See TracTickets for help on using tickets.