![]() |
CamSim
0.0.0
A rasterization-based simulator for various types of cameras
|
Defines chip timings and therefore frames-per-second. More...
Public Member Functions | |
| ChipTiming () | |
| Constructor. More... | |
| double | subFrameDuration () const |
| Return the duration of one subframe resulting from these timings. More... | |
| double | subFramesPerSecond () const |
| Return the subframes-per-second rate resulting from these timings. More... | |
Static Public Member Functions | |
| static ChipTiming | fromSubFramesPerSecond (float sfps) |
Public Attributes | |
| double | exposureTime |
| Exposure time for each subframe in seconds. More... | |
| double | readoutTime |
| Readout time for each subframe in seconds. More... | |
| double | pauseTime |
| Pause time after all subframes, before the start of a new frame. More... | |
Defines chip timings and therefore frames-per-second.
In physically-based simulations, the exposure time is important since it determines how much energy a chip pixel receives.
For simple RGB simulation, physical quantities are irrelevant and you can simply set the exposure time to zero and the readout time to the duration of one frame.
| CamSim::ChipTiming::ChipTiming | ( | ) |
Constructor.
|
static |
Generate chip timings from subframes-per-second. This ignores exposure time, so this is not suitable for physically-based simulations such as PMD simulation.
|
inline |
Return the duration of one subframe resulting from these timings.
|
inline |
Return the subframes-per-second rate resulting from these timings.
| double CamSim::ChipTiming::exposureTime |
Exposure time for each subframe in seconds.
| double CamSim::ChipTiming::pauseTime |
Pause time after all subframes, before the start of a new frame.
| double CamSim::ChipTiming::readoutTime |
Readout time for each subframe in seconds.
1.8.16