Displaying 1 result from an estimated 1 matches for "imquickthresh".
Did you mean:
rimquickthresh
2001 Mar 01
0
Finalization and external pointer objects
...d like to discuss how best to fit it into my package. I'll
start with how my package is structured - an image is represented by an
integer with a class of "image". This is actually a pointer to a C
abstract data type. Most imaging functions in my library have a form
like this
IMAGE *imquickthresh(const IMAGE *src, IMAGE *target, float p1, int p2);
the target parameter is optional and never used from R.
This is made appropriate for a .C call like this
Rimquickthresh(IMAGE **output, IMAGE **src, Sfloat *p1, Sint *p2)
{
IMAGE *dummy;
dummy = imquickthresh(*src, NULL, (float)(*p1), (int...