![]() |
VR-Vantage 3.0 API Documentation
|
Sensor Effects optics class. More...
Public Types | |
| enum | shapeType { Circular = 0, Rectangular = 1 } |
| shapeType More... | |
Public Member Functions | |
| seOptics () | |
| constructor | |
| ~seOptics () | |
| destructor | |
| void | loadDefaults () |
| sets all the member data to default values. | |
| void | setApertureWidth (const double dim) |
| sets the aperture's width or horizontal dimension (mm) | |
| double | getApertureWidth () |
| gets the aperture's width or horizontal dimension (mm) | |
| void | setApertureShape (shapeType shape) |
| sets the aperture's shape | |
| shapeType | getApertureShape () |
| gets the aperture's shape | |
| void | setApertureAspectRatio (const double ratio) |
| sets the aperture's horizontal to vertical aspect ratio | |
| double | getApertureAspectRatio () |
| gets the aperture's horizontal to vertical aspect ratio | |
| void | setBlurSpotDiameter (const double size) |
| sets the blur spot's diameter (mrad) | |
| double | getBlurSpotDiameter () |
| gets the blur spot's diameter (mrad) | |
| void | setFOVdegs (const double horzFov, const double vertFov) |
| sets the fov of the sensor (deg) | |
| void | getFOVdegs (double &horzFov, double &vertFov) |
| gets the fov of the sensor (degs) | |
| void | setMtfMotionBlurSize (const double size) |
| sets the motion blur spot size (milliRad) currently this is not implemented as a motion blur but is added to the other MTFs | |
| double | getMtfMotionBlurSize () |
| gets the motion blur spot size (milliRad) currently this is not implemented as a motion blur but is added to the other MTFs | |
| void | setLensTransmittance (const double transmittance) |
| sets the len's transmittance - is applied as an additional gain factor | |
| double | getLensTransmittance () |
| gets the len's transmittance - is applied as an additional gain factor | |
| void | setFilterEnable (const bool flag) |
| sets the filter enable flag | |
| bool | isFilterEnable () |
| gets the filter enable flag. | |
| void | setOptimizedFilterEnable (const bool flag) |
| sets the flag to select a performance optimized filtering technique | |
| bool | isOptimizedFilterEnable () |
| gets the optimized filter enable flag. | |
| void | setFilterAdjustment (double adjustment) |
| sets the adjustment that is multiplied by the calculated filter size. | |
| double | getFilterAdjustment () |
| gets the adjustment that is multiplied by the calculated filter size. | |
| void | setHaloEnable (const bool flag) |
| bool | isHaloEnable () |
| gets the halo enable flag. | |
| void | setHaloThreshold (const double value) |
| sets the halo threshold value | |
| double | getHaloThreshold () |
| gets the halo threshold value | |
| void | setHaloRadius (const double value) |
| sets the halo Radius in pixels | |
| double | getHaloRadius () |
| gets the halo Radius in pixels | |
| void | setHaloIntensity (const double intensity) |
| sets the halo intensity | |
| double | getHaloIntensity () |
| gets the halo intensity | |
| void | setHaloThresholdAdjustment (double threshold) |
| sets the adjustment that is multiplied by the given halo threshold. | |
| double | getHaloThresholdAdjustment () |
| gets the adjustment that is multiplied by the given halo threshold. | |
| void | setUserDefinedMTFenable (bool enable) |
| Set the user defined MTF enable If set then the file's data replaces the MTF/filter data that is computed based on the Sensor's optical properties. | |
| bool | getUserDefinedMTFenable () |
| Get the user defined MTF enable. | |
| void | setUserDefinedMTFfilename (char *filename) |
| Set the user defined MTF filename this file's data replaces the MTF/filter data that is computed based on the Sensor's optical properties. | |
| char * | getUserDefinedMTFfilename () |
| get the user defined MTF filename | |
| bool | isDirty () |
| Specifies whether the seOptics has been changed. | |
| void | setDirty () |
| Specify whether the seOptics has been changed. | |
| void | clrDirty () |
| Clear the flag that specifies whether the seOptics has been changed. | |
Private Attributes | |
| double | m_apertureWidth |
| Aperture width. | |
| shapeType | m_apertureShape |
| Aperture shape - circular or rectangular. | |
| double | m_apertureAspectRatio |
| Aperture's aspect ratio - horizontal to vertical. | |
| double | m_blurSpotDiameter |
| blur spot diameter | |
| double | m_horizontalFov |
| horizontal fov (deg) | |
| double | m_verticalFov |
| vertical fov (deg) | |
| double | m_mtfMotionBlurSize |
| motion blur mtf size | |
| double | m_lensTransmittance |
| Lens Transmittance. | |
| bool | m_filterEnable |
| enable flag for filtering | |
| bool | m_optimizedFilterEnable |
| enable flag for peforming optimized filtering | |
| double | m_filterAdjustment |
| percent of the calculated filter that is applied | |
| bool | m_haloEnable |
| enable flag to process halos | |
| double | m_haloThreshold |
| Threshold to trigger a halo. | |
| double | m_haloRadius |
| radius of the halos | |
| double | m_haloIntensity |
| intensity scale factor for halos | |
| double | m_haloThresholdAdjustment |
| adjustment multiplied by the halo threshold | |
| bool | m_userDefinedMTFenable |
| flag indicating the use of user defined MTF data | |
| char | m_userDefinedMTFfilename [512] |
| file name for user defined MTF data | |
| bool | m_dirty |
| dirty flag for optics object | |
Sensor Effects optics class.
Holds the data related to the optics portion of a device.
| enum seOptics::shapeType |
| seOptics::seOptics | ( | ) |
constructor
| seOptics::~seOptics | ( | ) |
destructor
| void seOptics::loadDefaults | ( | ) |
sets all the member data to default values.
|
inline |
sets the aperture's width or horizontal dimension (mm)
| dim |
|
inline |
gets the aperture's width or horizontal dimension (mm)
sets the aperture's shape
| shape | - circular or rectangular |
|
inline |
gets the aperture's shape
|
inline |
sets the aperture's horizontal to vertical aspect ratio
| ratio |
|
inline |
gets the aperture's horizontal to vertical aspect ratio
|
inline |
sets the blur spot's diameter (mrad)
| size |
|
inline |
gets the blur spot's diameter (mrad)
|
inline |
sets the fov of the sensor (deg)
| horzFov | |
| vertFov |
|
inline |
gets the fov of the sensor (degs)
| horzFov | |
| vertFov |
|
inline |
sets the motion blur spot size (milliRad) currently this is not implemented as a motion blur but is added to the other MTFs
| size |
|
inline |
gets the motion blur spot size (milliRad) currently this is not implemented as a motion blur but is added to the other MTFs
|
inline |
sets the len's transmittance - is applied as an additional gain factor
| transmittance |
|
inline |
gets the len's transmittance - is applied as an additional gain factor
sets the filter enable flag
| flag |
|
inline |
gets the filter enable flag.
sets the flag to select a performance optimized filtering technique
| flag |
|
inline |
gets the optimized filter enable flag.
|
inline |
sets the adjustment that is multiplied by the calculated filter size.
This can be used as an adjustment knob/slider.
| adjustment |
|
inline |
gets the adjustment that is multiplied by the calculated filter size.
This can be used as an adjustment knob/slider.
|
inline |
gets the halo enable flag.
|
inline |
sets the halo threshold value
| value |
|
inline |
gets the halo threshold value
|
inline |
sets the halo Radius in pixels
| value |
|
inline |
gets the halo Radius in pixels
|
inline |
sets the halo intensity
| intensity |
|
inline |
gets the halo intensity
|
inline |
sets the adjustment that is multiplied by the given halo threshold.
This can be used as an adjustment knob/slider.
| threshold | - 0.0 to 1.0 |
|
inline |
gets the adjustment that is multiplied by the given halo threshold.
This can be used as an adjustment knob/slider.
Set the user defined MTF enable If set then the file's data replaces the MTF/filter data that is computed based on the Sensor's optical properties.
|
inline |
Get the user defined MTF enable.
| void seOptics::setUserDefinedMTFfilename | ( | char * | filename | ) |
Set the user defined MTF filename this file's data replaces the MTF/filter data that is computed based on the Sensor's optical properties.
The file format is: number of samples (integer) maximum horizontal frequency maximum vertical frequency (cycles/mrad) MTF x value and MTF y value for each frequency step from 0.0 to the maximum frequecy. (unitless)
| filename |
|
inline |
get the user defined MTF filename
|
inline |
Clear the flag that specifies whether the seOptics has been changed.
|
private |
Aperture width.
|
private |
Aperture shape - circular or rectangular.
|
private |
Aperture's aspect ratio - horizontal to vertical.
|
private |
blur spot diameter
|
private |
horizontal fov (deg)
|
private |
vertical fov (deg)
|
private |
motion blur mtf size
|
private |
Lens Transmittance.
|
private |
enable flag for filtering
|
private |
enable flag for peforming optimized filtering
|
private |
percent of the calculated filter that is applied
|
private |
enable flag to process halos
|
private |
Threshold to trigger a halo.
|
private |
radius of the halos
|
private |
intensity scale factor for halos
|
private |
adjustment multiplied by the halo threshold
|
private |
flag indicating the use of user defined MTF data
|
private |
file name for user defined MTF data
|
private |
dirty flag for optics object