WPILibC++  unspecified
cs::Image Class Reference

Public Member Functions

 Image (size_t capacity)
 
 Image (const Image &)=delete
 
Imageoperator= (const Image &)=delete
 
 operator llvm::StringRef () const
 
llvm::StringRef str () const
 
size_t capacity () const
 
const char * data () const
 
char * data ()
 
size_t size () const
 
const std::vector< uchar > & vec () const
 
std::vector< uchar > & vec ()
 
void resize (size_t size)
 
void SetSize (size_t size)
 
cv::Mat AsMat ()
 
cv::_InputArray AsInputArray ()
 
bool Is (int width_, int height_)
 
bool Is (int width_, int height_, VideoMode::PixelFormat pixelFormat_)
 
bool IsLarger (int width_, int height_)
 
bool IsLarger (const Image &oth)
 
bool IsSmaller (int width_, int height_)
 
bool IsSmaller (const Image &oth)
 

Public Attributes

VideoMode::PixelFormat pixelFormat {VideoMode::kUnknown}
 
int width {0}
 
int height {0}
 

Friends

class Frame
 

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