Changeset 11394 for trunk/ippScripts/scripts/detrend_process_exp.pl
- Timestamp:
- Jan 29, 2007, 1:11:35 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/ippScripts/scripts/detrend_process_exp.pl (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippScripts/scripts/detrend_process_exp.pl
r11360 r11394 109 109 $workdir = $ipprc->convert_filename_absolute( $workdir ); 110 110 } else { 111 my $example = ${$files}[0]->{b1_uri}; # Example filename111 my $example = ${$files}[0]->{b1_uri}; # Example original root name 112 112 my ($vol, $dir, $file) = File::Spec->splitpath( $example ); 113 113 $workdir = $dir; … … 124 124 open my $list2File, '>' . $list2Name; 125 125 foreach my $file (@$files) { 126 print $list1File ($ipprc->convert_filename_absolute( $file->{b1_uri} ) . "\n"); 127 print $list2File ($ipprc->convert_filename_absolute( $file->{b2_uri} ) . "\n"); 126 my $origRoot = $ipprc->convert_filename_absolute( $file->{b1_uri} ); # Original root name 127 print $list1File ($ipprc->filename( "PPIMAGE.BIN1", $origRoot, $file->{class_id} ) . "\n"); 128 print $list2File ($ipprc->filename( "PPIMAGE.BIN2", $origRoot, $file->{class_id} ) . "\n"); 128 129 push @means, $file->{bg}; 129 130 push @stdevs, $file->{bg_stdev}; … … 167 168 unless ($no_update) { 168 169 my $command = "$dettool -addprocessedexp -det_id $det_id -exp_tag $exp_tag " . 169 "-recip " . RECIPE1() . "," . RECIPE2() . " -b1_uri $ jpeg1 -b2_uri $jpeg2" .170 "-recip " . RECIPE1() . "," . RECIPE2() . " -b1_uri $outputRoot " . 170 171 "-bg $bg -bg_stdev $bg_stdev -bg_mean_stdev $bg_mean_stdev"; # Command to run 171 172 $command .= " -dbname $dbname" if defined $dbname;
Note:
See TracChangeset
for help on using the changeset viewer.
