ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/util/rcode2bmp.pl
(Generate patch)

Comparing ray/src/util/rcode2bmp.pl (file contents):
Revision 2.3 by greg, Tue Nov 15 23:47:50 2022 UTC vs.
Revision 2.4 by greg, Fri Jan 5 18:23:53 2024 UTC

# Line 47 | Line 47 | while ($#ARGV >= 0) {
47                  } else {
48                          $cmd = "ra_bmp -e auto '$ARGV[0]' '$dest'";
49                  }
50 +        } elsif ("$format" =~ /^Radiance_spectra *$/) {
51 +                $cmd = "rcomb -fc -c RGB '$ARGV[0]' ";
52 +                $cmd .= "| $pfilt " if ($pfilt);
53 +                $cmd .=  "| ra_bmp -e auto - '$dest'";
54          } elsif ("$format" =~ /^16-bit_encoded_depth *$/) {
55                  $cmd = "rcode_depth -r -ff -ho -Ho '$ARGV[0]' ";
56                  $cmd .= q{| rcalc -if -of -e 'cond=9e9-$1;$1=$1' | total -if -u};

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines