Spresense Arduino Library v3.4.5-a526a83
Loading...
Searching...
No Matches
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.
 
int getHeight ()
 Get Image Height.
 
uint8_t * getImgBuff ()
 Get Image memory address.
 
size_t getImgSize ()
 Get Image Size.
 
size_t getImgBuffSize ()
 Get image buffer size.
 
CAM_IMAGE_PIX_FMT getPixFormat ()
 Get Image Pixcel format.
 
 CamImage ()
 Constuctor of CamImage class.
 
 CamImage (const CamImage &obj)
 Copy Constuctor of CamImage class.
 
CamImageoperator= (const CamImage &obj)
 Assignment operator.
 
CamErr convertPixFormat (CAM_IMAGE_PIX_FMT to_fmt)
 Convert Pixcelformat of the image.
 
CamErr resizeImageByHW (CamImage &img, int width, int height)
 Resize Image with HW 2D accelerator.
 
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.
 
bool isAvailable (void)
 Check valid image data.
 
 ~CamImage ()
 Destructor of CamImage.
 

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: