Changeset 28732 for trunk/ippScripts/scripts/dist_bundle.pl
- Timestamp:
- Jul 28, 2010, 1:05:21 PM (16 years ago)
- File:
-
- 1 edited
-
trunk/ippScripts/scripts/dist_bundle.pl (modified) (7 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippScripts/scripts/dist_bundle.pl
r28536 r28732 237 237 if ($stage ne "raw") { 238 238 &my_die("no mask image found in file list", $component, $PS_EXIT_CONFIG_ERROR) if !$mask; 239 &my_die("no variance image found in file list", $component, $PS_EXIT_CONFIG_ERROR) if !$variance; 239 if (($stage ne "chip_bg") and ($stage ne "warp_bg")) { 240 &my_die("no variance image found in file list", $component, $PS_EXIT_CONFIG_ERROR) if !$variance; 241 } 240 242 } 241 243 … … 254 256 } 255 257 256 my $command = "$streaksrelease -stage $stage -image $image -outroot $tmpdir"; 258 my $release_stage; 259 if ($stage eq "chip_bg") { 260 $release_stage = 'chip'; 261 } elsif ($stage eq 'warp_bg') { 262 $release_stage = 'warp'; 263 } else { 264 $release_stage = $stage; 265 } 266 267 268 my $command = "$streaksrelease -stage $release_stage -image $image -outroot $tmpdir"; 257 269 $command .= " -class_id $class_id" if $class_id; 258 270 $command .= " -mask $mask" if $mask; … … 266 278 } 267 279 if ($inv_image) { 268 $command = "$streaksrelease -stage $ stage -image $inv_image -outroot $tmpdir";280 $command = "$streaksrelease -stage $release_stage -image $inv_image -outroot $tmpdir"; 269 281 $command .= " -mask $inv_mask" if $inv_mask; 270 282 $command .= " -weight $inv_variance" if $inv_variance; … … 345 357 } elsif ($stage eq "chip") { 346 358 $type = $chip_cleaned{$rule}; 359 } elsif ($stage eq "chip_bg") { 360 $type = $chip_bg_cleaned{$rule}; 347 361 } elsif ($stage eq "camera") { 348 362 $type = $camera_cleaned{$rule}; … … 351 365 } elsif ($stage eq "warp") { 352 366 $type = $warp_cleaned{$rule}; 367 } elsif ($stage eq "warp_bg") { 368 $type = $warp_bg_cleaned{$rule}; 353 369 } elsif ($stage eq "diff") { 354 370 $type = $diff_cleaned{$rule}; … … 420 436 if ($stage eq "chip") { 421 437 $config_file_rule = "PPIMAGE.CONFIG"; 422 } elsif ($stage eq "chip ") {438 } elsif ($stage eq "chip_bg") { 423 439 $config_file_rule = "PPBACKGROUND.CONFIG"; 424 440 } elsif ($stage eq "camera") { … … 430 446 $config_file_rule = "PSWARP.CONFIG"; 431 447 } elsif ($stage eq "warp_bg") { 432 $config_file_rule = "P SWARP.CONFIG";448 $config_file_rule = "PPBACKGROUND.CONFIG"; 433 449 } elsif ($stage eq "diff") { 434 450 $config_file_rule = "PPSUB.CONFIG";
Note:
See TracChangeset
for help on using the changeset viewer.
