Developer World
Spresense Arduino Library v3.3.0-b2e6327
CamImage Class Reference

[en] The class which is to control Image from Camera.
[ja] Cameraから得られる画像データを利用するためのクラス。 More...

#include <Camera.h>

Public Member Functions

int getWidth ()
 Get Image Width. More...
 
int getHeight ()
 Get Image Height. More...
 
uint8_t * getImgBuff ()
 Get Image memory address. More...
 
size_t getImgSize ()
 Get Image Size. More...
 
size_t getImgBuffSize ()
 Get image buffer size. More...
 
CAM_IMAGE_PIX_FMT getPixFormat ()
 Get Image Pixcel format. More...
 
 CamImage ()
 Constuctor of CamImage class. More...
 
 CamImage (const CamImage &obj)
 Copy Constuctor of CamImage class. More...
 
CamImageoperator= (const CamImage &obj)
 Assignment operator. More...
 
CamErr convertPixFormat (CAM_IMAGE_PIX_FMT to_fmt)
 Convert Pixcelformat of the image. More...
 
CamErr resizeImageByHW (CamImage &img, int width, int height)
 Resize Image with HW 2D accelerator. More...
 
CamErr clipAndResizeImageByHW (CamImage &img, int lefttop_x, int lefttop_y, int rightbottom_x, int rightbottom_y, int width, int height)
 Clip and resize Image with HW 2D accelerator. More...
 
bool isAvailable (void)
 Check valid image data. More...
 
 ~CamImage ()
 Destructor of CamImage. More...
 

Detailed Description

[en] The class which is to control Image from Camera.
[ja] Cameraから得られる画像データを利用するためのクラス。


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