Sub Module (Radiance Pipeline) - radiantlab/HDRICalibrationTool GitHub Wiki
The radiance pipeline is a tool that intakes LDR images and calibration data, and outputs a calibrated HDR image.
The link to the submodule repository can be found here: https://github.com/zimmermannliam/radiance_pipeline
It was designed to be used with the HDR Calibration tool. If you are looking for the user interface, please visit that page: https://github.com/XiangyuLijoey/HDRICalibrationTool
Run with radiance_pipeline.radiance_pipeline.radiance_pipeline
This project requires Python 3, Radiance, and HDRGen. For Windows users, the GNU package 'sed for Windows' is required to be installed and added to the PATH.
Install Radiance from https://www.radiance-online.org/
Install HDRGen from: http://anyhere.com/
Install sed for Windows from https://gnuwin32.sourceforge.net/packages/sed.htm
Input is handled as a radiance_pipeline.radiance_data.RadianceData
object. The properties of the object are as follows:
Property Description
====================================================================================
diameter Diameter of input image (before resize)
crop_x_left Amount of x offset for crop stage, calculated in [0]
crop_y_down Amount of y offset for crop stage, calculated in [0]
view_angle_vertical Calculated in [0]
view_angle_horizontal Calculated in [0]
target_x_resolution Resolution to scale the image to. Should not be higher
than the cropped image. Often 1000
target_y_resolution Usually equal to above
paths_ldr List of paths to the low dynamic range images with different
exposure values. E.g. [/home/uname/camera_images/*.jpg]
path_temp Folder for HDR radiance pipeline images
path_rsp_fn Path to response function *.rsp
path_vignetting Path to vignetting correction function *.cal
path_fisheye Path to fisheye correction function *.cal
path_ndfilter Path to Neutral Desnity filter *.cal
path_calfact Path to calibration factor *.cal
path_errors Path for error output files
path_logs Path for log files
[0] https://www.tandfonline.com/doi/full/10.1080/15502724.2019.1684319
<path_temp>/output10.hdr
You can get message updates with
radiance_pipeline.radiance_pipeline.radiance_pipeline_get_percent()
,
radiance_pipeline.radiance_pipeline.radiance_pipeline_get_status_text()
, and
radiance_pipeline.radiance_pipeline.radiance_pipeline_get_finished()
.
These will only be useful if you have the pipeline running on a separate thread, of course.