最終更新:2018-07-05 (木) 01:32:30 (2115d)
ofImage
Top / ofImage
a useful object for loading, saving and drawing images in openFrameworks.
http://openframeworks.cc/documentation/graphics/ofImage/
定義
継承
- class ofImage_ : public ofBaseImage_<PixelType?>{
コンストラクタ
- ofImage_()
アロケーション
- ofImage::allocate(w, h, OF_IMAGE_COLOR);
デストラクタ
- ~ofImage_?()
class methods
- ofImage::allocate()
- ofImage::bind?()
- ofImage::clear?()
- ofImage::clone?()
- ofImage::crop?()
- ofImage::cropFrom?()
- ofImage::draw()
- ofImage::drawSubsection?()
- ofImage::getColor?()
- ofImage::getHeight?()
- ofImage::getImageType?()
- ofImage::getPixels?()
- ofImage::getTexture?()
- ofImage::getWidth?()
- ofImage::grabScreen?()
- ofImage::isAllocated?()
- ofImage::isUsingTexture?()
- ofImage::load()
- ofImage::mirror?()
- ofImage::operator=?()
- ofImage::resetAnchor?()
- ofImage::resize?()
- ofImage::rotate90?()
- ofImage::save?()
- ofImage::setAnchorPercent?()
- ofImage::setAnchorPoint?()
- ofImage::setColor?()
- ofImage::setCompression?()
- ofImage::setFromPixels()
- ofImage::setImageType()
- ofImage::setUseTexture?()
- ofImage::unbind?()
- ofImage::update()
グローバル関数
ofImageをofxCvのcv::Matとして扱う
- Either use Mat mat = toCv(img); to treat the ofImage as a Mat, modify the mat, then img.update() to upload the modified pixels to the GPU.
- toCvしてofImage::updateする