Changeset 9237 for trunk/ippScripts/scripts/detrend_norm_exp.pl
- Timestamp:
- Oct 4, 2006, 12:48:16 PM (20 years ago)
- File:
-
- 1 edited
-
trunk/ippScripts/scripts/detrend_norm_exp.pl (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippScripts/scripts/detrend_norm_exp.pl
r9234 r9237 105 105 open my $list2File, '>' . $list2Name; 106 106 foreach my $file (@$files) { 107 print $list1File File::Spec- ->rel2abs( $file->{b1_uri}, $ipprc->workdir() ) . "\n";108 print $list2File File::Spec- ->rel2abs( $file->{b2_uri}, $ipprc->workdir() ) . "\n";107 print $list1File File::Spec->rel2abs( $file->{b1_uri}, $ipprc->workdir() ) . "\n"; 108 print $list2File File::Spec->rel2abs( $file->{b2_uri}, $ipprc->workdir() ) . "\n"; 109 109 push @means, $file->{bg}; 110 110 push @stdevs, $file->{bg_stdev}; … … 137 137 $jpeg2Name = File::Spec->abs2rel( $jpeg2Name, $ipprc->workdir() ); 138 138 unless ($no_update) { 139 my $command = "$dettool -addnorm exp -det_id $det_id -iteration $iter " .139 my $command = "$dettool -addnormalizedexp -det_id $det_id -iteration $iter " . 140 140 "-recip " . RECIPE1() . "," . RECIPE2() . " -b1_uri $jpeg1Name -b2_uri $jpeg2Name " . 141 141 "-bg $bg -bg_stdev $bg_stdev -bg_mean_stdev $bg_mean_stdev"; # Command to run 142 142 my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) = 143 143 run(command => $command, verbose => 1); 144 die "Unable to perform dettool -addnorm exp: $error_code\n" if not $success;144 die "Unable to perform dettool -addnormalizedexp: $error_code\n" if not $success; 145 145 146 146 unlink $list1Name;
Note:
See TracChangeset
for help on using the changeset viewer.
