|
| SIV3D_NODISCARD_CXX20 | Image ()=default |
| |
| SIV3D_NODISCARD_CXX20 | Image (const Image &)=default |
| |
| SIV3D_NODISCARD_CXX20 | Image (Image &&image) noexcept |
| |
| SIV3D_NODISCARD_CXX20 | Image (size_t size) |
| |
| SIV3D_NODISCARD_CXX20 | Image (size_t size, Color color) |
| |
| template<class Fty , std::enable_if_t< std::disjunction_v< std::is_invocable_r< Color, Fty >, std::is_invocable_r< Color, Fty, Point >, std::is_invocable_r< Color, Fty, int32, int32 >>> * = nullptr> |
| SIV3D_NODISCARD_CXX20 | Image (size_t size, Arg::generator_< Fty > generator) |
| |
| template<class Fty , std::enable_if_t< std::disjunction_v< std::is_invocable_r< Color, Fty, Vec2 >, std::is_invocable_r< Color, Fty, double, double >>> * = nullptr> |
| SIV3D_NODISCARD_CXX20 | Image (size_t size, Arg::generator0_1_< Fty > generator) |
| |
| SIV3D_NODISCARD_CXX20 | Image (size_t width, size_t height) |
| |
| SIV3D_NODISCARD_CXX20 | Image (size_t width, size_t height, Color color) |
| |
| template<class Fty , std::enable_if_t< std::disjunction_v< std::is_invocable_r< Color, Fty >, std::is_invocable_r< Color, Fty, Point >, std::is_invocable_r< Color, Fty, int32, int32 >>> * = nullptr> |
| SIV3D_NODISCARD_CXX20 | Image (size_t width, size_t height, Arg::generator_< Fty > generator) |
| |
| template<class Fty , std::enable_if_t< std::disjunction_v< std::is_invocable_r< Color, Fty, Vec2 >, std::is_invocable_r< Color, Fty, double, double >>> * = nullptr> |
| SIV3D_NODISCARD_CXX20 | Image (size_t width, size_t height, Arg::generator0_1_< Fty > generator) |
| |
| SIV3D_NODISCARD_CXX20 | Image (Size size) |
| |
| SIV3D_NODISCARD_CXX20 | Image (Size size, Color color) |
| |
| template<class Fty , std::enable_if_t< std::disjunction_v< std::is_invocable_r< Color, Fty >, std::is_invocable_r< Color, Fty, Point >, std::is_invocable_r< Color, Fty, int32, int32 >>> * = nullptr> |
| SIV3D_NODISCARD_CXX20 | Image (Size size, Arg::generator_< Fty > generator) |
| |
| template<class Fty , std::enable_if_t< std::disjunction_v< std::is_invocable_r< Color, Fty, Vec2 >, std::is_invocable_r< Color, Fty, double, double >>> * = nullptr> |
| SIV3D_NODISCARD_CXX20 | Image (Size size, Arg::generator0_1_< Fty > generator) |
| |
| SIV3D_NODISCARD_CXX20 | Image (FilePathView path, ImageFormat format=ImageFormat::Unspecified) |
| |
| SIV3D_NODISCARD_CXX20 | Image (IReader &&reader, ImageFormat format=ImageFormat::Unspecified) |
| |
| SIV3D_NODISCARD_CXX20 | Image (FilePathView rgb, FilePathView alpha) |
| |
| SIV3D_NODISCARD_CXX20 | Image (Color rgb, FilePathView alpha) |
| |
| SIV3D_NODISCARD_CXX20 | Image (const Emoji &emoji) |
| |
| SIV3D_NODISCARD_CXX20 | Image (const Icon &icon, int32 size) |
| |
| SIV3D_NODISCARD_CXX20 | Image (const Grid< Color > &grid) |
| |
| SIV3D_NODISCARD_CXX20 | Image (const Grid< ColorF > &grid) |
| |
| template<class Type , class Fty , std::enable_if_t< std::is_invocable_r_v< Color, Fty, Type >> * = nullptr> |
| SIV3D_NODISCARD_CXX20 | Image (const Grid< Type > &grid, Fty converter) |
| |
| Image & | operator= (const Image &)=default |
| |
| Image & | operator= (Image &&image) noexcept |
| |
| int32 | width () const noexcept |
| | 画像の幅(ピクセル)を返します。 More...
|
| |
| int32 | height () const noexcept |
| | 画像の高さ(ピクセル)を返します。 More...
|
| |
| Size | size () const noexcept |
| | 画像の幅と高さ(ピクセル)を返します。 More...
|
| |
| uint32 | stride () const noexcept |
| | 画像の各行のサイズ(バイト)を返します。 More...
|
| |
| uint32 | num_pixels () const noexcept |
| | 画像の総ピクセル数を返します。 More...
|
| |
| size_t | size_bytes () const noexcept |
| | 画像のデータサイズ(バイト)を返します。 More...
|
| |
| bool | isEmpty () const noexcept |
| | 画像が空であるかを返します。 More...
|
| |
| | operator bool () const noexcept |
| | 画像が空でないかを返します。 More...
|
| |
| template<class Type = double> |
| Type | horizontalAspectRatio () const noexcept |
| |
| void | shrink_to_fit () |
| | 使用するメモリ量を現在のサイズまで切り詰めます。 More...
|
| |
| void | clear () noexcept |
| | 画像を消去し、空の画像にします。 More...
|
| |
| void | release () |
| | 画像を消去して空の画像にし、使用するメモリ量を切り詰めます。 More...
|
| |
| void | swap (Image &image) noexcept |
| | 画像を別の画像と交換します。 More...
|
| |
| Image | cloned () const |
| | 内容をコピーした新しい画像を作成して返します。 More...
|
| |
| Color * | operator[] (size_t y) |
| | 指定した行の先頭ポインタを返します。 More...
|
| |
| Color & | operator[] (Point pos) |
| | 指定した位置のピクセルの参照を返します。 More...
|
| |
| const Color * | operator[] (size_t y) const |
| | 指定した行の先頭ポインタを返します。 More...
|
| |
| const Color & | operator[] (Point pos) const |
| | 指定した位置のピクセルの参照を返します。 More...
|
| |
| Color * | data () |
| | 画像データの先頭のポインタを返します。 More...
|
| |
| const Color * | data () const |
| | 画像データの先頭のポインタを返します。 More...
|
| |
| uint8 * | dataAsUint8 () |
| | 画像データの先頭のポインタを uint8* 型で返します。 More...
|
| |
| const uint8 * | dataAsUint8 () const |
| | 画像データの先頭のポインタを uint8* 型で返します。 More...
|
| |
| const Array< Color > & | asArray () const & |
| |
| Array< Color > | asArray () && |
| |
| iterator | begin () noexcept |
| |
| iterator | end () noexcept |
| |
| const_iterator | begin () const noexcept |
| |
| const_iterator | end () const noexcept |
| |
| const_iterator | cbegin () const noexcept |
| |
| const_iterator | cend () const noexcept |
| |
| reverse_iterator | rbegin () noexcept |
| |
| reverse_iterator | rend () noexcept |
| |
| const_reverse_iterator | rbegin () const noexcept |
| |
| const_reverse_iterator | rend () const noexcept |
| |
| const_reverse_iterator | crbegin () const noexcept |
| |
| const_reverse_iterator | crend () const noexcept |
| |
| void | fill (Color color) noexcept |
| | 画像を指定した色で塗りつぶします。 More...
|
| |
| void | resize (size_t width, size_t height) |
| |
| void | resize (Size size) |
| |
| void | resize (size_t width, size_t height, Color fillColor) |
| |
| void | resize (Size size, Color fillColor) |
| |
| void | resizeRows (size_t rows, Color fillColor) |
| |
| Color | getPixel (int32 x, int32 y, ImageAddressMode addressMode) const |
| |
| Color | getPixel (Point pos, ImageAddressMode addressMode) const |
| |
| ColorF | samplePixel (double x, double y, ImageAddressMode addressMode) const |
| |
| ColorF | samplePixel (Vec2 pos, ImageAddressMode addressMode) const |
| |
| Image | clipped (const Rect &rect) const |
| |
| Image | clipped (int32 x, int32 y, int32 w, int32 h) const |
| |
| Image | clipped (const Point &pos, int32 w, int32 h) const |
| |
| Image | clipped (int32 x, int32 y, const Size &size) const |
| |
| Image | clipped (const Point &pos, const Size &size) const |
| |
| Image | squareClipped () const |
| |
| template<class Fty > |
| Image & | forEach (Fty f) |
| |
| template<class Fty > |
| const Image & | forEach (Fty f) const |
| |
| Image & | RGBAtoBGRA () |
| | 画像の R 成分と B 成分を入れ替えます。 More...
|
| |
| bool | applyAlphaFromRChannel (FilePathView alpha) |
| |
| bool | save (FilePathView path, ImageFormat format=ImageFormat::Unspecified) const |
| | 画像をファイルに保存します。 More...
|
| |
| Blob | encode (ImageFormat format) const |
| |
| bool | saveWithDialog () const |
| |
| bool | savePNG (FilePathView path, PNGFilter filter=PNGEncoder::DefaultFilter) const |
| |
| Blob | encodePNG (PNGFilter filter=PNGEncoder::DefaultFilter) const |
| |
| bool | saveJPEG (FilePathView path, int32 quality=JPEGEncoder::DefaultQuality) const |
| |
| Blob | encodeJPEG (int32 quality=JPEGEncoder::DefaultQuality) const |
| |
| bool | savePPM (FilePathView path, PPMType format=PPMEncoder::DefaultFromat) const |
| |
| Blob | encodePPM (PPMType format=PPMEncoder::DefaultFromat) const |
| |
| bool | saveWebP (FilePathView path, Lossless lossless=Lossless::No, double quality=WebPEncoder::DefaultQuality, WebPMethod method=WebPMethod::Default) const |
| |
| Blob | encodeWebP (Lossless lossless=Lossless::No, double quality=WebPEncoder::DefaultQuality, WebPMethod method=WebPMethod::Default) const |
| |
| Image & | negate () |
| | 画像の色を反転します。 More...
|
| |
| Image | negated () const |
| |
| Image & | grayscale () |
| | 画像をグレイスケール画像に変換します。 More...
|
| |
| Image | grayscaled () const |
| |
| Image & | sepia () |
| | 画像をセピア画像に変換します。 More...
|
| |
| Image | sepiaed () const |
| |
| Image & | posterize (int32 level) |
| |
| Image | posterized (int32 level) const |
| |
| Image & | brighten (int32 level) |
| |
| Image | brightened (int32 level) const |
| |
| Image & | mirror () |
| | 画像を左右反転します。 More...
|
| |
| Image | mirrored () const |
| |
| Image & | flip () |
| | 画像を上下反転します。 More...
|
| |
| Image | flipped () const |
| |
| Image & | rotate90 () |
| | 画像を時計回りに 90° 回転します。 More...
|
| |
| Image | rotated90 () const |
| |
| Image & | rotate180 () |
| | 画像を時計回りに 180° 回転します。 More...
|
| |
| Image | rotated180 () const |
| |
| Image & | rotate270 () |
| | 画像を時計回りに 270° 回転します。 More...
|
| |
| Image | rotated270 () const |
| |
| Image & | gammaCorrect (double gamma) |
| |
| Image | gammaCorrected (double gamma) const |
| |
| Image & | threshold (uint8 threshold, InvertColor invertColor=InvertColor::No) |
| |
| Image | thresholded (uint8 threshold, InvertColor invertColor=InvertColor::No) const |
| |
| Image & | threshold_Otsu (InvertColor invertColor=InvertColor::No) |
| |
| Image | thresholded_Otsu (InvertColor invertColor=InvertColor::No) const |
| |
| Image & | adaptiveThreshold (AdaptiveThresholdMethod method, int32 blockSize, double c, InvertColor invertColor=InvertColor::No) |
| |
| Image | adaptiveThresholded (AdaptiveThresholdMethod method, int32 blockSize, double c, InvertColor invertColor=InvertColor::No) const |
| |
| Image & | mosaic (int32 size) |
| |
| Image & | mosaic (int32 horizontal, int32 vertical) |
| |
| Image | mosaiced (int32 size) const |
| |
| Image | mosaiced (int32 horizontal, int32 vertical) const |
| |
| Image & | spread (int32 size) |
| |
| Image & | spread (int32 horizontal, int32 vertical) |
| |
| Image | spreaded (int32 size) const |
| |
| Image | spreaded (int32 horizontal, int32 vertical) const |
| |
| Image & | blur (int32 size, BorderType borderType=BorderType::Reflect_101) |
| |
| Image & | blur (int32 horizontal, int32 vertical, BorderType borderType=BorderType::Reflect_101) |
| |
| Image | blurred (int32 size, BorderType borderType=BorderType::Reflect_101) const |
| |
| Image | blurred (int32 horizontal, int32 vertical, BorderType borderType=BorderType::Reflect_101) const |
| |
| Image & | medianBlur (int32 apertureSize) |
| |
| Image | medianBlurred (int32 apertureSize) const |
| |
| Image & | gaussianBlur (int32 size, BorderType borderType=BorderType::Reflect_101) |
| |
| Image & | gaussianBlur (int32 horizontal, int32 vertical, BorderType borderType=BorderType::Reflect_101) |
| |
| Image | gaussianBlurred (int32 size, BorderType borderType=BorderType::Reflect_101) const |
| |
| Image | gaussianBlurred (int32 horizontal, int32 vertical, BorderType borderType=BorderType::Reflect_101) const |
| |
| Image & | bilateralFilter (int32 d, double sigmaColor, double sigmaSpace, BorderType borderType=BorderType::Reflect_101) |
| |
| Image | bilateralFiltered (int32 d, double sigmaColor, double sigmaSpace, BorderType borderType=BorderType::Reflect_101) const |
| |
| Image & | dilate (int32 iterations=1) |
| |
| Image | dilated (int32 iterations=1) const |
| |
| Image & | erode (int32 iterations=1) |
| |
| Image | eroded (int32 iterations=1) const |
| |
| Image & | floodFill (const Point &pos, const Color &color, FloodFillConnectivity connectivity=FloodFillConnectivity::Value4, int32 lowerDifference=0, int32 upperDifference=0) |
| |
| Image | floodFilled (const Point &pos, const Color &color, FloodFillConnectivity connectivity=FloodFillConnectivity::Value4, int32 lowerDifference=0, int32 upperDifference=0) const |
| |
| Image & | scale (int32 width, int32 height, InterpolationAlgorithm interpolation=InterpolationAlgorithm::Auto) |
| |
| Image | scaled (int32 width, int32 height, InterpolationAlgorithm interpolation=InterpolationAlgorithm::Auto) const |
| |
| Image & | scale (const Size &size, InterpolationAlgorithm interpolation=InterpolationAlgorithm::Auto) |
| |
| Image | scaled (const Size &size, InterpolationAlgorithm interpolation=InterpolationAlgorithm::Auto) const |
| |
| Image & | scale (double scaling, InterpolationAlgorithm interpolation=InterpolationAlgorithm::Auto) |
| |
| Image | scaled (double scaling, InterpolationAlgorithm interpolation=InterpolationAlgorithm::Auto) const |
| |
| Image & | fit (int32 width, int32 height, AllowScaleUp allowScaleUp=AllowScaleUp::Yes, InterpolationAlgorithm interpolation=InterpolationAlgorithm::Auto) |
| |
| Image | fitted (int32 width, int32 height, AllowScaleUp allowScaleUp=AllowScaleUp::Yes, InterpolationAlgorithm interpolation=InterpolationAlgorithm::Auto) const |
| |
| Image & | fit (const Size &size, AllowScaleUp allowScaleUp=AllowScaleUp::Yes, InterpolationAlgorithm interpolation=InterpolationAlgorithm::Auto) |
| |
| Image | fitted (const Size &size, AllowScaleUp allowScaleUp=AllowScaleUp::Yes, InterpolationAlgorithm interpolation=InterpolationAlgorithm::Auto) const |
| |
| Image & | border (int32 thickness, const Color &color=Palette::White) |
| |
| Image | bordered (int32 thickness, const Color &color=Palette::White) const |
| |
| Image & | border (int32 top, int32 right, int32 bottom, int32 left, const Color &color=Palette::White) |
| |
| Image | bordered (int32 top, int32 right, int32 bottom, int32 left, const Color &color=Palette::White) const |
| |
| Image | warpAffine (const Mat3x2 &mat, const Color &background=Color{ 0, 0 }) const |
| |
| Image | rotated (double angle, const Color &background=Color{ 0, 0 }) const |
| |
| Image | warpPerspective (const Quad &quad, const Color &background=Color{ 0, 0 }) const |
| |
| 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 |
| |
| ImageROI | operator() (int32 x, int32 y, int32 w, int32 h) |
| |
| ImageROI | operator() (const Point &pos, int32 w, int32 h) |
| |
| ImageROI | operator() (int32 x, int32 y, const Size &size) |
| |
| ImageROI | operator() (const Point &pos, const Size &size) |
| |
| ImageROI | operator() (const Rect &rect) |
| |
| ImageConstROI | operator() (int32 x, int32 y, int32 w, int32 h) const |
| |
| ImageConstROI | operator() (const Point &pos, int32 w, int32 h) const |
| |
| ImageConstROI | operator() (int32 x, int32 y, const Size &size) const |
| |
| ImageConstROI | operator() (const Point &pos, const Size &size) const |
| |
| ImageConstROI | operator() (const Rect &rect) const |
| |
| Polygon | alphaToPolygon (uint32 threshold=160, AllowHoles allowHoles=AllowHoles::Yes) const |
| |
| Polygon | alphaToPolygonCentered (uint32 threshold=160, AllowHoles allowHoles=AllowHoles::Yes) const |
| |
| MultiPolygon | alphaToPolygons (uint32 threshold=160, AllowHoles allowHoles=AllowHoles::Yes) const |
| |
| MultiPolygon | alphaToPolygonsCentered (uint32 threshold=160, AllowHoles allowHoles=AllowHoles::Yes) const |
| |
| Polygon | grayscaleToPolygon (uint32 threshold=160, AllowHoles allowHoles=AllowHoles::Yes) const |
| |
| Polygon | grayscaleToPolygonCentered (uint32 threshold=160, AllowHoles allowHoles=AllowHoles::Yes) const |
| |
| MultiPolygon | grayscaleToPolygons (uint32 threshold=160, AllowHoles allowHoles=AllowHoles::Yes) const |
| |
| MultiPolygon | grayscaleToPolygonsCentered (uint32 threshold=160, AllowHoles allowHoles=AllowHoles::Yes) const |
| |