41 lines
1.1 KiB
C++
41 lines
1.1 KiB
C++
/*
|
|
* Copyright 1993-2010 NVIDIA Corporation. All rights reserved.
|
|
*
|
|
* NVIDIA Corporation and its licensors retain all intellectual
|
|
* property and proprietary rights in and to this software and
|
|
* related documentation and any modifications thereto.
|
|
* Any use, reproduction, disclosure, or distribution of this
|
|
* software and related documentation without an express license
|
|
* agreement from NVIDIA Corporation is strictly prohibited.
|
|
*/
|
|
#ifndef _testintegralimage_h_
|
|
#define _testintegralimage_h_
|
|
|
|
#include "NCVTest.hpp"
|
|
#include "NCVTestSourceProvider.hpp"
|
|
|
|
|
|
template <class T_in, class T_out>
|
|
class TestIntegralImage : public NCVTestProvider
|
|
{
|
|
public:
|
|
|
|
TestIntegralImage(std::string testName, NCVTestSourceProvider<T_in> &src,
|
|
Ncv32u width, Ncv32u height);
|
|
|
|
virtual bool init();
|
|
virtual bool process();
|
|
virtual bool deinit();
|
|
virtual bool toString(std::ofstream &strOut);
|
|
|
|
private:
|
|
TestIntegralImage(const TestIntegralImage&);
|
|
TestIntegralImage& operator=(const TestIntegralImage&);
|
|
|
|
NCVTestSourceProvider<T_in> &src;
|
|
Ncv32u width;
|
|
Ncv32u height;
|
|
};
|
|
|
|
#endif // _testintegralimage_h_
|