Drake
Drake C++ Documentation
image_compare.h File Reference
#include <filesystem>
#include <ostream>
#include <gtest/gtest.h>
#include "drake/systems/sensors/image.h"
Include dependency graph for image_compare.h:

Namespaces

 drake
 
 drake::systems
 
 drake::systems::sensors
 

Functions

template<PixelType kPixelType>
void PrintTo (const Image< kPixelType > &image, std::ostream *os)
 Adds googletest support for printing EXPECT_EQ(Image, Image) failures. More...
 
template<PixelType kPixelType>
::testing::AssertionResult LoadImage (const std::filesystem::path &filename, Image< kPixelType > *image)
 Loads the PNG or TIFF image from filename into the image output. More...