Compute Library
 21.02
NEIntegralImage Class Reference

Basic function to run a NEIntegralImageKernel. More...

#include <NEIntegralImage.h>

Collaboration diagram for NEIntegralImage:
[legend]

Public Member Functions

 NEIntegralImage ()=default
 Constructor. More...
 
 NEIntegralImage (const NEIntegralImage &)=delete
 Prevent instances of this class from being copied (As this class contains pointers) More...
 
NEIntegralImageoperator= (const NEIntegralImage &)=delete
 Prevent instances of this class from being copied (As this class contains pointers) More...
 
 NEIntegralImage (NEIntegralImage &&)=delete
 Prevent instances of this class from being moved (As this class contains non movable objects) More...
 
NEIntegralImageoperator= (NEIntegralImage &&)=delete
 Prevent instances of this class from being moved (As this class contains non movable objects) More...
 
 ~NEIntegralImage ()
 Default destructor. More...
 
void configure (const ITensor *input, ITensor *output)
 Initialise the function's source, destinations and border mode. More...
 
- Public Member Functions inherited from INESimpleFunction
 INESimpleFunction ()
 Constructor. More...
 
 INESimpleFunction (const INESimpleFunction &)=delete
 Prevent instances of this class from being copied (As this class contains pointers) More...
 
 INESimpleFunction (INESimpleFunction &&)=default
 Default move constructor. More...
 
INESimpleFunctionoperator= (const INESimpleFunction &)=delete
 Prevent instances of this class from being copied (As this class contains pointers) More...
 
INESimpleFunctionoperator= (INESimpleFunction &&)=default
 Default move assignment operator. More...
 
 ~INESimpleFunction ()
 Default destructor. More...
 
void run () override final
 Run the kernels contained in the function. More...
 
- Public Member Functions inherited from IFunction
virtual ~IFunction ()=default
 Destructor. More...
 
virtual void prepare ()
 Prepare the function for executing. More...
 

Detailed Description

Basic function to run a NEIntegralImageKernel.

Deprecated:
This function is deprecated and is intended to be removed in 21.05 release

Definition at line 38 of file NEIntegralImage.h.

Constructor & Destructor Documentation

◆ NEIntegralImage() [1/3]

NEIntegralImage ( )
default

Constructor.

◆ NEIntegralImage() [2/3]

NEIntegralImage ( const NEIntegralImage )
delete

Prevent instances of this class from being copied (As this class contains pointers)

◆ NEIntegralImage() [3/3]

Prevent instances of this class from being moved (As this class contains non movable objects)

◆ ~NEIntegralImage()

~NEIntegralImage ( )
default

Default destructor.

Member Function Documentation

◆ configure()

void configure ( const ITensor input,
ITensor output 
)

Initialise the function's source, destinations and border mode.

Parameters
[in]inputSource tensor. Data type supported: U8.
[out]outputDestination tensor. Data type supported: U32.

Definition at line 36 of file NEIntegralImage.cpp.

References arm_compute::test::validation::b, and arm_compute::CONSTANT.

37 {
38  auto k = std::make_unique<NEIntegralImageKernel>();
39  k->configure(input, output);
40  _kernel = std::move(k);
41 
42  auto b = std::make_unique<NEFillBorderKernel>();
43  b->configure(output, _kernel->border_size(), BorderMode::CONSTANT, PixelValue());
44  _border_handler = std::move(b);
45 }
SimpleTensor< float > b
Definition: DFT.cpp:157

◆ operator=() [1/2]

NEIntegralImage& operator= ( const NEIntegralImage )
delete

Prevent instances of this class from being copied (As this class contains pointers)

◆ operator=() [2/2]

NEIntegralImage& operator= ( NEIntegralImage &&  )
delete

Prevent instances of this class from being moved (As this class contains non movable objects)


The documentation for this class was generated from the following files: