Changeset 10419 for trunk/ippScripts/scripts/detrend_norm_apply.pl
- Timestamp:
- Dec 3, 2006, 8:42:44 AM (19 years ago)
- File:
-
- 1 edited
-
trunk/ippScripts/scripts/detrend_norm_apply.pl (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippScripts/scripts/detrend_norm_apply.pl
r9959 r10419 59 59 60 60 my ($vol, $dir, $file) = File::Spec->splitpath( $input ); 61 $input = File::Spec->rel2abs( $input, $ipprc->workdir());61 $input = $ipprc->convert_filename ( $input ); 62 62 63 63 # Output name 64 64 my $outputRoot = $camera . '.' . $detType . '.norm.' . $detId . '.' . $iter; # Root output name 65 $outputRoot = File::Spec->rel2abs( File::Spec->catpath( $vol, $dir, $outputRoot ), $ipprc->workdir() ); 65 $outputRoot = File::Spec->catpath( $vol, $dir, $outputRoot ); 66 $outputRoot = $ipprc->convert_filename ($outputRoot); 66 67 67 68 my $output = $ipprc->filename("PPIMAGE.OUTPUT", $outputRoot, $classId); … … 99 100 100 101 # Update the database 101 $output = File::Spec->abs2rel( $output, $ipprc->workdir());102 $b1name = File::Spec->abs2rel( $b1name, $ipprc->workdir());103 $b2name = File::Spec->abs2rel( $b2name, $ipprc->workdir());102 $output = $ipprc->convert_filename ( $output ); 103 $b1name = $ipprc->convert_filename ( $b1name ); 104 $b2name = $ipprc->convert_filename ( $b2name ); 104 105 unless ($no_update) { 105 106 my $command = "$dettool -addnormalizedimfile -det_id $detId -iteration $iter -class_id $classId ".
Note:
See TracChangeset
for help on using the changeset viewer.
