1 #ifndef OPENPOSE_CORE_CV_MAT_TO_OP_OUTPUT_HPP
2 #define OPENPOSE_CORE_CV_MAT_TO_OP_OUTPUT_HPP
15 std::tuple<std::shared_ptr<float*>, std::shared_ptr<bool>, std::shared_ptr<unsigned long long>>
19 const Matrix& inputData,
const double scaleInputToOutput,
const Point<int>& outputResolution);
22 const bool mGpuResize;
23 unsigned char* pInputImageCuda;
24 std::shared_ptr<float*> spOutputImageCuda;
25 unsigned long long pInputMaxSize;
26 std::shared_ptr<unsigned long long> spOutputMaxSize;
27 std::shared_ptr<bool> spGpuMemoryAllocated;
CvMatToOpOutput(const bool gpuResize=false)
virtual ~CvMatToOpOutput()
std::tuple< std::shared_ptr< float * >, std::shared_ptr< bool >, std::shared_ptr< unsigned long long > > getSharedParameters()
Array< float > createArray(const Matrix &inputData, const double scaleInputToOutput, const Point< int > &outputResolution)