src/dewarp.c
l_int32
dewarpMinimize(L_DEWARP  *dew)
{
    PROCNAME("dewarpMinimize");

    if (!dew)
        return ERROR_INT("dew not defined", procName, 1);

    pixDestroy(&dew->pixs);
    pixDestroy(&dew->pixd);
    fpixDestroy(&dew->fullvdispar);
    fpixDestroy(&dew->fullhdispar);
    numaDestroy(&dew->naflats);
    numaDestroy(&dew->nacurves);
    return 0;
}
/*!
 *  dewarpMinimize()
 *
 *      Input:  dew
 *      Return: 0 if OK, 1 on error
 *
 *  Notes:
 *      (1) This removes all data that is not needed for serialization.
 *          It keeps the subsampled disparity array(s), so the full
 *          resolution arrays can be reconstructed.
 */
dewarpMinimize()
Input:  dew
Return: 0 if OK, 1 on error

(1) This removes all data that is not needed for serialization.
It keeps the subsampled disparity array(s), so the full
resolution arrays can be reconstructed.
dewarpMinimize () Input : dew Return : 0 if OK 1 on error ( 1 ) This removes all data that is not needed for serialization . It keeps the subsampled disparity array ( s ) so the full resolution arrays can be reconstructed .
l_int32
dewarpMinimize(L_DEWARP  *dew)
{
    PROCNAME("dewarpMinimize");
    if (!dew)
        return ERROR_INT("dew not defined", procName, 1);
    pixDestroy(&dew->pixs);
    pixDestroy(&dew->pixd);
    fpixDestroy(&dew->fullvdispar);
    fpixDestroy(&dew->fullhdispar);
    numaDestroy(&dew->naflats);
    numaDestroy(&dew->nacurves);
    return 0;
}
l_int32 dewarpMinimize ( L_DEWARP * dew ) { PROCNAME ( " " ) ; if ( ! dew ) return ERROR_INT ( " " , procName , 1 ) ; pixDestroy ( & dew -> pixs ) ; pixDestroy ( & dew -> pixd ) ; fpixDestroy ( & dew -> fullvdispar ) ; fpixDestroy ( & dew -> fullhdispar ) ; numaDestroy ( & dew -> naflats ) ; numaDestroy ( & dew -> nacurves ) ; return 0 ; }
dewarpMinimize()
      Input:  dew
      Return: 0 if OK, 1 on error
dewarpMinimize () Input : dew Return : 0 if OK 1 on error