All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
heatMapSaver.hpp
Go to the documentation of this file.
#ifndef OPENPOSE_FILESTREAM_HEAT_MAP_SAVER_HPP
#define OPENPOSE_FILESTREAM_HEAT_MAP_SAVER_HPP
#include <openpose/core/common.hpp>
#include <openpose/filestream/fileSaver.hpp>
namespace op
{
class OP_API HeatMapSaver : public FileSaver
{
public:
HeatMapSaver(const std::string& directoryPath, const std::string& imageFormat);
virtual ~HeatMapSaver();
void saveHeatMaps(const std::vector<Array<float>>& heatMaps, const std::string& fileName) const;
private:
const std::string mImageFormat;
};
}
#endif // OPENPOSE_FILESTREAM_HEAT_MAP_SAVER_HPP
common.hpp
op::FileSaver
Definition: fileSaver.hpp:9
fileSaver.hpp
op::Array< float >
op::HeatMapSaver
Definition: heatMapSaver.hpp:9
cl::vector
std::vector< T, Alloc > vector
Definition: cl2.hpp:567
OP_API
#define OP_API
Definition: macros.hpp:19
cl::string
std::string string
Definition: cl2.hpp:574