IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 18361


Ignore:
Timestamp:
Jun 29, 2008, 2:47:20 PM (18 years ago)
Author:
eugene
Message:

ppImage fails on mask normalization; just do a copy

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippScripts/scripts/detrend_norm_apply.pl

    r18128 r18361  
    125125# Run normalisation
    126126unless ($no_op) {
     127
     128    # we cannot use ppImage to load a normalized mask : just copy it and build the jpeg images
     129    if ($det_type_real eq 'mask') {
     130        $RECIPE_PPIMAGE = 'PPIMAGE_BIN';
     131        my $input_real = $ipprc->file_resolve($input_uri, 0);
     132        my $output_real = $ipprc->file_resolve($output, 1);
     133        system ("cp $input_real $output_real");
     134    }
     135
    127136    my $command = "$ppImage -file $input_uri $outroot";
    128137    $command .= " -norm $value -stats $statsName";
Note: See TracChangeset for help on using the changeset viewer.