Changeset 12079 for trunk/ippScripts/scripts/detrend_norm_exp.pl
- Timestamp:
- Feb 27, 2007, 10:13:31 AM (19 years ago)
- File:
-
- 1 edited
-
trunk/ippScripts/scripts/detrend_norm_exp.pl (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippScripts/scripts/detrend_norm_exp.pl
r11837 r12079 118 118 $workdir = $ipprc->convert_filename_absolute( $workdir ); 119 119 } else { 120 my $example = ${$files}[0]->{ b1_uri}; # Example file, for path120 my $example = ${$files}[0]->{path_base}; # Example file, for path 121 121 my ($vol, $dir, $file) = File::Spec->splitpath( $example ); 122 122 $workdir = $dir; … … 135 135 open my $list2File, '>' . $list2Name; 136 136 foreach my $file (@$files) { 137 my $origRoot = $ipprc->convert_filename_absolute( $file->{ b1_uri} ); # Original root name137 my $origRoot = $ipprc->convert_filename_absolute( $file->{path_base} ); # Original root name 138 138 print $list1File ( $ipprc->filename( "PPIMAGE.BIN1", $origRoot, $file->{class_id} ) . "\n"); 139 139 print $list2File ( $ipprc->filename( "PPIMAGE.BIN2", $origRoot, $file->{class_id} ) . "\n"); … … 167 167 168 168 # Add the result into the database 169 $ jpeg1Name = $ipprc->convert_filename_relative( $jpeg1Name);170 $jpeg2Name = $ipprc->convert_filename_relative( $jpeg2Name ); 169 $outputRoot = $ipprc->convert_filename_relative( $outputRoot ); 170 171 171 unless ($no_update) { 172 172 my $command = "$dettool -addnormalizedexp -det_id $det_id -iteration $iter " . 173 "-recip " . RECIPE1() . "," . RECIPE2() . " - b1_uri$outputRoot " .173 "-recip " . RECIPE1() . "," . RECIPE2() . " -path_base $outputRoot " . 174 174 "-bg $bg -bg_stdev $bg_stdev -bg_mean_stdev $bg_mean_stdev"; # Command to run 175 175 $command .= " -dbname $dbname" if defined $dbname;
Note:
See TracChangeset
for help on using the changeset viewer.
