IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Opened 21 years ago

Closed 21 years ago

Last modified 21 years ago

#382 closed enhancement (fixed)

psImage and psVector utility functions

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

Description

I added some utility functions to psImage and psVector:

psF64 p_psImageGetElementF64(psImage* image,

int col,
int row)

(modeled on p_psVectorGetElementF64)

bool p_psVectorPrint (FILE *f, psVector *a, char *name) {
bool p_psImagePrint (FILE *f, psImage *a, char *name) {

the latter two are useful for tracing. I am attaching the code

Attachments (1)

utils.c (1.6 KB ) - added by eugene 21 years ago.
psImage and psVector utilities

Download all attachments as: .zip

Change History (2)

by eugene, 21 years ago

Attachment: utils.c added

psImage and psVector utilities

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

Resolution: fixed
Status: newclosed

folded the functions into CVS.

For p_psVectorPrint: did you want to change it to use psVectorToString instead?

It outputs the vector in a more MATLAB-like format.

-rdd

Note: See TracTickets for help on using tickets.