![]() |
OpenSiv3D
v0.6.5
C++20 framework for creative coding
|
#include <ImageROI.hpp>
Public Member Functions | |
| SIV3D_NODISCARD_CXX20 | ImageROI (Image &image, const Rect &rect) noexcept |
| bool | isEmpty () const noexcept |
| ImageROI & | negate () |
| ImageROI & | grayscale () |
| ImageROI & | sepia () |
| ImageROI & | posterize (int32 level) |
| ImageROI & | brighten (int32 level) |
| ImageROI & | mirror () |
| ImageROI & | flip () |
| ImageROI & | rotate180 () |
| ImageROI & | gammaCorrect (double gamma) |
| ImageROI & | threshold (uint8 threshold, InvertColor invertColor=InvertColor::No) |
| ImageROI & | mosaic (int32 size) |
| ImageROI & | mosaic (int32 horizontal, int32 vertical) |
| ImageROI & | spread (int32 size) |
| ImageROI & | spread (int32 horizontal, int32 vertical) |
| ImageROI & | blur (int32 size, BorderType borderType=BorderType::Reflect_101) |
| ImageROI & | blur (int32 horizontal, int32 vertical, BorderType borderType=BorderType::Reflect_101) |
| ImageROI & | medianBlur (int32 apertureSize) |
| ImageROI & | gaussianBlur (int32 size, BorderType borderType=BorderType::Reflect_101) |
| ImageROI & | gaussianBlur (int32 horizontal, int32 vertical, BorderType borderType=BorderType::Reflect_101) |
| ImageROI & | dilate (int32 iterations=1) |
| ImageROI & | erode (int32 iterations=1) |
| void | paint (Image &dst, int32 x, int32 y, const Color &color=Palette::White) const |
| void | paint (Image &dst, const Point &pos, const Color &color=Palette::White) const |
| void | stamp (Image &dst, int32 x, int32 y, const Color &color=Palette::White) const |
| void | stamp (Image &dst, const Point &pos, const Color &color=Palette::White) const |
| void | overwrite (Image &dst, int32 x, int32 y) const |
| void | overwrite (Image &dst, Point pos) const |
| void | paintAt (Image &dst, int32 x, int32 y, const Color &color=Palette::White) const |
| void | paintAt (Image &dst, const Point &pos, const Color &color=Palette::White) const |
| void | stampAt (Image &dst, int32 x, int32 y, const Color &color=Palette::White) const |
| void | stampAt (Image &dst, const Point &pos, const Color &color=Palette::White) const |
| void | overwriteAt (Image &dst, int32 x, int32 y) const |
| void | overwriteAt (Image &dst, Point pos) const |
Public Attributes | |
| Image & | imageRef |
| Rect | region |
| ImageROI& s3d::ImageROI::blur | ( | int32 | horizontal, |
| int32 | vertical, | ||
| BorderType | borderType = BorderType::Reflect_101 |
||
| ) |
| ImageROI& s3d::ImageROI::blur | ( | int32 | size, |
| BorderType | borderType = BorderType::Reflect_101 |
||
| ) |
| ImageROI& s3d::ImageROI::flip | ( | ) |
| ImageROI& s3d::ImageROI::gammaCorrect | ( | double | gamma | ) |
| ImageROI& s3d::ImageROI::gaussianBlur | ( | int32 | horizontal, |
| int32 | vertical, | ||
| BorderType | borderType = BorderType::Reflect_101 |
||
| ) |
| ImageROI& s3d::ImageROI::gaussianBlur | ( | int32 | size, |
| BorderType | borderType = BorderType::Reflect_101 |
||
| ) |
| ImageROI& s3d::ImageROI::grayscale | ( | ) |
|
noexcept |
| ImageROI& s3d::ImageROI::mirror | ( | ) |
| ImageROI& s3d::ImageROI::negate | ( | ) |
| void s3d::ImageROI::paint | ( | Image & | dst, |
| const Point & | pos, | ||
| const Color & | color = Palette::White |
||
| ) | const |
| void s3d::ImageROI::paint | ( | Image & | dst, |
| int32 | x, | ||
| int32 | y, | ||
| const Color & | color = Palette::White |
||
| ) | const |
| void s3d::ImageROI::paintAt | ( | Image & | dst, |
| const Point & | pos, | ||
| const Color & | color = Palette::White |
||
| ) | const |
| void s3d::ImageROI::paintAt | ( | Image & | dst, |
| int32 | x, | ||
| int32 | y, | ||
| const Color & | color = Palette::White |
||
| ) | const |
| ImageROI& s3d::ImageROI::rotate180 | ( | ) |
| ImageROI& s3d::ImageROI::sepia | ( | ) |
| void s3d::ImageROI::stamp | ( | Image & | dst, |
| const Point & | pos, | ||
| const Color & | color = Palette::White |
||
| ) | const |
| void s3d::ImageROI::stamp | ( | Image & | dst, |
| int32 | x, | ||
| int32 | y, | ||
| const Color & | color = Palette::White |
||
| ) | const |
| void s3d::ImageROI::stampAt | ( | Image & | dst, |
| const Point & | pos, | ||
| const Color & | color = Palette::White |
||
| ) | const |
| void s3d::ImageROI::stampAt | ( | Image & | dst, |
| int32 | x, | ||
| int32 | y, | ||
| const Color & | color = Palette::White |
||
| ) | const |
| ImageROI& s3d::ImageROI::threshold | ( | uint8 | threshold, |
| InvertColor | invertColor = InvertColor::No |
||
| ) |
| Image& s3d::ImageROI::imageRef |
| Rect s3d::ImageROI::region |