| Frame_ | |
| Functions | |
| Frame_. | Used internally to allocate required memory. |
| rgb? | Used internally. |
| Frame_. | Returns colourspace. |
| Frame_. | Used internally. |
| Frame_. | Returns width. |
| Frame_. | Used internally. |
| Frame_. | Returns height. |
| Frame_. | Used internally. |
| Frame_. | Returns width and height of frame. |
| Frame_. | Returns amount of storage required. |
| Frame_. | Same as Frame_.to_s. |
| Frame_.to_s | Display information about this class. |
| Frame_. | Same as Frame_.to_s. |
| Properties | |
| typecode | Returns colourspace of frame. |
| width | Returns width of frame. |
| height | Returns height of frame. |
| memory | Get Memory object with frame data. |
| Functions | |
| shape | Returns width and height of frame. |
| rgb? | Used internally. |
| typesize | Returns amount of storage required. |
| to_ubyte | Convert to array of unsigned byte |
| to_byte | Convert to array of signed byte |
| to_usint | Convert to array of unsigned short int |
| to_sint | Convert to array of signed short int |
| to_uint | Convert to array of unsigned int |
| to_int | Convert to array of signed int |
| to_ulong | Convert to array of unsigned long |
| to_long | Convert to array of signed long |
| to_ubytergb | Convert to array of unsigned byte RGB |
| to_bytergb | Convert to array of signed byte RGB |
| to_usintrgb | Convert to array of unsigned short RGB |
| to_sintrgb | Convert to array of signed short RGB |
| to_uintrgb | Convert to array of unsigned integer RGB |
| to_intrgb | Convert to array of signed integer RGB |
| to_sfloatrgb | Convert to array of single-precision RGB |
| to_dfloatrgb | Convert to array of double-precision RGB |
| to_yv12 | Convert to YV12-frame. |
| to_i420 | Convert to I420-frame. |
| to_sfloat | Convert to array of single-precision floating-point |
| to_sfloatrgb | Convert to array of single-precision floating-point RGB |
| to_sfloat | Convert to array of double-precision floating-point |
| to_sfloatrgb | Convert to array of double-precision floating-point RGB |
| save | |
| savef | |
| save_ubyte | |
| save_usint | |
| save_sfloat | |
| save_ubytergb | |
| save_sfloatrgb | |
| to_magick | Convert to RGB-array and then to Magick::Image. |
| to_narray | Convert to RGB-array and then to NArray. |
| to_cvmat | Convert to RGB-array and then to OpenCV matrix. |
| show | Opens a window and displays the image. |
| Related | |
| Functions | |
| Frame | Create frame class. |
def Frame_.inspect
Same as Frame_.to_s.
def Frame_.to_str
Same as Frame_.to_s.
Used internally to allocate required memory.
def Frame_.alloc
Used internally.
def Frame_.rgb?
Returns colourspace.
def Frame_.typecode
Used internally.
def Frame_.typecode=( value )
Returns width.
def Frame_.width
Used internally.
def Frame_.width=( value )
Returns height.
def Frame_.height
Used internally.
def Frame_.height=( value )
Returns width and height of frame.
def Frame_.shape
Returns amount of storage required.
def Frame_.typesize
Same as Frame_.to_s.
def Frame_.inspect
Display information about this class.
def Frame_.to_s
Same as Frame_.to_s.
def Frame_.to_str
Returns width and height of frame.
def shape
Returns amount of storage required.
def typesize
Convert to array of unsigned byte
def to_ubyte
Convert to array of signed byte
def to_byte
Convert to array of unsigned short int
def to_usint
Convert to array of signed short int
def to_sint
Convert to array of unsigned int
def to_uint
Convert to array of signed int
def to_int
Convert to array of unsigned long
def to_ulong
Convert to array of signed long
def to_long
Convert to array of unsigned byte RGB
def to_ubytergb
Convert to array of signed byte RGB
def to_bytergb
Convert to array of unsigned short RGB
def to_usintrgb
Convert to array of signed short RGB
def to_sintrgb
Convert to array of unsigned integer RGB
def to_uintrgb
Convert to array of signed integer RGB
def to_intrgb
Convert to array of single-precision RGB
def to_sfloatrgb
Convert to array of double-precision RGB
def to_dfloatrgb
Convert to YV12-frame.
def to_yv12
Convert to I420-frame.
def to_i420
Convert to array of single-precision floating-point
def to_sfloat
def save( file )
def savef( file )
def save_ubyte( file )
def save_usint( file )
def save_sfloat( file )
def save_ubytergb( file )
def save_sfloatrgb( file )
Convert to RGB-array and then to Magick::Image.
def to_magick
Convert to RGB-array and then to NArray.
def to_narray
Convert to RGB-array and then to OpenCV matrix.
def to_cvmat
Opens a window and displays the image.
def show( width = nil, height = nil )
Create frame class.
def Frame( typecode, width, height )
Convert to Magick::Image.
def to_magick
Convert to NArray.
def to_narray
Convert to OpenCV matrix.
def to_cvmat