Utility class containing two configurable algorithms to display HDR images on standard display monitors while conserving details and visual quality of the input image. More...
Public Member Functions | |
| None | __init__ (self, eVision.EMergerParameters mergerParams, eVision.EToneMapperParameters toneMapperParams) |
| Creates a HDR fusion with the specified merger and tone-mapper. | |
| None | __init__ (self) |
| Creates a HDR fusion with the specified merger and tone-mapper. | |
| None | __init__ (self, eVision.EHDRFusion other) |
| Copy operator. | |
| None | Fuse (self, list[eVision._eVision.EImageC24] inputs, eVision.EImageC24 output, list[float] exposureTimes) |
| If the merger type is not Mertens, the number of inputs image must match the number of exposure times. | |
| None | Fuse (self, list[eVision._eVision.EImageC24] inputs, eVision.EImageC24 output) |
| If the merger type is not Mertens, the number of inputs image must match the number of exposure times. | |
| None | Fuse (self, list[eVision._eVision.EImageBW8] inputs, eVision.EImageBW8 output, list[float] exposureTimes) |
| If the merger type is not Mertens, the number of inputs image must match the number of exposure times. | |
| None | Fuse (self, list[eVision._eVision.EImageBW8] inputs, eVision.EImageBW8 output) |
| If the merger type is not Mertens, the number of inputs image must match the number of exposure times. | |
| None | Save (self, str path) |
| Saves the eVision.EHDRFusion. | |
| None | Save (self, eVision.ESerializer|None serializer) |
| Saves the eVision.EHDRFusion. | |
| None | Load (self, str path) |
| Loads the eVision.EHDRFusion. | |
| None | Load (self, eVision.ESerializer|None serializer) |
| Loads the eVision.EHDRFusion. | |
| eVision.EReinhardToneMapperParameters | ReinhardToneMapperParameters (self) |
| Gets the parameter set for the current Reinhard tone-mapper. | |
| ReinhardToneMapperParameters (self, eVision.EReinhardToneMapperParameters value) | |
| Gets the parameter set for the current Reinhard tone-mapper. | |
| eVision.EMantiukToneMapperParameters | MantiukToneMapperParameters (self) |
| Gets the parameter set for the current Mantiuk tone-mapper. | |
| MantiukToneMapperParameters (self, eVision.EMantiukToneMapperParameters value) | |
| Gets the parameter set for the current Mantiuk tone-mapper. | |
| eVision.EDragoToneMapperParameters | DragoToneMapperParameters (self) |
| Gets the parameter set for the current Drago tone-mapper. | |
| DragoToneMapperParameters (self, eVision.EDragoToneMapperParameters value) | |
| Gets the parameter set for the current Drago tone-mapper. | |
| eVision.ELinearToneMapperParameters | LinearToneMapperParameters (self) |
| Gets the parameter set for the current linear tone-mapper. | |
| LinearToneMapperParameters (self, eVision.ELinearToneMapperParameters value) | |
| Gets the parameter set for the current linear tone-mapper. | |
| eVision.EMertensMergerParameters | MertensMergerParameters (self) |
| Gets the parameter set for the current Mertens merger. | |
| MertensMergerParameters (self, eVision.EMertensMergerParameters value) | |
| Gets the parameter set for the current Mertens merger. | |
| eVision.EToneMapperType | ToneMapperType (self) |
| Gets the current tone-mapper type. | |
| ToneMapperType (self, eVision.EToneMapperType value) | |
| Gets the current tone-mapper type. | |
| eVision.EMergerType | MergerType (self) |
| Gets the current merger type. | |
| MergerType (self, eVision.EMergerType value) | |
| Gets the current merger type. | |
Utility class containing two configurable algorithms to display HDR images on standard display monitors while conserving details and visual quality of the input image.
The fusion method takes multiple color images as input and the exposure times of each image. The fusion is performed in three steps:
Remarks:
License(s): EasyImage
| None eVision.EHDRFusion.__init__ | ( | self, | |
| eVision.EMergerParameters | mergerParams, | ||
| eVision.EToneMapperParameters | toneMapperParams ) |
Creates a HDR fusion with the specified merger and tone-mapper.
Every merger are compatible with every tone-mapper.
| mergerParams | Parameters and type of the merger to use. |
| toneMapperParams | Parameters and type of the tone-mapper to use. |
| None eVision.EHDRFusion.__init__ | ( | self | ) |
Creates a HDR fusion with the specified merger and tone-mapper.
Every merger are compatible with every tone-mapper.
| None eVision.EHDRFusion.__init__ | ( | self, | |
| eVision.EHDRFusion | other ) |
Copy operator.
| other | Another eVision.EHDRFusion. |
| eVision.EDragoToneMapperParameters eVision.EHDRFusion.DragoToneMapperParameters | ( | self | ) |
Gets the parameter set for the current Drago tone-mapper.
Throws an exception if the current tone-mapper isn't a Drago tone-mapper.
| eVision.EHDRFusion.DragoToneMapperParameters | ( | self, | |
| eVision.EDragoToneMapperParameters | value ) |
Gets the parameter set for the current Drago tone-mapper.
Throws an exception if the current tone-mapper isn't a Drago tone-mapper.
| None eVision.EHDRFusion.Fuse | ( | self, | |
| list[eVision._eVision.EImageBW8] | inputs, | ||
| eVision.EImageBW8 | output ) |
If the merger type is not Mertens, the number of inputs image must match the number of exposure times.
Otherwise, the number of exposure times must be null. The output image and all input images must have the same dimensions. When using the Debevec or Robertson algorithm, the response of the camera is computed by a preleminary calibration. This operation is expensive and if next calls are applied on the same number of images, with the same dimension and the same exposure times, it will not be computed again. Otherwise, the calibration is done again.
| inputs | Input images. |
| output | Output image. |
| None eVision.EHDRFusion.Fuse | ( | self, | |
| list[eVision._eVision.EImageBW8] | inputs, | ||
| eVision.EImageBW8 | output, | ||
| list[float] | exposureTimes ) |
If the merger type is not Mertens, the number of inputs image must match the number of exposure times.
Otherwise, the number of exposure times must be null. The output image and all input images must have the same dimensions. When using the Debevec or Robertson algorithm, the response of the camera is computed by a preleminary calibration. This operation is expensive and if next calls are applied on the same number of images, with the same dimension and the same exposure times, it will not be computed again. Otherwise, the calibration is done again.
| inputs | Input images. |
| output | Output image. |
| exposureTimes | Exposure times in seconds, can be empty if the merger type is Mertens. |
| None eVision.EHDRFusion.Fuse | ( | self, | |
| list[eVision._eVision.EImageC24] | inputs, | ||
| eVision.EImageC24 | output ) |
If the merger type is not Mertens, the number of inputs image must match the number of exposure times.
Otherwise, the number of exposure times must be null. The output image and all input images must have the same dimensions. When using the Debevec or Robertson algorithm, the response of the camera is computed by a preleminary calibration. This operation is expensive and if next calls are applied on the same number of images, with the same dimension and the same exposure times, it will not be computed again. Otherwise, the calibration is done again.
| inputs | Input images. |
| output | Output image. |
| None eVision.EHDRFusion.Fuse | ( | self, | |
| list[eVision._eVision.EImageC24] | inputs, | ||
| eVision.EImageC24 | output, | ||
| list[float] | exposureTimes ) |
If the merger type is not Mertens, the number of inputs image must match the number of exposure times.
Otherwise, the number of exposure times must be null. The output image and all input images must have the same dimensions. When using the Debevec or Robertson algorithm, the response of the camera is computed by a preleminary calibration. This operation is expensive and if next calls are applied on the same number of images, with the same dimension and the same exposure times, it will not be computed again. Otherwise, the calibration is done again.
| inputs | Input images. |
| output | Output image. |
| exposureTimes | Exposure times in seconds, can be empty if the merger type is Mertens. |
| eVision.ELinearToneMapperParameters eVision.EHDRFusion.LinearToneMapperParameters | ( | self | ) |
Gets the parameter set for the current linear tone-mapper.
Throws an exception if the current tone-mapper isn't a linear tone-mapper.
| eVision.EHDRFusion.LinearToneMapperParameters | ( | self, | |
| eVision.ELinearToneMapperParameters | value ) |
Gets the parameter set for the current linear tone-mapper.
Throws an exception if the current tone-mapper isn't a linear tone-mapper.
| None eVision.EHDRFusion.Load | ( | self, | |
| eVision.ESerializer | None | serializer ) |
Loads the eVision.EHDRFusion.
The given eVision.ESerializer must have been created for reading.
| serializer | The serializer. |
| None eVision.EHDRFusion.Load | ( | self, | |
| str | path ) |
Loads the eVision.EHDRFusion.
The given eVision.ESerializer must have been created for reading.
| path | The file path. |
| eVision.EMantiukToneMapperParameters eVision.EHDRFusion.MantiukToneMapperParameters | ( | self | ) |
Gets the parameter set for the current Mantiuk tone-mapper.
Throws an exception if the current tone-mapper isn't a Mantiuk tone-mapper.
| eVision.EHDRFusion.MantiukToneMapperParameters | ( | self, | |
| eVision.EMantiukToneMapperParameters | value ) |
Gets the parameter set for the current Mantiuk tone-mapper.
Throws an exception if the current tone-mapper isn't a Mantiuk tone-mapper.
| eVision.EMergerType eVision.EHDRFusion.MergerType | ( | self | ) |
Gets the current merger type.
| eVision.EHDRFusion.MergerType | ( | self, | |
| eVision.EMergerType | value ) |
Gets the current merger type.
| eVision.EMertensMergerParameters eVision.EHDRFusion.MertensMergerParameters | ( | self | ) |
Gets the parameter set for the current Mertens merger.
Throws an exception if the current tone-mapper isn't a Mertens Merger.
| eVision.EHDRFusion.MertensMergerParameters | ( | self, | |
| eVision.EMertensMergerParameters | value ) |
Gets the parameter set for the current Mertens merger.
Throws an exception if the current tone-mapper isn't a Mertens Merger.
| eVision.EReinhardToneMapperParameters eVision.EHDRFusion.ReinhardToneMapperParameters | ( | self | ) |
Gets the parameter set for the current Reinhard tone-mapper.
Throws an exception if the current tone-mapper isn't a reinhard tone-mapper.
| eVision.EHDRFusion.ReinhardToneMapperParameters | ( | self, | |
| eVision.EReinhardToneMapperParameters | value ) |
Gets the parameter set for the current Reinhard tone-mapper.
Throws an exception if the current tone-mapper isn't a reinhard tone-mapper.
| None eVision.EHDRFusion.Save | ( | self, | |
| eVision.ESerializer | None | serializer ) |
Saves the eVision.EHDRFusion.
The given eVision.ESerializer must have been created for writing.
| serializer | The serializer. |
| None eVision.EHDRFusion.Save | ( | self, | |
| str | path ) |
Saves the eVision.EHDRFusion.
The given eVision.ESerializer must have been created for writing.
| path | The file path. |
| eVision.EToneMapperType eVision.EHDRFusion.ToneMapperType | ( | self | ) |
Gets the current tone-mapper type.
| eVision.EHDRFusion.ToneMapperType | ( | self, | |
| eVision.EToneMapperType | value ) |
Gets the current tone-mapper type.