Changeset 12079 for trunk/ippScripts/scripts/detrend_reject_imfile.pl
- Timestamp:
- Feb 27, 2007, 10:13:31 AM (19 years ago)
- File:
-
- 1 edited
-
trunk/ippScripts/scripts/detrend_reject_imfile.pl (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippScripts/scripts/detrend_reject_imfile.pl
r11837 r12079 96 96 $workdir = $ipprc->convert_filename_absolute( $workdir ); 97 97 } else { 98 my $example = ${$files}[0]->{ b1_uri}; # Example original root name98 my $example = ${$files}[0]->{path_base}; # Example original root name 99 99 my ($vol, $dir, $file) = File::Spec->splitpath( $example ); 100 100 $workdir = $dir; … … 114 114 open my $list2File, '>' . $list2Name; 115 115 foreach my $file (@$files) { 116 my $origRoot = $ipprc->convert_filename_absolute( $file->{ b1_uri} ); # Original root name116 my $origRoot = $ipprc->convert_filename_absolute( $file->{path_base} ); # Original root name 117 117 print $list1File ($ipprc->filename( "PPIMAGE.BIN1", $origRoot, $file->{class_id} ) . "\n"); 118 118 print $list2File ($ipprc->filename( "PPIMAGE.BIN2", $origRoot, $file->{class_id} ) . "\n"); … … 283 283 284 284 # Add the result into the database 285 $jpeg1Name = $ipprc->convert_filename_relative( $jpeg1Name ); 286 $jpeg2Name = $ipprc->convert_filename_relative( $jpeg2Name ); 285 $outputRoot = $ipprc->convert_filename_relative( $outputRoot ); 287 286 288 287 my $bg = $mean; … … 292 291 unless ($no_update) { 293 292 my $command = "$dettool -addresidexp -det_id $det_id -iteration $iter -exp_tag $exp_tag " . 294 "-recip " . RECIPE1() . "," . RECIPE2() . " - b1_uri$outputRoot "; # Command to run293 "-recip " . RECIPE1() . "," . RECIPE2() . " -path_base $outputRoot "; # Command to run 295 294 $command .= " -bg $bg -bg_stdev $bg_stdev -bg_mean_stdev $bg_mean_stdev"; 296 295 $command .= ' -reject' if $reject;
Note:
See TracChangeset
for help on using the changeset viewer.
