Agrarsense
Variables
DVSCamera.cpp File Reference
#include "DVSCamera.h"
#include "Agrarsense/Game/AgrarsenseStatics.h"
#include "Agrarsense/Logging/SimulatorLog.h"
#include "Async/TaskGraphInterfaces.h"
#include "Engine/Texture2D.h"
#include "Async/ParallelFor.h"
#include <random>
#include <algorithm>
#include <cstring>
#include <cerrno>
#include <cmath>
#include <cfenv>
Include dependency graph for DVSCamera.cpp:

Go to the source code of this file.

Variables

std::random_device rd
 
std::minstd_rand Engine
 
static constexpr float R_WEIGHT = 0.2989f
 
static constexpr float G_WEIGHT = 0.5870f
 
static constexpr float B_WEIGHT = 0.1140f
 
static constexpr float INV_MAX_VALUE = 1.0f / 255.0f
 

Variable Documentation

◆ B_WEIGHT

constexpr float B_WEIGHT = 0.1140f
staticconstexpr

Definition at line 27 of file DVSCamera.cpp.

Referenced by ADVSCamera::FColorToGrayScaleFloat().

◆ Engine

std::minstd_rand Engine

Definition at line 23 of file DVSCamera.cpp.

Referenced by ADVSCamera::SimulateDVS().

◆ G_WEIGHT

constexpr float G_WEIGHT = 0.5870f
staticconstexpr

Definition at line 26 of file DVSCamera.cpp.

Referenced by ADVSCamera::FColorToGrayScaleFloat().

◆ INV_MAX_VALUE

constexpr float INV_MAX_VALUE = 1.0f / 255.0f
staticconstexpr

Definition at line 28 of file DVSCamera.cpp.

Referenced by ADVSCamera::ImageToLogGray().

◆ R_WEIGHT

constexpr float R_WEIGHT = 0.2989f
staticconstexpr

Definition at line 25 of file DVSCamera.cpp.

Referenced by ADVSCamera::FColorToGrayScaleFloat().

◆ rd

std::random_device rd

Definition at line 22 of file DVSCamera.cpp.