Unit tests for ComAdptSim pattern generation. More...
#include <cmath>#include <iostream>#include <numeric>#include <random>#include <gtest/gtest.h>#include <ifw/ccf/common/base.hpp>#include <ifw/ccf/common/dataFrame.hpp>#include <ifw/ccf/control/comAdptSim.hpp>#include <tools.hpp>Classes | |
| class | ComAdptSimTest |
| Test fixture for ComAdptSim tests. More... | |
Functions | |
| TEST_F (ComAdptSimTest, SimTypeEnumValues) | |
| TEST_F (ComAdptSimTest, SimTypeStringConstants) | |
| TEST_F (ComAdptSimTest, GradientDirEnumValues) | |
| TEST_F (ComAdptSimTest, NoiseDistEnumValues) | |
| TEST_F (ComAdptSimTest, Instantiation) | |
| TEST_F (ComAdptSimTest, HelperComputeMean) | |
| TEST_F (ComAdptSimTest, HelperComputeMax) | |
| TEST_F (ComAdptSimTest, HelperComputeStdDev) | |
| TEST_F (ComAdptSimTest, GaussianPatternCharacteristics) | |
| Test that Gaussian pattern has central peak. | |
| TEST_F (ComAdptSimTest, FlatPatternCharacteristics) | |
| Test that Flat pattern has uniform intensity. | |
| TEST_F (ComAdptSimTest, CheckerboardPatternCharacteristics) | |
| Test that Checkerboard pattern has correct alternating structure. | |
| TEST_F (ComAdptSimTest, GridPatternCharacteristics) | |
| Test that Grid pattern has regular spot spacing. | |
| TEST_F (ComAdptSimTest, GradientPatternCharacteristics) | |
| Test that Gradient pattern has monotonic intensity change. | |
| TEST_F (ComAdptSimTest, RingPatternCharacteristics) | |
| Test that Ring pattern has donut-shaped structure. | |
| TEST_F (ComAdptSimTest, BuildKeyFunction) | |
| TEST_F (ComAdptSimTest, SingleImageSequenceShiftAlgorithm) | |
| Test that sequence generation from single image applies shifts correctly. | |
| TEST_F (ComAdptSimTest, NoiseAdditionAlgorithm) | |
| Test that noise addition algorithm works correctly. | |
| TEST_F (ComAdptSimTest, ResolutionMaxPixelValue) | |
| Test max pixel value calculation for different resolutions. | |
| TEST_F (ComAdptSimTest, PixelValueClamping) | |
| Test pixel value clamping for different bit depths. | |
| TEST_F (ComAdptSimTest, DataTypeFromResolution) | |
| Test data type selection based on resolution. | |
| TEST_F (ComAdptSimTest, PixelScalingConversion) | |
| Test pixel scaling for format conversion. | |
| TEST_F (ComAdptSimTest, MinMaxNormalization) | |
| Test min-max normalization for pixel data. | |
| TEST_F (ComAdptSimTest, MultiBytePixelWriteRead) | |
| Test writing and reading different pixel sizes. | |
| TEST_F (ComAdptSimTest, PointerArithmeticForPixels) | |
| Test pointer arithmetic for multi-byte pixel access. | |
Unit tests for ComAdptSim pattern generation.
| TEST_F | ( | ComAdptSimTest | , |
| BuildKeyFunction | ) |
| TEST_F | ( | ComAdptSimTest | , |
| CheckerboardPatternCharacteristics | ) |
Test that Checkerboard pattern has correct alternating structure.
| TEST_F | ( | ComAdptSimTest | , |
| DataTypeFromResolution | ) |
Test data type selection based on resolution.
| TEST_F | ( | ComAdptSimTest | , |
| FlatPatternCharacteristics | ) |
Test that Flat pattern has uniform intensity.
| TEST_F | ( | ComAdptSimTest | , |
| GaussianPatternCharacteristics | ) |
Test that Gaussian pattern has central peak.
| TEST_F | ( | ComAdptSimTest | , |
| GradientDirEnumValues | ) |
| TEST_F | ( | ComAdptSimTest | , |
| GradientPatternCharacteristics | ) |
Test that Gradient pattern has monotonic intensity change.
| TEST_F | ( | ComAdptSimTest | , |
| GridPatternCharacteristics | ) |
Test that Grid pattern has regular spot spacing.
| TEST_F | ( | ComAdptSimTest | , |
| HelperComputeMax | ) |
| TEST_F | ( | ComAdptSimTest | , |
| HelperComputeMean | ) |
| TEST_F | ( | ComAdptSimTest | , |
| HelperComputeStdDev | ) |
| TEST_F | ( | ComAdptSimTest | , |
| Instantiation | ) |
| TEST_F | ( | ComAdptSimTest | , |
| MinMaxNormalization | ) |
Test min-max normalization for pixel data.
| TEST_F | ( | ComAdptSimTest | , |
| MultiBytePixelWriteRead | ) |
Test writing and reading different pixel sizes.
| TEST_F | ( | ComAdptSimTest | , |
| NoiseAdditionAlgorithm | ) |
Test that noise addition algorithm works correctly.
| TEST_F | ( | ComAdptSimTest | , |
| NoiseDistEnumValues | ) |
| TEST_F | ( | ComAdptSimTest | , |
| PixelScalingConversion | ) |
Test pixel scaling for format conversion.
| TEST_F | ( | ComAdptSimTest | , |
| PixelValueClamping | ) |
Test pixel value clamping for different bit depths.
| TEST_F | ( | ComAdptSimTest | , |
| PointerArithmeticForPixels | ) |
Test pointer arithmetic for multi-byte pixel access.
| TEST_F | ( | ComAdptSimTest | , |
| ResolutionMaxPixelValue | ) |
Test max pixel value calculation for different resolutions.
| TEST_F | ( | ComAdptSimTest | , |
| RingPatternCharacteristics | ) |
Test that Ring pattern has donut-shaped structure.
| TEST_F | ( | ComAdptSimTest | , |
| SimTypeEnumValues | ) |
| TEST_F | ( | ComAdptSimTest | , |
| SimTypeStringConstants | ) |
| TEST_F | ( | ComAdptSimTest | , |
| SingleImageSequenceShiftAlgorithm | ) |
Test that sequence generation from single image applies shifts correctly.