The following are examples of how your program may be called from the command line. For an explanation of what the arguments mean, read the source code.



./cmsc427 luxo.hdr output.hdr crop 100 200 500 400

./cmsc427 luxo.hdr output.hdr mirrorx

./cmsc427 luxo.hdr output.hdr mirrory

./cmsc427 luxo.hdr output_image.hdr blurx 2.42

./cmsc427 luxo.hdr output_image.hdr blury 2.42

./cmsc427 luxo.hdr output_image.hdr blur 2.42

./cmsc427 luxo.hdr output_image.hdr scaleup 2.0 nearest

./cmsc427 luxo.hdr output_image.hdr scaledown 2.0 2.42 bilinear

./cmsc427 luxo.hdr output_image.png tonemap 1.3 0.8




NOTE: The above will work for Linux/Mac terminals. If you're using Windows, remove the "./" at the beginning of each call above.