Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- acquireRasterA(int, int, PixelFormat) - Method in class cloud.opencode.base.image.buffer.PingPongBufferPool
-
Acquire raster slot A, reallocating if required.
- acquireRasterB(int, int, PixelFormat) - Method in class cloud.opencode.base.image.buffer.PingPongBufferPool
-
Acquire raster slot B, reallocating if required.
- adaptiveThreshold(int, double) - Method in class cloud.opencode.base.image.Image
-
Adaptive threshold. | 自适应阈值。
- AdaptiveThresholdOp - Class in cloud.opencode.base.image.threshold
-
Adaptive Thresholding Operations 自适应阈值操作工具类
- AdaptiveThresholdOp.Method - Enum Class in cloud.opencode.base.image.threshold
-
Adaptive threshold method enumeration.
- AffineTransformOp - Class in cloud.opencode.base.image.transform
-
Affine Transform Operations for Images 图像仿射变换操作
- aHash(Raster) - Static method in class cloud.opencode.base.image.compare.PerceptualHash
-
Compute aHash for a
Raster. - ALL - Enum constant in enum class cloud.opencode.base.image.exif.ExifTag
-
All EXIF tags - strip the entire APP1 segment 所有 EXIF 标签 - 清除整个 APP1 段
- analyze(Raster) - Static method in class cloud.opencode.base.image.analysis.ConnectedComponentsOp
-
Analyze connected components in a
Rasterusing 8-connectivity. - analyze(Raster, ConnectedComponentsOp.Connectivity) - Static method in class cloud.opencode.base.image.analysis.ConnectedComponentsOp
-
Analyze connected components in a
Rasterwith specified connectivity. - anchorX() - Method in record class cloud.opencode.base.image.morphology.StructuringElement
-
Returns the value of the
anchorXrecord component. - anchorY() - Method in record class cloud.opencode.base.image.morphology.StructuringElement
-
Returns the value of the
anchorYrecord component. - andThen(ImageOperation) - Method in interface cloud.opencode.base.image.security.ImageOperation
-
Chain with another operation 与另一个操作链接
- andThen(RasterOperation) - Method in interface cloud.opencode.base.image.security.RasterOperation
-
Chain with another operation 与另一个操作链接
- apply(Raster) - Static method in class cloud.opencode.base.image.color.WhiteBalanceOp
-
Apply Gray World white balance correction to a
Raster. - apply(Raster) - Static method in class cloud.opencode.base.image.edge.CannyOp
-
Apply Canny edge detection to a
Rasterwith default thresholds (50, 150) and sigma=1.4. - apply(Raster) - Static method in class cloud.opencode.base.image.edge.LaplacianOp
-
Apply Laplacian edge detection to a
Raster. - apply(Raster) - Static method in class cloud.opencode.base.image.edge.SobelOp
-
Compute Sobel gradient magnitude on a
Raster. - apply(Raster) - Static method in class cloud.opencode.base.image.filter.BilateralFilterOp
-
Apply bilateral filter to a
Rasterwith default parameters (kernelSize=9, sigmaColor=75, sigmaSpace=75). - apply(Raster) - Static method in class cloud.opencode.base.image.filter.SharpenOp
-
Apply unsharp mask sharpening to a
Rasterwith default parameters (amount=1.0, sigma=1.0). - apply(Raster) - Static method in class cloud.opencode.base.image.histogram.ClaheOp
-
Apply CLAHE with default parameters (clipLimit=2.0, tileGridSize=8) to a
Raster. - apply(Raster) - Static method in class cloud.opencode.base.image.histogram.HistogramEqualizationOp
-
Apply grayscale histogram equalization to a
Raster. - apply(Raster) - Method in interface cloud.opencode.base.image.security.ImageOperation
-
Apply operation to raster 应用操作到 raster
- apply(Raster) - Method in interface cloud.opencode.base.image.security.RasterOperation
-
Apply operation to raster 应用操作到 raster
- apply(Raster) - Static method in class cloud.opencode.base.image.threshold.OtsuOp
-
Apply Otsu's automatic thresholding to a
Raster. - apply(Raster, double) - Static method in class cloud.opencode.base.image.color.GammaOp
-
Apply gamma correction to a
Raster. - apply(Raster, double) - Static method in class cloud.opencode.base.image.color.SaturationOp
-
Adjust the saturation of a
Raster. - apply(Raster, double) - Static method in class cloud.opencode.base.image.filter.GaussianBlurOp
-
Apply Gaussian blur to a
Rasterwith automatic kernel size computed fromsigma(radius =ceil(3 * sigma)). - apply(Raster, double) - Static method in class cloud.opencode.base.image.filter.SharpenOp
-
Apply unsharp mask sharpening to a
Rasterwith custom amount. - apply(Raster, double[]) - Static method in class cloud.opencode.base.image.transform.AffineTransformOp
-
Apply an affine transform with a 6-parameter matrix to a
Raster. - apply(Raster, double[], double[], int, int) - Static method in class cloud.opencode.base.image.transform.AffineTransformOp
-
Apply an affine transform to a
Rasterfrom 3 source/destination point pairs. - apply(Raster, double[], double[], int, int) - Static method in class cloud.opencode.base.image.transform.PerspectiveTransformOp
-
Apply a perspective transform to a
Rasterfrom 4 source/destination point pairs. - apply(Raster, double[], Raster) - Static method in class cloud.opencode.base.image.transform.AffineTransformOp
-
Apply an affine transform with optional output buffer to a
Raster. - apply(Raster, double, double) - Static method in class cloud.opencode.base.image.edge.CannyOp
-
Apply Canny edge detection to a
Rasterwith specified thresholds and sigma=1.4. - apply(Raster, double, double) - Static method in class cloud.opencode.base.image.filter.SharpenOp
-
Apply unsharp mask sharpening to a
Rasterwith custom amount and sigma. - apply(Raster, double, int) - Static method in class cloud.opencode.base.image.filter.GaussianBlurOp
-
Apply Gaussian blur to a
Rasterwith explicit kernel size. - apply(Raster, double, int) - Static method in class cloud.opencode.base.image.histogram.ClaheOp
-
Apply CLAHE with specified parameters to a
Raster. - apply(Raster, double, int, Raster) - Static method in class cloud.opencode.base.image.histogram.ClaheOp
-
Apply CLAHE with specified parameters and optional output buffer to a
Raster. - apply(Raster, int) - Static method in class cloud.opencode.base.image.filter.BoxBlurOp
-
Apply box blur to a
Rasterusing integral images. - apply(Raster, int) - Static method in class cloud.opencode.base.image.filter.MedianBlurOp
-
Apply median filter to a
Raster. - apply(Raster, int) - Static method in class cloud.opencode.base.image.threshold.ThresholdOp
-
Apply BINARY mode threshold to a
Raster(convenience method). - apply(Raster, int, double) - Static method in class cloud.opencode.base.image.threshold.AdaptiveThresholdOp
-
Apply adaptive threshold to a
Rasterwith MEAN method (convenience). - apply(Raster, int, double, double) - Static method in class cloud.opencode.base.image.filter.BilateralFilterOp
-
Apply bilateral filter to a
Rasterwith custom parameters. - apply(Raster, int, double, double, Raster) - Static method in class cloud.opencode.base.image.filter.BilateralFilterOp
-
Apply bilateral filter to a
Rasterwith optional output buffer. - apply(Raster, int, double, AdaptiveThresholdOp.Method) - Static method in class cloud.opencode.base.image.threshold.AdaptiveThresholdOp
-
Apply adaptive threshold to a
Rasterwith the specified method. - apply(Raster, int, double, AdaptiveThresholdOp.Method, Raster) - Static method in class cloud.opencode.base.image.threshold.AdaptiveThresholdOp
-
Apply adaptive threshold to a
Rasterwith the specified method and optional caller-provided output buffer. - apply(Raster, int, int) - Static method in class cloud.opencode.base.image.edge.SobelOp
-
Compute directional Sobel gradient on a
Raster. - apply(Raster, int, Raster) - Static method in class cloud.opencode.base.image.filter.BoxBlurOp
-
Apply box blur to a
Rasterwith optional caller-provided output buffer. - apply(Raster, int, Raster) - Static method in class cloud.opencode.base.image.filter.MedianBlurOp
-
Apply median filter to a
Rasterwith optional caller-provided output buffer. - apply(Raster, int, ThresholdOp.Mode) - Static method in class cloud.opencode.base.image.threshold.ThresholdOp
-
Apply fixed threshold to a
Rasterwith the specified mode. - apply(Raster, Bitmap) - Method in record class cloud.opencode.base.image.watermark.TextWatermark
- apply(Raster, Raster) - Static method in class cloud.opencode.base.image.histogram.ClaheOp
-
Apply CLAHE with default parameters and optional output buffer.
- apply(Raster, Raster) - Static method in class cloud.opencode.base.image.histogram.HistogramEqualizationOp
-
Apply grayscale histogram equalization to a
Rasterwith optional output buffer. - apply(Raster, Raster) - Static method in class cloud.opencode.base.image.threshold.OtsuOp
-
Apply Otsu's automatic thresholding to a
Rasterwith optional caller-provided output buffer. - apply(Raster, Raster) - Method in record class cloud.opencode.base.image.watermark.ImageWatermark
- applyTiled(Raster, Bitmap, int, int) - Method in record class cloud.opencode.base.image.watermark.TextWatermark
- applyTiled(Raster, Raster, int, int) - Method in record class cloud.opencode.base.image.watermark.ImageWatermark
- area() - Method in record class cloud.opencode.base.image.analysis.ConnectedComponentsOp.Component
-
Returns the value of the
arearecord component. - area() - Method in record class cloud.opencode.base.image.analysis.ContourFinderOp.Contour
-
Compute the area enclosed by this contour using the Shoelace formula.
- arrow(Raster, int, int, int, int, int, int) - Static method in class cloud.opencode.base.image.draw.DrawOp
- aspectRatio() - Method in record class cloud.opencode.base.image.ImageInfo
-
Get aspect ratio 获取宽高比
- autoOrient(int) - Method in class cloud.opencode.base.image.Image
-
Auto-orient by EXIF orientation tag. | 按 EXIF orientation 自动正向。
- autoOrient(Raster, int) - Static method in class cloud.opencode.base.image.exif.ExifOp
-
Auto-orient a
Rasterbased on EXIF orientation value.
B
- batch(List) - Static method in class cloud.opencode.base.image.responsive.ResponsiveBuilder
-
Create a batch builder for processing multiple source images.
- BGR_8 - Enum constant in enum class cloud.opencode.base.image.core.PixelFormat
-
24-bit BGR, 3 bytes per pixel (B, G, R). | 24 位 BGR,每像素 3 字节(B、G、R)。
- BGRA_8 - Enum constant in enum class cloud.opencode.base.image.core.PixelFormat
-
32-bit BGRA, 4 bytes per pixel (B, G, R, A). | 32 位 BGRA,每像素 4 字节(B、G、R、A)。
- bilateralFilter() - Method in class cloud.opencode.base.image.Image
-
Bilateral filter. | 双边滤波。
- BilateralFilterOp - Class in cloud.opencode.base.image.filter
-
Bilateral Filter 双边滤波器
- BINARY - Enum constant in enum class cloud.opencode.base.image.threshold.ThresholdOp.Mode
-
Below threshold to 0, at or above to 255 | 低于阈值置 0,大于等于阈值置 255
- BINARY_INV - Enum constant in enum class cloud.opencode.base.image.threshold.ThresholdOp.Mode
-
Below threshold to 255, at or above to 0 | 低于阈值置 255,大于等于阈值置 0
- blackHat(Raster, StructuringElement) - Static method in class cloud.opencode.base.image.morphology.MorphologyOp
-
Compute the black-hat transform (closing - original) on a
Raster. - BMP - Enum constant in enum class cloud.opencode.base.image.ImageFormat
-
BMP format | BMP格式
- border(int, int) - Method in class cloud.opencode.base.image.Image
-
Draw a solid border of the given color. | 绘制纯色边框。
- BOTTOM_CENTER - Enum constant in enum class cloud.opencode.base.image.Position
-
Bottom center | 底部居中
- BOTTOM_LEFT - Enum constant in enum class cloud.opencode.base.image.Position
-
Bottom left corner | 左下角
- BOTTOM_RIGHT - Enum constant in enum class cloud.opencode.base.image.Position
-
Bottom right corner | 右下角
- boundingBox() - Method in record class cloud.opencode.base.image.analysis.ContourFinderOp.Contour
-
Compute the bounding box of this contour.
- boundsHeight() - Method in record class cloud.opencode.base.image.analysis.ConnectedComponentsOp.Component
-
Returns the value of the
boundsHeightrecord component. - boundsWidth() - Method in record class cloud.opencode.base.image.analysis.ConnectedComponentsOp.Component
-
Returns the value of the
boundsWidthrecord component. - boundsX() - Method in record class cloud.opencode.base.image.analysis.ConnectedComponentsOp.Component
-
Returns the value of the
boundsXrecord component. - boundsY() - Method in record class cloud.opencode.base.image.analysis.ConnectedComponentsOp.Component
-
Returns the value of the
boundsYrecord component. - boxBlur(int) - Method in class cloud.opencode.base.image.Image
-
Box (mean) blur. | 均值模糊。
- BoxBlurOp - Class in cloud.opencode.base.image.filter
-
Box Blur Filter 均值模糊滤波器
- brightness(double) - Method in class cloud.opencode.base.image.Image
-
Brightness. | 亮度。
- brightness(Raster, double) - Static method in class cloud.opencode.base.image.color.BrightnessContrastOp
-
Adjust brightness of a
Rasterby multiplying each RGB component by the given factor. - BrightnessContrastOp - Class in cloud.opencode.base.image.color
-
Brightness and Contrast Adjustment Operations 亮度与对比度调整操作工具类
- build() - Method in class cloud.opencode.base.image.security.SafeImageService.Builder
- build() - Method in class cloud.opencode.base.image.thumbnail.ThumbnailBuilder
-
Build the thumbnail.
- build() - Method in class cloud.opencode.base.image.watermark.ImageWatermark.Builder
- build() - Method in class cloud.opencode.base.image.watermark.TextWatermark.Builder
- builder() - Static method in class cloud.opencode.base.image.security.SafeImageService
-
Create builder 创建构建器
- builder() - Static method in record class cloud.opencode.base.image.watermark.ImageWatermark
-
Create a builder 创建构建器
- builder() - Static method in record class cloud.opencode.base.image.watermark.TextWatermark
-
Create a builder 创建构建器
- builder(ImageWatermark) - Static method in record class cloud.opencode.base.image.watermark.ImageWatermark
-
Create a builder from existing watermark 从现有水印创建构建器
- builder(TextWatermark) - Static method in record class cloud.opencode.base.image.watermark.TextWatermark
-
Create a builder from existing watermark 从现有水印创建构建器
- Builder() - Constructor for class cloud.opencode.base.image.security.SafeImageService.Builder
- Builder() - Constructor for class cloud.opencode.base.image.watermark.ImageWatermark.Builder
- Builder() - Constructor for class cloud.opencode.base.image.watermark.TextWatermark.Builder
- buildRaster(Raster) - Method in class cloud.opencode.base.image.thumbnail.ThumbnailBuilder
-
Build a thumbnail from the supplied
Raster(overrides any previously configured source). - byteOffsetOf(int, int) - Method in class cloud.opencode.base.image.core.Raster
- bytesPerPixel() - Method in enum class cloud.opencode.base.image.core.PixelFormat
-
Returns the number of bytes occupied by one pixel of this format.
C
- CAMERA - Enum constant in enum class cloud.opencode.base.image.exif.ExifTag
-
Camera make and model tags (0x010F, 0x0110) 相机制造商和型号标签 (0x010F, 0x0110)
- cameraMake() - Method in record class cloud.opencode.base.image.exif.ExifInfo
-
Returns the value of the
cameraMakerecord component. - cameraModel() - Method in record class cloud.opencode.base.image.exif.ExifInfo
-
Returns the value of the
cameraModelrecord component. - cannyEdge(double, double) - Method in class cloud.opencode.base.image.Image
-
Canny edge detection. | Canny 边缘检测。
- CannyOp - Class in cloud.opencode.base.image.edge
-
Canny Edge Detection Operator Canny 边缘检测算子
- CENTER - Enum constant in enum class cloud.opencode.base.image.Position
-
Center | 居中
- CENTER_LEFT - Enum constant in enum class cloud.opencode.base.image.Position
-
Center left | 左侧居中
- CENTER_RIGHT - Enum constant in enum class cloud.opencode.base.image.Position
-
Center right | 右侧居中
- centroidX() - Method in record class cloud.opencode.base.image.analysis.ConnectedComponentsOp.Component
-
Returns the value of the
centroidXrecord component. - centroidY() - Method in record class cloud.opencode.base.image.analysis.ConnectedComponentsOp.Component
-
Returns the value of the
centroidYrecord component. - channel() - Method in record class cloud.opencode.base.image.histogram.HistogramOp.Histogram
-
Returns the value of the
channelrecord component. - channelCount() - Method in enum class cloud.opencode.base.image.core.PixelFormat
-
Returns the number of channels in this format.
- checkMagicNumber(byte[]) - Static method in class cloud.opencode.base.image.validation.ImageValidator
-
Check magic number 检查魔数
- circle(Raster, int, int, int, int, int, boolean) - Static method in class cloud.opencode.base.image.draw.DrawOp
-
Draw a circle on a
Raster, outline or filled. - clahe(double, int) - Method in class cloud.opencode.base.image.Image
-
CLAHE histogram equalization. | CLAHE 直方图均衡化。
- ClaheOp - Class in cloud.opencode.base.image.histogram
-
Contrast Limited Adaptive Histogram Equalization (CLAHE) 对比度限制自适应直方图均衡化 (CLAHE)
- close() - Method in class cloud.opencode.base.image.security.SafeImageService
- close(Raster, StructuringElement) - Static method in class cloud.opencode.base.image.morphology.MorphologyOp
-
Close a
Raster(dilate then erode). - close(StructuringElement) - Method in class cloud.opencode.base.image.raster.RasterPipeline
-
Apply morphological closing (dilation followed by erosion).
- cloud.opencode.base.image - module cloud.opencode.base.image
-
OpenCode Base Image Module OpenCode 图片处理模块
- cloud.opencode.base.image - package cloud.opencode.base.image
- cloud.opencode.base.image.analysis - package cloud.opencode.base.image.analysis
- cloud.opencode.base.image.buffer - package cloud.opencode.base.image.buffer
-
Reusable output buffer utilities for image operators.
- cloud.opencode.base.image.color - package cloud.opencode.base.image.color
- cloud.opencode.base.image.compare - package cloud.opencode.base.image.compare
- cloud.opencode.base.image.core - package cloud.opencode.base.image.core
- cloud.opencode.base.image.core.exception - package cloud.opencode.base.image.core.exception
- cloud.opencode.base.image.draw - package cloud.opencode.base.image.draw
- cloud.opencode.base.image.edge - package cloud.opencode.base.image.edge
- cloud.opencode.base.image.exception - package cloud.opencode.base.image.exception
- cloud.opencode.base.image.exif - package cloud.opencode.base.image.exif
- cloud.opencode.base.image.feature - package cloud.opencode.base.image.feature
- cloud.opencode.base.image.filter - package cloud.opencode.base.image.filter
- cloud.opencode.base.image.histogram - package cloud.opencode.base.image.histogram
- cloud.opencode.base.image.morphology - package cloud.opencode.base.image.morphology
- cloud.opencode.base.image.raster - package cloud.opencode.base.image.raster
- cloud.opencode.base.image.responsive - package cloud.opencode.base.image.responsive
- cloud.opencode.base.image.security - package cloud.opencode.base.image.security
- cloud.opencode.base.image.threshold - package cloud.opencode.base.image.threshold
- cloud.opencode.base.image.thumbnail - package cloud.opencode.base.image.thumbnail
- cloud.opencode.base.image.transform - package cloud.opencode.base.image.transform
- cloud.opencode.base.image.validation - package cloud.opencode.base.image.validation
- cloud.opencode.base.image.watermark - package cloud.opencode.base.image.watermark
- COLOR_SPACE_ERROR - Enum constant in enum class cloud.opencode.base.image.exception.ImageErrorCode
-
Color space conversion failed | 颜色空间转换失败
- colorArgb() - Method in record class cloud.opencode.base.image.watermark.TextWatermark
-
Returns the value of the
colorArgbrecord component. - colorArgb(int) - Method in class cloud.opencode.base.image.watermark.TextWatermark.Builder
- colorArgb(int, int, int, int) - Method in class cloud.opencode.base.image.watermark.TextWatermark.Builder
-
Set color by RGBA components.
- ColorExtractor - Class in cloud.opencode.base.image.color
-
Color Extraction Utility 颜色提取工具类
- ColorFilterOp - Class in cloud.opencode.base.image.color
-
Color Filter Operations 颜色滤镜操作工具类
- colorRgb(int, int, int) - Method in class cloud.opencode.base.image.watermark.TextWatermark.Builder
-
Set color by RGB (alpha = 0xFF).
- ColorSpaceOp - Class in cloud.opencode.base.image.color
-
Color Space Conversion Utilities 颜色空间转换工具类
- COMPARE_ERROR - Enum constant in enum class cloud.opencode.base.image.exception.ImageErrorCode
-
Image comparison failed | 图像比较失败
- Component(int, int, int, int, int, int, int, int) - Constructor for record class cloud.opencode.base.image.analysis.ConnectedComponentsOp.Component
-
Creates an instance of a
Componentrecord class. - componentCount() - Method in record class cloud.opencode.base.image.analysis.ConnectedComponentsOp.Result
-
Get the number of connected components found.
- components() - Method in record class cloud.opencode.base.image.analysis.ConnectedComponentsOp.Result
-
Returns the value of the
componentsrecord component. - compose(ImageOperation) - Method in interface cloud.opencode.base.image.security.ImageOperation
-
Compose with another operation 与另一个操作组合
- compose(RasterOperation) - Method in interface cloud.opencode.base.image.security.RasterOperation
-
Compose with another operation 与另一个操作组合
- compress(float) - Method in class cloud.opencode.base.image.Image
-
Compress (JPEG path). | JPEG 压缩。
- compress(Path, Path, float) - Static method in class cloud.opencode.base.image.OpenImage
-
Quick JPEG compress. | 快速 JPEG 压缩。
- COMPRESS_FAILED - Enum constant in enum class cloud.opencode.base.image.exception.ImageErrorCode
-
Compress failed | 压缩失败
- compressRaster(Path, Path, float) - Static method in class cloud.opencode.base.image.OpenImage
-
Quick path-to-path JPEG compression on the
Rasterpipeline. - compute(Raster) - Static method in class cloud.opencode.base.image.histogram.HistogramOp
-
Compute per-channel (R, G, B) histograms of a
Raster. - computeGray(Raster) - Static method in class cloud.opencode.base.image.histogram.HistogramOp
-
Compute the grayscale histogram of a
Raster. - computeThreshold(int[]) - Static method in class cloud.opencode.base.image.threshold.OtsuOp
-
Compute the optimal Otsu threshold from a 256-bin histogram.
- ConnectedComponentsOp - Class in cloud.opencode.base.image.analysis
-
Connected Components Analysis using Two-Pass Union-Find Algorithm 基于两遍扫描 Union-Find 算法的连通域分析
- ConnectedComponentsOp.Component - Record Class in cloud.opencode.base.image.analysis
-
A single connected component with its statistics.
- ConnectedComponentsOp.Connectivity - Enum Class in cloud.opencode.base.image.analysis
-
Connectivity type for neighbor pixel definition.
- ConnectedComponentsOp.Result - Record Class in cloud.opencode.base.image.analysis
-
The result of connected component analysis.
- Contour(List) - Constructor for record class cloud.opencode.base.image.analysis.ContourFinderOp.Contour
-
Create a contour with a defensive copy of the points list.
- ContourFinderOp - Class in cloud.opencode.base.image.analysis
-
Contour Finder using Moore Neighborhood Border Tracing Algorithm 基于 Moore 邻域边界追踪算法的轮廓检测
- ContourFinderOp.Contour - Record Class in cloud.opencode.base.image.analysis
-
A single contour consisting of boundary pixel coordinates.
- contrast(double) - Method in class cloud.opencode.base.image.Image
-
Contrast. | 对比度。
- contrast(Raster, double) - Static method in class cloud.opencode.base.image.color.BrightnessContrastOp
-
Adjust contrast of a
Rasterby scaling RGB components around the midpoint 128. - convert(ImageFormat) - Method in class cloud.opencode.base.image.Image
-
Convert pixel layout to suit the target format (e.g. drop alpha for JPEG).
- convert(Path, Path, ImageFormat) - Static method in class cloud.opencode.base.image.OpenImage
-
Quick format conversion. | 快速格式转换。
- CONVERT_FAILED - Enum constant in enum class cloud.opencode.base.image.exception.ImageErrorCode
-
Convert failed | 转换失败
- copy() - Method in class cloud.opencode.base.image.core.Raster
-
Returns a deep copy with tight stride, fresh buffer, only the visible sub-region.
- copy() - Method in class cloud.opencode.base.image.Image
-
Make a deep copy. | 深拷贝。
- counts() - Method in record class cloud.opencode.base.image.histogram.HistogramOp.Histogram
-
Return a defensive copy of the counts array.
- create() - Method in class cloud.opencode.base.image.thumbnail.ThumbnailBuilder
-
Build the thumbnail and save to the configured output path.
- create(int, int, PixelFormat) - Static method in class cloud.opencode.base.image.core.Raster
-
Allocates a fresh Raster of the given dimensions with tight stride (zero-filled).
- createBlank(int, int) - Static method in class cloud.opencode.base.image.OpenImage
-
Create a blank image (transparent black RGBA_8).
- createBlank(int, int, int) - Static method in class cloud.opencode.base.image.OpenImage
-
Create a blank image filled with the given ARGB color.
- createBlankRaster(int, int) - Static method in class cloud.opencode.base.image.OpenImage
-
Create a blank
Raster(transparent RGBA_8). - createBlankRaster(int, int, int) - Static method in class cloud.opencode.base.image.OpenImage
-
Create a blank
Rasterfilled with the given ARGB color. - createDefault() - Static method in class cloud.opencode.base.image.security.SafeImageService
-
Create with default settings 使用默认设置创建
- crop(boolean) - Method in class cloud.opencode.base.image.thumbnail.ThumbnailBuilder
- crop(int, int, int, int) - Method in class cloud.opencode.base.image.Image
-
Crop to rectangle. | 裁剪到矩形。
- crop(Path, Path, int, int, int, int) - Static method in class cloud.opencode.base.image.OpenImage
-
Quick crop. | 快速裁剪。
- CROP_FAILED - Enum constant in enum class cloud.opencode.base.image.exception.ImageErrorCode
-
Crop failed | 裁剪失败
- cropCenter(int, int) - Method in class cloud.opencode.base.image.Image
-
Crop centered to (width, height). | 居中裁剪。
- cropRaster(Path, Path, int, int, int, int) - Static method in class cloud.opencode.base.image.OpenImage
-
Quick path-to-path crop on the
Rasterpipeline. - cropSquare() - Method in class cloud.opencode.base.image.Image
-
Crop to a centered square. | 裁剪为居中正方形。
- cropToAspectRatio(int, int) - Method in class cloud.opencode.base.image.Image
-
Crop to a target aspect ratio centered. | 裁剪为目标宽高比(居中)。
- cross(int) - Static method in record class cloud.opencode.base.image.morphology.StructuringElement
-
Create a cross (plus) shaped structuring element.
D
- data() - Method in class cloud.opencode.base.image.core.Raster
-
Returns the underlying byte buffer.
- dateTime() - Method in record class cloud.opencode.base.image.exif.ExifInfo
-
Returns the value of the
dateTimerecord component. - DATETIME - Enum constant in enum class cloud.opencode.base.image.exif.ExifTag
-
DateTime tag (0x0132) 日期时间标签 (0x0132)
- DEFAULT_COLOR_ARGB - Static variable in record class cloud.opencode.base.image.watermark.TextWatermark
-
Default color (white, alpha=180/255) | 默认颜色(白色,alpha=180/255)
- DEFAULT_FONT_FAMILY - Static variable in record class cloud.opencode.base.image.watermark.TextWatermark
-
Default font family | 默认字体族
- DEFAULT_FONT_SIZE - Static variable in record class cloud.opencode.base.image.watermark.TextWatermark
-
Default font pixel size | 默认字体像素大小
- DEFAULT_MARGIN - Static variable in record class cloud.opencode.base.image.watermark.ImageWatermark
-
Default margin | 默认边距
- DEFAULT_MARGIN - Static variable in record class cloud.opencode.base.image.watermark.TextWatermark
-
Default margin | 默认边距
- DEFAULT_MAX_FILE_SIZE - Static variable in class cloud.opencode.base.image.validation.ImageValidator
-
Default maximum file size (10 MB) 默认最大文件大小(10 MB)
- DEFAULT_MAX_HEIGHT - Static variable in class cloud.opencode.base.image.validation.ImageValidator
-
Default maximum height (8000 pixels) 默认最大高度(8000 像素)
- DEFAULT_MAX_WIDTH - Static variable in class cloud.opencode.base.image.validation.ImageValidator
-
Default maximum width (8000 pixels) 默认最大宽度(8000 像素)
- DEFAULT_OPACITY - Static variable in record class cloud.opencode.base.image.watermark.ImageWatermark
-
Default opacity | 默认透明度
- DEFAULT_OPACITY - Static variable in record class cloud.opencode.base.image.watermark.TextWatermark
-
Default opacity | 默认透明度
- detect(Raster) - Static method in class cloud.opencode.base.image.feature.ShiTomasiOp
-
Detect Shi-Tomasi corners on a
Rasterwith default parameters (maxCorners=100, qualityLevel=0.01). - detect(Raster, double, double) - Static method in class cloud.opencode.base.image.feature.HarrisCornerOp
-
Detect Harris corners on a
Rasterwith explicit parameters. - detect(Raster, int) - Static method in class cloud.opencode.base.image.feature.HarrisCornerOp
-
Detect Harris corners on a
Rasterwith an automatic threshold, returning at mostmaxCorners. - detect(Raster, int, double) - Static method in class cloud.opencode.base.image.feature.ShiTomasiOp
-
Detect Shi-Tomasi corners on a
Rasterwith custom parameters. - detectFormat(byte[]) - Static method in class cloud.opencode.base.image.validation.ImageValidator
-
Deprecated.
- detectFormat(Path) - Static method in class cloud.opencode.base.image.OpenImage
-
Detect format from file extension.
- detectFormatFromMagic(byte[]) - Static method in class cloud.opencode.base.image.OpenImage
-
Detect image format from magic bytes (first few bytes of the payload).
- detectFormatOptional(byte[]) - Static method in class cloud.opencode.base.image.validation.ImageValidator
-
Detect format from magic number (null-safe) 从魔数检测格式(空值安全)
- dHash(Raster) - Static method in class cloud.opencode.base.image.compare.PerceptualHash
-
Compute dHash for a
Raster. - diff(Raster, Raster) - Static method in class cloud.opencode.base.image.compare.ImageCompare
-
Compute pixel-level diff between two equally-sized
Rasters. - diffImage() - Method in record class cloud.opencode.base.image.compare.ImageCompare.RasterDiffResult
-
Returns the value of the
diffImagerecord component. - diffPercent() - Method in record class cloud.opencode.base.image.compare.ImageCompare.RasterDiffResult
-
Returns the value of the
diffPercentrecord component. - dilate(Raster, StructuringElement) - Static method in class cloud.opencode.base.image.morphology.MorphologyOp
-
Dilate a
Rasterusing the given structuring element. - dilate(StructuringElement) - Method in class cloud.opencode.base.image.raster.RasterPipeline
-
Apply morphological dilation.
- dominantColor(Raster) - Static method in class cloud.opencode.base.image.color.ColorExtractor
-
Extract the single most dominant color from a
Raster. - dominantColors(Raster, int) - Static method in class cloud.opencode.base.image.color.ColorExtractor
-
Extract the dominant colors from a
Rasterusing K-Means clustering. - DrawOp - Class in cloud.opencode.base.image.draw
-
Drawing Operations for Raster Raster 绘图操作工具
E
- EDGE_DETECTION_ERROR - Enum constant in enum class cloud.opencode.base.image.exception.ImageErrorCode
-
Edge detection failed | 边缘检测失败
- EIGHT - Enum constant in enum class cloud.opencode.base.image.analysis.ConnectedComponentsOp.Connectivity
-
8-connectivity: includes diagonal neighbors. 8-连通: 包含对角线邻域。
- ellipse(int, int) - Static method in record class cloud.opencode.base.image.morphology.StructuringElement
-
Create an elliptical structuring element.
- ellipse(Raster, int, int, int, int, int, int, boolean) - Static method in class cloud.opencode.base.image.draw.DrawOp
-
Draw an ellipse on a
Raster, outline or filled. - empty() - Static method in record class cloud.opencode.base.image.exif.ExifInfo
-
Create an empty ExifInfo representing absent or unparseable EXIF data 创建一个空的 ExifInfo,表示缺失或无法解析的 EXIF 数据
- ensure(Raster, int, int, PixelFormat) - Static method in class cloud.opencode.base.image.buffer.ImageBuffers
-
Returns
dstwhen it matches (w, h, expectedFormat); otherwise allocates a freshly zero-filledRaster. - ensureParentExists(Path) - Static method in class cloud.opencode.base.image.security.SafePathUtil
-
Ensure parent directory exists 确保父目录存在
- equalizeHistogram() - Method in class cloud.opencode.base.image.Image
-
Histogram equalization. | 直方图均衡化。
- equals(Object) - Method in record class cloud.opencode.base.image.analysis.ConnectedComponentsOp.Component
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class cloud.opencode.base.image.analysis.ConnectedComponentsOp.Result
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class cloud.opencode.base.image.analysis.ContourFinderOp.Contour
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class cloud.opencode.base.image.analysis.TemplateMatchOp.MatchResult
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class cloud.opencode.base.image.compare.ImageCompare.RasterDiffResult
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in class cloud.opencode.base.image.core.Raster
- equals(Object) - Method in record class cloud.opencode.base.image.exif.ExifInfo
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class cloud.opencode.base.image.histogram.HistogramOp.Histogram
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class cloud.opencode.base.image.ImageInfo
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class cloud.opencode.base.image.morphology.StructuringElement
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class cloud.opencode.base.image.responsive.ResponsiveBuilder.GenerateResult
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class cloud.opencode.base.image.responsive.ResponsiveBuilder.Variant
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class cloud.opencode.base.image.watermark.ImageWatermark
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class cloud.opencode.base.image.watermark.TextWatermark
-
Indicates whether some other object is "equal to" this one.
- erode(Raster, StructuringElement) - Static method in class cloud.opencode.base.image.morphology.MorphologyOp
-
Erode a
Rasterusing the given structuring element. - erode(StructuringElement) - Method in class cloud.opencode.base.image.raster.RasterPipeline
-
Apply morphological erosion.
- estimatedMemorySize() - Method in record class cloud.opencode.base.image.ImageInfo
-
Get estimated memory size in bytes (assuming ARGB) 获取估算的内存大小(字节,假设ARGB)
- EXIF_PARSE_ERROR - Enum constant in enum class cloud.opencode.base.image.exception.ImageErrorCode
-
EXIF parsing failed | EXIF 解析失败
- ExifInfo - Record Class in cloud.opencode.base.image.exif
-
EXIF Information Record EXIF 信息记录
- ExifInfo(int, String, String, Instant, Double, Double, Integer, Integer, String) - Constructor for record class cloud.opencode.base.image.exif.ExifInfo
-
Creates an instance of a
ExifInforecord class. - ExifOp - Class in cloud.opencode.base.image.exif
-
EXIF Operations — Read, Strip and Auto-Orient EXIF 操作 — 读取、清除和自动旋转
- ExifTag - Enum Class in cloud.opencode.base.image.exif
-
EXIF Tag Category Enum EXIF 标签类别枚举
F
- FILE_NOT_FOUND - Enum constant in enum class cloud.opencode.base.image.exception.ImageErrorCode
-
File not found | 文件不存在
- FILE_TOO_LARGE - Enum constant in enum class cloud.opencode.base.image.exception.ImageErrorCode
-
File too large | 文件大小过大
- fileSize() - Method in record class cloud.opencode.base.image.ImageInfo
-
Returns the value of the
fileSizerecord component. - fileSize() - Method in record class cloud.opencode.base.image.responsive.ResponsiveBuilder.GenerateResult
-
Returns the value of the
fileSizerecord component. - fileSizeFormatted() - Method in record class cloud.opencode.base.image.ImageInfo
-
Get file size in human-readable format 获取人类可读的文件大小
- fill(int) - Method in class cloud.opencode.base.image.core.Raster
-
Fills every pixel in this raster with the given ARGB color.
- FILTER_ERROR - Enum constant in enum class cloud.opencode.base.image.exception.ImageErrorCode
-
Filter operation failed | 滤波操作失败
- find(Raster) - Static method in class cloud.opencode.base.image.analysis.ContourFinderOp
-
Find all contours in a binary
Raster. - flipHorizontal() - Method in class cloud.opencode.base.image.Image
-
Flip horizontally. | 水平翻转。
- flipHorizontal(Path, Path) - Static method in class cloud.opencode.base.image.OpenImage
-
Quick horizontal flip. | 快速水平翻转。
- flipVertical() - Method in class cloud.opencode.base.image.Image
-
Flip vertically. | 垂直翻转。
- flipVertical(Path, Path) - Static method in class cloud.opencode.base.image.OpenImage
-
Quick vertical flip. | 快速垂直翻转。
- fontFamily() - Method in record class cloud.opencode.base.image.watermark.TextWatermark
-
Returns the value of the
fontFamilyrecord component. - fontFamily(String) - Method in class cloud.opencode.base.image.watermark.TextWatermark.Builder
- fontSize() - Method in record class cloud.opencode.base.image.watermark.TextWatermark
-
Returns the value of the
fontSizerecord component. - fontSize(int) - Method in class cloud.opencode.base.image.watermark.TextWatermark.Builder
- format() - Method in class cloud.opencode.base.image.core.Raster
- format() - Method in record class cloud.opencode.base.image.ImageInfo
-
Returns the value of the
formatrecord component. - format() - Method in record class cloud.opencode.base.image.responsive.ResponsiveBuilder.GenerateResult
-
Returns the value of the
formatrecord component. - format(ImageFormat) - Method in class cloud.opencode.base.image.Image
-
Set image format 设置图片格式
- format(ImageFormat) - Method in class cloud.opencode.base.image.thumbnail.ThumbnailBuilder
- FORMAT_MISMATCH - Enum constant in enum class cloud.opencode.base.image.exception.ImageErrorCode
-
Format mismatch | 格式不匹配
- formats(ImageFormat...) - Method in class cloud.opencode.base.image.responsive.ResponsiveBuilder.BatchBuilder
-
Set the output formats.
- formats(ImageFormat...) - Method in class cloud.opencode.base.image.responsive.ResponsiveBuilder
-
Set the output formats.
- FOUR - Enum constant in enum class cloud.opencode.base.image.analysis.ConnectedComponentsOp.Connectivity
-
4-connectivity: up, down, left, right neighbors only. 4-连通: 仅上、下、左、右邻域。
- from(byte[]) - Static method in class cloud.opencode.base.image.Image
-
Create image from byte array 从字节数组创建图片
- from(Path) - Static method in class cloud.opencode.base.image.Image
-
Create image from path 从路径创建图片
- fromArgb(int[], int, int) - Static method in class cloud.opencode.base.image.color.ColorSpaceOp
- fromBase64(String) - Static method in class cloud.opencode.base.image.OpenImage
-
Read image from Base64 string 从Base64字符串读取图片
- fromBmp(DecodedBmp) - Static method in class cloud.opencode.base.image.core.Raster
-
Builds an
RGB_8Raster sharing the BMP's RGB buffer. - fromExtension(String) - Static method in enum class cloud.opencode.base.image.ImageFormat
-
Get format from file extension 从文件扩展名获取格式
- fromGif(DecodedGif) - Static method in class cloud.opencode.base.image.core.Raster
-
Builds an
RGBA_8Raster sharing the GIF frame's RGBA buffer. - fromHsl(float[][]) - Static method in class cloud.opencode.base.image.color.ColorSpaceOp
-
Convert HSL color space to ARGB pixels (A=255).
- fromHsv(float[][]) - Static method in class cloud.opencode.base.image.color.ColorSpaceOp
-
Convert HSV color space to ARGB pixels (A=255).
- fromJpeg(DecodedJpeg) - Static method in class cloud.opencode.base.image.core.Raster
-
Builds an
RGB_8Raster sharing the JPEG's RGB buffer. - fromLab(float[][]) - Static method in class cloud.opencode.base.image.color.ColorSpaceOp
-
Convert CIELAB color space to ARGB pixels (A=255).
- fromMimeType(String) - Static method in enum class cloud.opencode.base.image.ImageFormat
-
Get format from MIME type 从MIME类型获取格式
- fromPng(DecodedPng) - Static method in class cloud.opencode.base.image.core.Raster
-
Builds a Raster from a decoded PNG, choosing
RGBA_8when the source has alpha andRGB_8otherwise. - fromRaster(Raster) - Static method in class cloud.opencode.base.image.Image
- fromRaster(Raster, ImageFormat) - Static method in class cloud.opencode.base.image.Image
- fromWebp(DecodedWebp) - Static method in class cloud.opencode.base.image.core.Raster
-
Builds a Raster sharing the WebP's pixel buffer;
RGBA_8when the WebP carries alpha, otherwiseRGB_8. - fromYCbCr(float[][]) - Static method in class cloud.opencode.base.image.color.ColorSpaceOp
-
Convert YCbCr color space to ARGB pixels (A=255, ITU-R BT.601).
G
- gamma(double) - Method in class cloud.opencode.base.image.Image
-
Gamma correction. | 伽马校正。
- GammaOp - Class in cloud.opencode.base.image.color
-
Gamma Correction Operation 伽马校正操作工具类
- GAUSSIAN - Enum constant in enum class cloud.opencode.base.image.threshold.AdaptiveThresholdOp.Method
-
Gaussian-weighted local mean via separable convolution | 通过可分离卷积计算高斯加权局部均值
- gaussianBlur(double) - Method in class cloud.opencode.base.image.Image
-
Gaussian blur. | 高斯模糊。
- GaussianBlurOp - Class in cloud.opencode.base.image.filter
-
Gaussian Blur Filter 高斯模糊滤波器
- generate(Path) - Method in class cloud.opencode.base.image.responsive.ResponsiveBuilder.BatchBuilder
-
Generate all variants for all sources.
- generate(Path) - Method in class cloud.opencode.base.image.responsive.ResponsiveBuilder
-
Generate all variant/format combinations and write them to the output directory.
- generateOutputPath(Path, ImageFormat) - Static method in class cloud.opencode.base.image.security.SafePathUtil
-
Generate safe output path with new format 生成带新格式的安全输出路径
- generateOutputPath(Path, String) - Static method in class cloud.opencode.base.image.security.SafePathUtil
-
Generate safe output path 生成安全的输出路径
- generateRasters(Raster) - Method in class cloud.opencode.base.image.responsive.ResponsiveBuilder
- GenerateResult(Path, ResponsiveBuilder.Variant, ImageFormat, long) - Constructor for record class cloud.opencode.base.image.responsive.ResponsiveBuilder.GenerateResult
-
Compact constructor with validation.
- getActiveCount() - Method in class cloud.opencode.base.image.security.SafeImageService
-
Get active operation count 获取活动操作数
- getAvailablePermits() - Method in class cloud.opencode.base.image.security.SafeImageService
-
Get available permits 获取可用许可数
- getCode() - Method in enum class cloud.opencode.base.image.exception.ImageErrorCode
-
Get error code 获取错误码
- getComponent() - Method in exception class cloud.opencode.base.image.core.exception.OpenImageCoreException
- getDescription() - Method in enum class cloud.opencode.base.image.exception.ImageErrorCode
-
Get error description 获取错误描述
- getDimensions(Path) - Static method in class cloud.opencode.base.image.OpenImage
-
Get image dimensions without fully loading 获取图片尺寸(不完全加载)
- getErrorCode() - Method in exception class cloud.opencode.base.image.core.exception.OpenImageCoreException
- getExtension() - Method in enum class cloud.opencode.base.image.ImageFormat
-
Get file extension 获取文件扩展名
- getExtension(String) - Static method in class cloud.opencode.base.image.security.SafePathUtil
-
Get file extension 获取文件扩展名
- getFileSize() - Method in exception class cloud.opencode.base.image.exception.ImageTooLargeException
-
Get actual file size 获取实际文件大小
- getFormat() - Method in exception class cloud.opencode.base.image.exception.ImageFormatException
-
Get the format 获取格式
- getFormat() - Method in class cloud.opencode.base.image.Image
-
Get image format 获取图片格式
- getFormat(Path) - Static method in class cloud.opencode.base.image.security.SafePathUtil
-
Get format from path 从路径获取格式
- getHeight() - Method in exception class cloud.opencode.base.image.exception.ImageTooLargeException
-
Get actual height 获取实际高度
- getHeight() - Method in class cloud.opencode.base.image.Image
-
Get image height 获取图片高度
- getImageErrorCode() - Method in exception class cloud.opencode.base.image.exception.ImageException
-
Get the image error code enum 获取图片错误码枚举
- getInfo() - Method in class cloud.opencode.base.image.Image
-
Get image info 获取图片信息
- getInfo(Path) - Static method in class cloud.opencode.base.image.OpenImage
-
Get image info from path.
- getInfo(Path) - Method in class cloud.opencode.base.image.security.SafeImageService
-
Get image info safely 安全获取图片信息
- getMaxFileSize() - Method in exception class cloud.opencode.base.image.exception.ImageTooLargeException
-
Get maximum file size 获取最大文件大小
- getMaxHeight() - Method in exception class cloud.opencode.base.image.exception.ImageTooLargeException
-
Get maximum height 获取最大高度
- getMaxWidth() - Method in exception class cloud.opencode.base.image.exception.ImageTooLargeException
-
Get maximum width 获取最大宽度
- getMessage() - Method in enum class cloud.opencode.base.image.exception.ImageErrorCode
-
Get error message 获取错误消息
- getMimeType() - Method in enum class cloud.opencode.base.image.ImageFormat
-
Get MIME type 获取MIME类型
- getOperation() - Method in exception class cloud.opencode.base.image.exception.ImageOperationException
-
Get the operation name 获取操作名称
- getPath() - Method in exception class cloud.opencode.base.image.exception.ImageReadException
-
Get the file path 获取文件路径
- getPath() - Method in exception class cloud.opencode.base.image.exception.ImageWriteException
-
Get the file path 获取文件路径
- getPixelArgb(int, int) - Method in class cloud.opencode.base.image.core.Raster
-
Reads a single pixel and packs it as
0xAARRGGBBint. - getTimeout() - Method in exception class cloud.opencode.base.image.exception.ImageTimeoutException
-
Get the timeout duration 获取超时时间
- getWidth() - Method in exception class cloud.opencode.base.image.exception.ImageTooLargeException
-
Get actual width 获取实际宽度
- getWidth() - Method in class cloud.opencode.base.image.Image
-
Get image width 获取图片宽度
- GIF - Enum constant in enum class cloud.opencode.base.image.ImageFormat
-
GIF format | GIF格式
- GPS - Enum constant in enum class cloud.opencode.base.image.exif.ExifTag
-
GPS-related tags (latitude, longitude, etc.)
- gradient(Raster, StructuringElement) - Static method in class cloud.opencode.base.image.morphology.MorphologyOp
-
Compute the morphological gradient (dilate - erode) on a
Raster. - gradientMagnitude(int[], int, int) - Static method in class cloud.opencode.base.image.edge.SobelOp
-
Compute gradient magnitude on a grayscale pixel array.
- GRAY_8 - Enum constant in enum class cloud.opencode.base.image.core.PixelFormat
-
8-bit grayscale, 1 byte per pixel. | 8 位灰度,每像素 1 字节。
- GRAY_ALPHA_8 - Enum constant in enum class cloud.opencode.base.image.core.PixelFormat
-
8-bit grayscale + 8-bit alpha, 2 bytes per pixel. | 8 位灰度 + 8 位 alpha,每像素 2 字节。
- grayscale() - Method in class cloud.opencode.base.image.Image
-
Convert to grayscale. | 转灰度。
- grayscale(Path, Path) - Static method in class cloud.opencode.base.image.OpenImage
-
Quick grayscale. | 快速灰度。
- gridRaster(List, int) - Static method in class cloud.opencode.base.image.ImageStitch
-
Stitch
Rasters in a grid layout with the specified column count.
H
- hammingDistance(long, long) - Static method in class cloud.opencode.base.image.compare.PerceptualHash
-
Compute the Hamming distance between two hashes.
- HarrisCornerOp - Class in cloud.opencode.base.image.feature
-
Harris Corner Detector Harris 角点检测器
- hasAlpha() - Method in enum class cloud.opencode.base.image.core.PixelFormat
-
Whether this format carries an alpha channel.
- hasGps() - Method in record class cloud.opencode.base.image.exif.ExifInfo
-
Check if GPS coordinates are present 检查是否存在 GPS 坐标
- hashCode() - Method in record class cloud.opencode.base.image.analysis.ConnectedComponentsOp.Component
-
Returns a hash code value for this object.
- hashCode() - Method in record class cloud.opencode.base.image.analysis.ConnectedComponentsOp.Result
-
Returns a hash code value for this object.
- hashCode() - Method in record class cloud.opencode.base.image.analysis.ContourFinderOp.Contour
-
Returns a hash code value for this object.
- hashCode() - Method in record class cloud.opencode.base.image.analysis.TemplateMatchOp.MatchResult
-
Returns a hash code value for this object.
- hashCode() - Method in record class cloud.opencode.base.image.compare.ImageCompare.RasterDiffResult
-
Returns a hash code value for this object.
- hashCode() - Method in class cloud.opencode.base.image.core.Raster
- hashCode() - Method in record class cloud.opencode.base.image.exif.ExifInfo
-
Returns a hash code value for this object.
- hashCode() - Method in record class cloud.opencode.base.image.histogram.HistogramOp.Histogram
-
Returns a hash code value for this object.
- hashCode() - Method in record class cloud.opencode.base.image.ImageInfo
-
Returns a hash code value for this object.
- hashCode() - Method in record class cloud.opencode.base.image.morphology.StructuringElement
-
Returns a hash code value for this object.
- hashCode() - Method in record class cloud.opencode.base.image.responsive.ResponsiveBuilder.GenerateResult
-
Returns a hash code value for this object.
- hashCode() - Method in record class cloud.opencode.base.image.responsive.ResponsiveBuilder.Variant
-
Returns a hash code value for this object.
- hashCode() - Method in record class cloud.opencode.base.image.watermark.ImageWatermark
-
Returns a hash code value for this object.
- hashCode() - Method in record class cloud.opencode.base.image.watermark.TextWatermark
-
Returns a hash code value for this object.
- height() - Method in class cloud.opencode.base.image.core.Raster
- height() - Method in record class cloud.opencode.base.image.ImageInfo
-
Returns the value of the
heightrecord component. - height() - Method in record class cloud.opencode.base.image.morphology.StructuringElement
-
Returns the value of the
heightrecord component. - height() - Method in record class cloud.opencode.base.image.responsive.ResponsiveBuilder.Variant
-
Returns the value of the
heightrecord component. - height(int) - Method in class cloud.opencode.base.image.thumbnail.ThumbnailBuilder
- Histogram(int[], int, int, int, double) - Constructor for record class cloud.opencode.base.image.histogram.HistogramOp.Histogram
-
Compact constructor with validation.
- HISTOGRAM_ERROR - Enum constant in enum class cloud.opencode.base.image.exception.ImageErrorCode
-
Histogram operation failed | 直方图操作失败
- HistogramEqualizationOp - Class in cloud.opencode.base.image.histogram
-
Histogram Equalization Operations 直方图均衡化操作工具类
- HistogramOp - Class in cloud.opencode.base.image.histogram
-
Histogram Computation Operations 直方图计算操作工具类
- HistogramOp.Histogram - Record Class in cloud.opencode.base.image.histogram
-
Histogram data for a single channel.
- horizontal(List) - Static method in class cloud.opencode.base.image.ImageStitch
-
Stitch
Rasters horizontally; height is the maximum, smaller rasters are vertically centered. - horizontal(List, int, int) - Static method in class cloud.opencode.base.image.ImageStitch
-
Stitch
Rasters horizontally with gap and background ARGB color.
I
- identity() - Static method in interface cloud.opencode.base.image.security.ImageOperation
-
Create identity operation (returns input unchanged) 创建恒等操作(返回不变的输入)
- identity() - Static method in interface cloud.opencode.base.image.security.RasterOperation
-
Create identity operation (returns input unchanged) 创建恒等操作(返回不变的输入)
- Image - Class in cloud.opencode.base.image
-
Image 图片处理包装类
- Image(Raster) - Constructor for class cloud.opencode.base.image.Image
-
Create image wrapper from a
Raster. - Image(Raster, ImageFormat) - Constructor for class cloud.opencode.base.image.Image
-
Create image wrapper with explicit format.
- IMAGE_TOO_LARGE - Enum constant in enum class cloud.opencode.base.image.exception.ImageErrorCode
-
Image too large | 图片尺寸过大
- ImageBuffers - Class in cloud.opencode.base.image.buffer
-
Output buffer factory and validator for reusable image operators.
- ImageCompare - Class in cloud.opencode.base.image.compare
-
Image Compare — pixel-level diff, SSIM, MSE, and PSNR metrics 图像比较 — 像素级差异、SSIM、MSE 和 PSNR 指标
- ImageCompare.RasterDiffResult - Record Class in cloud.opencode.base.image.compare
-
Result of a Raster pixel-level diff.
- ImageErrorCode - Enum Class in cloud.opencode.base.image.exception
-
Image Error Code 图片错误码枚举
- ImageException - Exception Class in cloud.opencode.base.image.exception
-
Image Exception - Base exception for all image processing exceptions 图片异常基类 - 所有图片处理异常的基类
- ImageException(String) - Constructor for exception class cloud.opencode.base.image.exception.ImageException
-
Create an image exception with message 创建带消息的图片异常
- ImageException(String, ImageErrorCode) - Constructor for exception class cloud.opencode.base.image.exception.ImageException
-
Create an image exception with message and error code 创建带消息和错误码的图片异常
- ImageException(String, Throwable) - Constructor for exception class cloud.opencode.base.image.exception.ImageException
-
Create an image exception with message and cause 创建带消息和原因的图片异常
- ImageException(String, Throwable, ImageErrorCode) - Constructor for exception class cloud.opencode.base.image.exception.ImageException
-
Create an image exception with message, cause and error code 创建带消息、原因和错误码的图片异常
- ImageFormat - Enum Class in cloud.opencode.base.image
-
Image Format 图片格式枚举
- ImageFormatException - Exception Class in cloud.opencode.base.image.exception
-
Image Format Exception 图片格式异常
- ImageFormatException(String) - Constructor for exception class cloud.opencode.base.image.exception.ImageFormatException
-
Create an image format exception 创建图片格式异常
- ImageFormatException(String, ImageErrorCode) - Constructor for exception class cloud.opencode.base.image.exception.ImageFormatException
-
Create an image format exception with error code 创建带错误码的图片格式异常
- ImageFormatException(String, String) - Constructor for exception class cloud.opencode.base.image.exception.ImageFormatException
-
Create an image format exception with format 创建带格式的图片格式异常
- ImageFormatException(String, Throwable) - Constructor for exception class cloud.opencode.base.image.exception.ImageFormatException
-
Create an image format exception with cause 创建带原因的图片格式异常
- imageHeight() - Method in record class cloud.opencode.base.image.exif.ExifInfo
-
Returns the value of the
imageHeightrecord component. - ImageInfo - Record Class in cloud.opencode.base.image
-
Image Info 图片信息
- ImageInfo(int, int) - Constructor for record class cloud.opencode.base.image.ImageInfo
-
Create image info with dimensions only 仅使用尺寸创建图片信息
- ImageInfo(int, int, ImageFormat) - Constructor for record class cloud.opencode.base.image.ImageInfo
-
Create image info with dimensions and format 使用尺寸和格式创建图片信息
- ImageInfo(int, int, ImageFormat, long) - Constructor for record class cloud.opencode.base.image.ImageInfo
-
Creates an instance of a
ImageInforecord class. - ImageIOException - Exception Class in cloud.opencode.base.image.exception
-
Image IO Exception 图片IO异常
- ImageIOException(String) - Constructor for exception class cloud.opencode.base.image.exception.ImageIOException
-
Create an image IO exception 创建图片IO异常
- ImageIOException(String, ImageErrorCode) - Constructor for exception class cloud.opencode.base.image.exception.ImageIOException
-
Create an image IO exception with error code 创建带错误码的图片IO异常
- ImageIOException(String, Throwable) - Constructor for exception class cloud.opencode.base.image.exception.ImageIOException
-
Create an image IO exception with cause 创建带原因的图片IO异常
- ImageIOException(String, Throwable, ImageErrorCode) - Constructor for exception class cloud.opencode.base.image.exception.ImageIOException
-
Create an image IO exception with cause and error code 创建带原因和错误码的图片IO异常
- ImageOperation - Interface in cloud.opencode.base.image.security
-
Image Operation 图片操作函数接口
- ImageOperationException - Exception Class in cloud.opencode.base.image.exception
-
Image Operation Exception 图片操作异常
- ImageOperationException(String) - Constructor for exception class cloud.opencode.base.image.exception.ImageOperationException
-
Create an image operation exception 创建图片操作异常
- ImageOperationException(String, ImageErrorCode) - Constructor for exception class cloud.opencode.base.image.exception.ImageOperationException
-
Create an image operation exception with error code 创建带错误码的图片操作异常
- ImageOperationException(String, String) - Constructor for exception class cloud.opencode.base.image.exception.ImageOperationException
-
Create an image operation exception with operation name 创建带操作名称的图片操作异常
- ImageOperationException(String, Throwable) - Constructor for exception class cloud.opencode.base.image.exception.ImageOperationException
-
Create an image operation exception with cause 创建带原因的图片操作异常
- ImageOperationException(String, Throwable, ImageErrorCode) - Constructor for exception class cloud.opencode.base.image.exception.ImageOperationException
-
Create an image operation exception with cause and error code 创建带原因和错误码的图片操作异常
- ImageReadException - Exception Class in cloud.opencode.base.image.exception
-
Image Read Exception 图片读取异常
- ImageReadException(String) - Constructor for exception class cloud.opencode.base.image.exception.ImageReadException
-
Create an image read exception 创建图片读取异常
- ImageReadException(String, Throwable) - Constructor for exception class cloud.opencode.base.image.exception.ImageReadException
-
Create an image read exception with message and cause 创建带消息和原因的图片读取异常
- ImageReadException(Path) - Constructor for exception class cloud.opencode.base.image.exception.ImageReadException
-
Create an image read exception with path 创建带路径的图片读取异常
- ImageReadException(Path, Throwable) - Constructor for exception class cloud.opencode.base.image.exception.ImageReadException
-
Create an image read exception with path and cause 创建带路径和原因的图片读取异常
- ImageResourceException - Exception Class in cloud.opencode.base.image.exception
-
Image Resource Exception 图片资源异常
- ImageResourceException(String) - Constructor for exception class cloud.opencode.base.image.exception.ImageResourceException
-
Create an image resource exception 创建图片资源异常
- ImageResourceException(String, ImageErrorCode) - Constructor for exception class cloud.opencode.base.image.exception.ImageResourceException
-
Create an image resource exception with error code 创建带错误码的图片资源异常
- ImageResourceException(String, Throwable) - Constructor for exception class cloud.opencode.base.image.exception.ImageResourceException
-
Create an image resource exception with cause 创建带原因的图片资源异常
- ImageStitch - Class in cloud.opencode.base.image
-
Image Stitching Utility 图片拼接工具类
- ImageTimeoutException - Exception Class in cloud.opencode.base.image.exception
-
Image Timeout Exception 图片处理超时异常
- ImageTimeoutException(String) - Constructor for exception class cloud.opencode.base.image.exception.ImageTimeoutException
-
Create an image timeout exception 创建图片超时异常
- ImageTimeoutException(String, Throwable) - Constructor for exception class cloud.opencode.base.image.exception.ImageTimeoutException
-
Create an image timeout exception with cause 创建带原因的图片超时异常
- ImageTimeoutException(String, Duration) - Constructor for exception class cloud.opencode.base.image.exception.ImageTimeoutException
-
Create an image timeout exception with timeout 创建带超时时间的图片超时异常
- ImageTooLargeException - Exception Class in cloud.opencode.base.image.exception
-
Image Too Large Exception 图片过大异常
- ImageTooLargeException(int, int, int, int) - Constructor for exception class cloud.opencode.base.image.exception.ImageTooLargeException
-
Create an image too large exception for dimensions 创建尺寸过大的图片异常
- ImageTooLargeException(long, long) - Constructor for exception class cloud.opencode.base.image.exception.ImageTooLargeException
-
Create an image too large exception for file size 创建文件过大的图片异常
- ImageTooLargeException(String) - Constructor for exception class cloud.opencode.base.image.exception.ImageTooLargeException
-
Create an image too large exception with message 创建带消息的图片过大异常
- ImageValidationException - Exception Class in cloud.opencode.base.image.exception
-
Image Validation Exception 图片验证异常
- ImageValidationException(String) - Constructor for exception class cloud.opencode.base.image.exception.ImageValidationException
-
Create an image validation exception 创建图片验证异常
- ImageValidationException(String, ImageErrorCode) - Constructor for exception class cloud.opencode.base.image.exception.ImageValidationException
-
Create an image validation exception with error code 创建带错误码的图片验证异常
- ImageValidationException(String, Throwable) - Constructor for exception class cloud.opencode.base.image.exception.ImageValidationException
-
Create an image validation exception with cause 创建带原因的图片验证异常
- ImageValidator - Class in cloud.opencode.base.image.validation
-
Image Validator 图片验证器
- ImageWatermark - Record Class in cloud.opencode.base.image.watermark
-
Image Watermark 图片水印
- ImageWatermark(Position, float, int) - Constructor for record class cloud.opencode.base.image.watermark.ImageWatermark
-
Compact constructor with validation 紧凑构造函数(带验证)
- ImageWatermark.Builder - Class in cloud.opencode.base.image.watermark
-
Image Watermark Builder 图片水印构建器
- imageWidth() - Method in record class cloud.opencode.base.image.exif.ExifInfo
-
Returns the value of the
imageWidthrecord component. - ImageWriteException - Exception Class in cloud.opencode.base.image.exception
-
Image Write Exception 图片写入异常
- ImageWriteException(String) - Constructor for exception class cloud.opencode.base.image.exception.ImageWriteException
-
Create an image write exception 创建图片写入异常
- ImageWriteException(String, Throwable) - Constructor for exception class cloud.opencode.base.image.exception.ImageWriteException
-
Create an image write exception with message and cause 创建带消息和原因的图片写入异常
- ImageWriteException(Path) - Constructor for exception class cloud.opencode.base.image.exception.ImageWriteException
-
Create an image write exception with path 创建带路径的图片写入异常
- ImageWriteException(Path, Throwable) - Constructor for exception class cloud.opencode.base.image.exception.ImageWriteException
-
Create an image write exception with path and cause 创建带路径和原因的图片写入异常
- INVALID_DIMENSIONS - Enum constant in enum class cloud.opencode.base.image.exception.ImageErrorCode
-
Invalid dimensions | 无效尺寸
- INVALID_IMAGE - Enum constant in enum class cloud.opencode.base.image.exception.ImageErrorCode
-
Invalid image | 无效图片文件
- INVALID_PARAMETERS - Enum constant in enum class cloud.opencode.base.image.exception.ImageErrorCode
-
Invalid parameters | 无效参数
- invert() - Method in class cloud.opencode.base.image.Image
-
Invert colors. | 反色。
- invert(Raster) - Static method in class cloud.opencode.base.image.color.ColorFilterOp
-
Apply color inversion filter to a
Raster. - IO_ERROR - Enum constant in enum class cloud.opencode.base.image.exception.ImageErrorCode
-
IO error | IO错误
- isAllowedExtension(String) - Static method in class cloud.opencode.base.image.security.SafePathUtil
-
Check if extension is allowed 检查扩展名是否允许
- isAvailable() - Method in enum class cloud.opencode.base.image.ImageFormat
-
Check if this format is available at runtime 检查此格式在运行时是否可用
- isBottom() - Method in enum class cloud.opencode.base.image.Position
-
Check if position is at the bottom 检查位置是否在底部
- isCenterHorizontal() - Method in enum class cloud.opencode.base.image.Position
-
Check if position is centered horizontally 检查位置是否水平居中
- isCenterVertical() - Method in enum class cloud.opencode.base.image.Position
-
Check if position is centered vertically 检查位置是否垂直居中
- isLandscape() - Method in record class cloud.opencode.base.image.ImageInfo
-
Check if image is landscape orientation 检查图片是否为横向
- isLeft() - Method in enum class cloud.opencode.base.image.Position
-
Check if position is on the left 检查位置是否在左侧
- isPortrait() - Method in record class cloud.opencode.base.image.ImageInfo
-
Check if image is portrait orientation 检查图片是否为纵向
- isRight() - Method in enum class cloud.opencode.base.image.Position
-
Check if position is on the right 检查位置是否在右侧
- isSafePath(Path, Path) - Static method in class cloud.opencode.base.image.security.SafePathUtil
-
Check if path is safe (within base directory) 检查路径是否安全(在基础目录内)
- isSquare() - Method in record class cloud.opencode.base.image.ImageInfo
-
Check if image is square 检查图片是否为正方形
- isSupported(String) - Static method in enum class cloud.opencode.base.image.ImageFormat
-
Check if extension is supported 检查扩展名是否支持
- isSupported(String) - Static method in class cloud.opencode.base.image.OpenImage
-
Check if format is supported 检查格式是否支持
- isTight() - Method in class cloud.opencode.base.image.core.Raster
-
Whether this raster spans the entire underlying buffer with tight stride.
- isTop() - Method in enum class cloud.opencode.base.image.Position
-
Check if position is at the top 检查位置是否在顶部
- isValidImage(byte[]) - Static method in class cloud.opencode.base.image.validation.ImageValidator
-
Check if bytes are a valid image 检查字节数组是否为有效图片
- isValidImage(Path) - Static method in class cloud.opencode.base.image.OpenImage
-
Check if file is a valid image 检查文件是否为有效图片
- isValidImage(Path) - Static method in class cloud.opencode.base.image.validation.ImageValidator
-
Check if file is a valid image 检查文件是否为有效图片
- isWebPAvailable() - Static method in enum class cloud.opencode.base.image.ImageFormat
-
Check if WebP support is available at runtime 检查运行时是否支持 WebP
J
- JPEG - Enum constant in enum class cloud.opencode.base.image.ImageFormat
-
JPEG format | JPEG格式
- JPG - Enum constant in enum class cloud.opencode.base.image.ImageFormat
-
JPG format (alias for JPEG) | JPG格式(JPEG别名)
K
- KERNEL_ERROR - Enum constant in enum class cloud.opencode.base.image.exception.ImageErrorCode
-
Kernel operation failed | 像素内核操作失败
L
- label() - Method in record class cloud.opencode.base.image.analysis.ConnectedComponentsOp.Component
-
Returns the value of the
labelrecord component. - labels() - Method in record class cloud.opencode.base.image.analysis.ConnectedComponentsOp.Result
-
Returns the value of the
labelsrecord component. - LaplacianOp - Class in cloud.opencode.base.image.edge
-
Laplacian Edge Detection Operator Laplacian 边缘检测算子
- latitude() - Method in record class cloud.opencode.base.image.exif.ExifInfo
-
Returns the value of the
latituderecord component. - line(Raster, int, int, int, int, int, int) - Static method in class cloud.opencode.base.image.draw.DrawOp
- longitude() - Method in record class cloud.opencode.base.image.exif.ExifInfo
-
Returns the value of the
longituderecord component.
M
- MAGIC_NUMBER_MISMATCH - Enum constant in enum class cloud.opencode.base.image.exception.ImageErrorCode
-
Magic number mismatch | 文件魔数不匹配
- margin() - Method in record class cloud.opencode.base.image.watermark.ImageWatermark
-
Returns the value of the
marginrecord component. - margin() - Method in record class cloud.opencode.base.image.watermark.TextWatermark
-
Returns the value of the
marginrecord component. - margin() - Method in interface cloud.opencode.base.image.watermark.Watermark
-
Get margin from edge 获取边缘间距
- margin(int) - Method in class cloud.opencode.base.image.watermark.ImageWatermark.Builder
- margin(int) - Method in class cloud.opencode.base.image.watermark.TextWatermark.Builder
- mask() - Method in record class cloud.opencode.base.image.morphology.StructuringElement
-
Return a defensive copy of the mask.
- match(Raster, Raster) - Static method in class cloud.opencode.base.image.analysis.TemplateMatchOp
-
Find the best match of a template
Rasterin the source raster using NCC. - matchAll(Raster, Raster, double) - Static method in class cloud.opencode.base.image.analysis.TemplateMatchOp
-
Find all matches of a template
Rasterin the source raster above a threshold. - MatchResult(int, int, double) - Constructor for record class cloud.opencode.base.image.analysis.TemplateMatchOp.MatchResult
-
Creates an instance of a
MatchResultrecord class. - max() - Method in record class cloud.opencode.base.image.histogram.HistogramOp.Histogram
-
Returns the value of the
maxrecord component. - MAX_PIXELS - Static variable in class cloud.opencode.base.image.core.Raster
-
Maximum total pixels allowed in a single Raster (256 megapixels).
- maxConcurrent(int) - Method in class cloud.opencode.base.image.security.SafeImageService.Builder
- maxDimensions(int, int) - Method in class cloud.opencode.base.image.security.SafeImageService.Builder
- maxFileSize(long) - Method in class cloud.opencode.base.image.security.SafeImageService.Builder
- maxHeight(int) - Method in class cloud.opencode.base.image.security.SafeImageService.Builder
- maxWidth(int) - Method in class cloud.opencode.base.image.security.SafeImageService.Builder
- mean() - Method in record class cloud.opencode.base.image.histogram.HistogramOp.Histogram
-
Returns the value of the
meanrecord component. - MEAN - Enum constant in enum class cloud.opencode.base.image.threshold.AdaptiveThresholdOp.Method
-
Local mean computed via integral image | 通过积分图计算局部均值
- medianBlur(int) - Method in class cloud.opencode.base.image.Image
-
Median blur. | 中值模糊。
- MedianBlurOp - Class in cloud.opencode.base.image.filter
-
Median Blur Filter 中值模糊滤波器
- min() - Method in record class cloud.opencode.base.image.histogram.HistogramOp.Histogram
-
Returns the value of the
minrecord component. - MORPHOLOGY_ERROR - Enum constant in enum class cloud.opencode.base.image.exception.ImageErrorCode
-
Morphology operation failed | 形态学操作失败
- MorphologyOp - Class in cloud.opencode.base.image.morphology
-
Morphological Image Operations 形态学图像操作工具类
- mse(Raster, Raster) - Static method in class cloud.opencode.base.image.compare.ImageCompare
-
Compute MSE between two equally-sized
Rasters across RGB channels.
N
- name() - Method in record class cloud.opencode.base.image.responsive.ResponsiveBuilder.Variant
-
Returns the value of the
namerecord component. - needsRotation() - Method in record class cloud.opencode.base.image.exif.ExifInfo
-
Check if the image needs rotation based on EXIF orientation 根据 EXIF 方向检查图片是否需要旋转
O
- of() - Static method in record class cloud.opencode.base.image.watermark.ImageWatermark
-
Create a default watermark configuration (BOTTOM_RIGHT, opacity=1.0, margin=10).
- of(byte[]) - Static method in class cloud.opencode.base.image.thumbnail.ThumbnailBuilder
-
Factory: from raw image bytes.
- of(Raster) - Static method in class cloud.opencode.base.image.raster.RasterPipeline
-
Creates a new pipeline wrapping the given raster.
- of(Raster) - Static method in class cloud.opencode.base.image.thumbnail.ThumbnailBuilder
-
Factory: from
Raster. - of(Image) - Static method in class cloud.opencode.base.image.responsive.ResponsiveBuilder
-
Create a ResponsiveBuilder from an Image instance.
- of(Image) - Static method in class cloud.opencode.base.image.thumbnail.ThumbnailBuilder
-
Factory: from
Image. - of(Position) - Static method in record class cloud.opencode.base.image.watermark.ImageWatermark
-
Create watermark configuration with the given position.
- of(Position, float) - Static method in record class cloud.opencode.base.image.watermark.ImageWatermark
-
Create watermark configuration with position and opacity.
- of(String) - Static method in record class cloud.opencode.base.image.watermark.TextWatermark
-
Create simple text watermark 创建简单文字水印
- of(String, Position) - Static method in record class cloud.opencode.base.image.watermark.TextWatermark
-
Create text watermark with position 创建带位置的文字水印
- of(Path) - Static method in class cloud.opencode.base.image.responsive.ResponsiveBuilder
-
Create a ResponsiveBuilder from a file path.
- of(Path) - Static method in class cloud.opencode.base.image.thumbnail.ThumbnailBuilder
-
Factory: from path.
- onError(Consumer) - Method in class cloud.opencode.base.image.responsive.ResponsiveBuilder.BatchBuilder
-
Set an error handler for per-source failures.
- opacity() - Method in record class cloud.opencode.base.image.watermark.ImageWatermark
-
Returns the value of the
opacityrecord component. - opacity() - Method in record class cloud.opencode.base.image.watermark.TextWatermark
-
Returns the value of the
opacityrecord component. - opacity() - Method in interface cloud.opencode.base.image.watermark.Watermark
-
Get watermark opacity 获取水印透明度
- opacity(float) - Method in class cloud.opencode.base.image.watermark.ImageWatermark.Builder
- opacity(float) - Method in class cloud.opencode.base.image.watermark.TextWatermark.Builder
- open(Raster, StructuringElement) - Static method in class cloud.opencode.base.image.morphology.MorphologyOp
-
Open a
Raster(erode then dilate). - open(StructuringElement) - Method in class cloud.opencode.base.image.raster.RasterPipeline
-
Apply morphological opening (erosion followed by dilation).
- OpenImage - Class in cloud.opencode.base.image
-
OpenImage 图片处理工具类
- OpenImageCoreException - Exception Class in cloud.opencode.base.image.core.exception
-
Argument-validation exception thrown by the image core module.
- OpenImageCoreException(String) - Constructor for exception class cloud.opencode.base.image.core.exception.OpenImageCoreException
-
Constructs a new exception with the specified detail message.
- OpenImageCoreException(String, Throwable) - Constructor for exception class cloud.opencode.base.image.core.exception.OpenImageCoreException
-
Constructs a new exception with the specified detail message and cause.
- orientation() - Method in record class cloud.opencode.base.image.exif.ExifInfo
-
Returns the value of the
orientationrecord component. - ORIENTATION - Enum constant in enum class cloud.opencode.base.image.exif.ExifTag
-
Orientation tag (0x0112) 方向标签 (0x0112)
- otsu() - Method in class cloud.opencode.base.image.raster.RasterPipeline
-
Apply Otsu automatic thresholding.
- OtsuOp - Class in cloud.opencode.base.image.threshold
-
Otsu's Automatic Thresholding 大津法自动阈值选取
- otsuThreshold() - Method in class cloud.opencode.base.image.Image
-
Otsu's automatic threshold. | 大津法自动阈值。
- OUT_OF_MEMORY - Enum constant in enum class cloud.opencode.base.image.exception.ImageErrorCode
-
Out of memory | 内存不足
- outOfMemory() - Static method in exception class cloud.opencode.base.image.exception.ImageResourceException
-
Create exception for out of memory 创建内存不足的异常
- output(Path) - Method in class cloud.opencode.base.image.thumbnail.ThumbnailBuilder
P
- pad(int, int) - Method in class cloud.opencode.base.image.Image
-
Pad uniformly with the given ARGB color. | 用 ARGB 颜色等距填充。
- pad(int, int, int, int, int) - Method in class cloud.opencode.base.image.Image
-
Pad with explicit insets. | 按指定内边距填充。
- parallel(int) - Method in class cloud.opencode.base.image.responsive.ResponsiveBuilder.BatchBuilder
-
Set the number of parallel threads for batch processing.
- path() - Method in record class cloud.opencode.base.image.responsive.ResponsiveBuilder.GenerateResult
-
Returns the value of the
pathrecord component. - PerceptualHash - Class in cloud.opencode.base.image.compare
-
Perceptual Hash — image fingerprinting via aHash, dHash, pHash 感知哈希 — 通过 aHash、dHash、pHash 实现图像指纹
- perimeter() - Method in record class cloud.opencode.base.image.analysis.ContourFinderOp.Contour
-
Compute the perimeter of this contour as the sum of distances between consecutive points.
- PerspectiveTransformOp - Class in cloud.opencode.base.image.transform
-
Perspective (Homography) Transform Operations for Images 图像透视(单应性)变换操作
- pHash(Raster) - Static method in class cloud.opencode.base.image.compare.PerceptualHash
-
Compute pHash for a
Raster. - PingPongBufferPool - Class in cloud.opencode.base.image.buffer
-
Two-slot Raster buffer pool for pipeline-style operator chains.
- PingPongBufferPool() - Constructor for class cloud.opencode.base.image.buffer.PingPongBufferPool
- PixelFormat - Enum Class in cloud.opencode.base.image.core
-
High-level pixel format describing in-memory pixel layout.
- pixels() - Method in record class cloud.opencode.base.image.ImageInfo
-
Get total pixels 获取总像素数
- PNG - Enum constant in enum class cloud.opencode.base.image.ImageFormat
-
PNG format | PNG格式
- points() - Method in record class cloud.opencode.base.image.analysis.ContourFinderOp.Contour
-
Returns the value of the
pointsrecord component. - polygon(Raster, int[], int[], int, int, boolean) - Static method in class cloud.opencode.base.image.draw.DrawOp
-
Draw a polygon on a
Raster, outline or filled. - position() - Method in record class cloud.opencode.base.image.watermark.ImageWatermark
-
Returns the value of the
positionrecord component. - position() - Method in record class cloud.opencode.base.image.watermark.TextWatermark
-
Returns the value of the
positionrecord component. - position() - Method in interface cloud.opencode.base.image.watermark.Watermark
-
Get watermark position 获取水印位置
- position(Position) - Method in class cloud.opencode.base.image.watermark.ImageWatermark.Builder
- position(Position) - Method in class cloud.opencode.base.image.watermark.TextWatermark.Builder
- Position - Enum Class in cloud.opencode.base.image
-
Position 位置枚举
- process(Raster, ImageOperation) - Method in class cloud.opencode.base.image.security.SafeImageService
-
Process raster with operation under timeout / concurrency controls.
- psnr(Raster, Raster) - Static method in class cloud.opencode.base.image.compare.ImageCompare
-
Compute PSNR between two equally-sized
Rasters.
Q
- quality(float) - Method in class cloud.opencode.base.image.responsive.ResponsiveBuilder.BatchBuilder
-
Set the compression quality.
- quality(float) - Method in class cloud.opencode.base.image.responsive.ResponsiveBuilder
-
Set the compression quality.
- quality(float) - Method in class cloud.opencode.base.image.thumbnail.ThumbnailBuilder
R
- Raster - Class in cloud.opencode.base.image.core
-
Mutable rectangular pixel container, zero-AWT replacement for BufferedImage.
- RasterDiffResult(Raster, double) - Constructor for record class cloud.opencode.base.image.compare.ImageCompare.RasterDiffResult
-
Creates an instance of a
RasterDiffResultrecord class. - RasterOperation - Interface in cloud.opencode.base.image.security
-
Raster Operation Raster 操作函数接口
- RasterPipeline - Class in cloud.opencode.base.image.raster
-
Lightweight fluent helper for chaining Raster-native operations.
- read(byte[]) - Static method in class cloud.opencode.base.image.exif.ExifOp
-
Read EXIF metadata from JPEG bytes 从 JPEG 字节数组读取 EXIF 元数据
- read(byte[]) - Static method in class cloud.opencode.base.image.OpenImage
-
Read image from byte array 从字节数组读取图片
- read(byte[]) - Method in class cloud.opencode.base.image.security.SafeImageService
-
Read raster safely from bytes 从字节数组安全读取 raster
- read(InputStream) - Static method in class cloud.opencode.base.image.OpenImage
-
Read image from input stream 从输入流读取图片
- read(Path) - Static method in class cloud.opencode.base.image.exif.ExifOp
-
Read EXIF metadata from a JPEG file 从 JPEG 文件读取 EXIF 元数据
- read(Path) - Static method in class cloud.opencode.base.image.OpenImage
-
Read image from path 从路径读取图片
- read(Path) - Method in class cloud.opencode.base.image.security.SafeImageService
-
Read raster safely from path 从路径安全读取 raster
- READ_FAILED - Enum constant in enum class cloud.opencode.base.image.exception.ImageErrorCode
-
Image read failed | 图片读取失败
- readRaster(byte[]) - Static method in class cloud.opencode.base.image.OpenImage
-
Decode a
Rasterfrom byte content, auto-detecting the format from magic bytes (PNG / JPEG / WebP / BMP / GIF). - readRaster(InputStream) - Static method in class cloud.opencode.base.image.OpenImage
-
Read a
Rasterfrom anInputStream. - readRaster(Path) - Static method in class cloud.opencode.base.image.OpenImage
-
Read a
Rasterfrom a path. - rect(int, int) - Static method in record class cloud.opencode.base.image.morphology.StructuringElement
-
Create a rectangular structuring element with all mask values set to true.
- rect(Raster, int, int, int, int, int, int, boolean) - Static method in class cloud.opencode.base.image.draw.DrawOp
-
Draw a rectangle on a
Raster, outline or filled. - release() - Method in class cloud.opencode.base.image.buffer.PingPongBufferPool
-
Release both slots, allowing GC to reclaim backing memory.
- require(Raster, int, int, PixelFormat) - Static method in class cloud.opencode.base.image.buffer.ImageBuffers
-
Throwing variant for
Raster— fails fast when caller passed a mismatched raster, intended for performance-critical paths that must not silently allocate. - resize(int, int) - Method in class cloud.opencode.base.image.Image
-
Resize to exact dimensions. | 缩放到指定尺寸。
- resize(Path, Path, int, int) - Static method in class cloud.opencode.base.image.OpenImage
-
Quick resize. | 快速缩放。
- RESIZE_FAILED - Enum constant in enum class cloud.opencode.base.image.exception.ImageErrorCode
-
Resize failed | 缩放失败
- resizeProgressive(int, int) - Method in class cloud.opencode.base.image.Image
-
Progressive resize for higher quality on large downscale. | 大幅缩小时使用渐进缩放保留质量。
- resizeRaster(Path, Path, int, int) - Static method in class cloud.opencode.base.image.OpenImage
-
Quick path-to-path resize on the
Rasterpipeline. | Raster 路径到路径快速缩放。 - resizeToFit(int, int) - Method in class cloud.opencode.base.image.Image
-
Resize to fit within (maxWidth, maxHeight) preserving aspect ratio. | 等比缩放到 (maxWidth, maxHeight) 内。
- RESOURCE_UNAVAILABLE - Enum constant in enum class cloud.opencode.base.image.exception.ImageErrorCode
-
Resource unavailable | 资源不可用
- responseImage(Raster, double) - Static method in class cloud.opencode.base.image.feature.HarrisCornerOp
-
Compute Harris corner response for a
Rasterand pack the normalized result into aGRAY_8response image. - ResponsiveBuilder - Class in cloud.opencode.base.image.responsive
-
Responsive Multi-Size Image Generator 响应式多尺寸图片生成器
- ResponsiveBuilder.BatchBuilder - Class in cloud.opencode.base.image.responsive
-
Batch Builder for processing multiple source images with the same variant/format configuration.
- ResponsiveBuilder.GenerateResult - Record Class in cloud.opencode.base.image.responsive
-
Result of a single variant generation, containing the output path, variant info, format, and file size.
- ResponsiveBuilder.Variant - Record Class in cloud.opencode.base.image.responsive
-
Variant configuration describing a target image size and its name.
- Result(int[][], List) - Constructor for record class cloud.opencode.base.image.analysis.ConnectedComponentsOp.Result
-
Create a result with defensive copy of the component list.
- RGB_8 - Enum constant in enum class cloud.opencode.base.image.core.PixelFormat
-
24-bit RGB, 3 bytes per pixel (R, G, B). | 24 位 RGB,每像素 3 字节(R、G、B)。
- RGBA_8 - Enum constant in enum class cloud.opencode.base.image.core.PixelFormat
-
32-bit RGBA, 4 bytes per pixel (R, G, B, A). | 32 位 RGBA,每像素 4 字节(R、G、B、A)。
- rotate(double) - Method in class cloud.opencode.base.image.Image
-
Rotate by arbitrary angle (degrees, around center). | 任意角度旋转(绕中心,单位度)。
- rotate(Path, Path, double) - Static method in class cloud.opencode.base.image.OpenImage
-
Quick rotate. | 快速旋转。
- ROTATE_FAILED - Enum constant in enum class cloud.opencode.base.image.exception.ImageErrorCode
-
Rotate failed | 旋转失败
- rotate180() - Method in class cloud.opencode.base.image.Image
-
Rotate 180 degrees. | 旋转 180°。
- rotate270() - Method in class cloud.opencode.base.image.Image
-
Rotate 270 degrees clockwise. | 顺时针旋转 270°。
- rotate90() - Method in class cloud.opencode.base.image.Image
-
Rotate 90 degrees clockwise. | 顺时针旋转 90°。
- rotateRaster(Path, Path, double) - Static method in class cloud.opencode.base.image.OpenImage
-
Quick path-to-path arbitrary-angle rotation on the
Rasterpipeline.
S
- SafeImageService - Class in cloud.opencode.base.image.security
-
Safe Image Service 安全图片服务
- SafeImageService(long, int, int, Duration, int) - Constructor for class cloud.opencode.base.image.security.SafeImageService
-
Create safe image service 创建安全图片服务
- SafeImageService.Builder - Class in cloud.opencode.base.image.security
-
Safe Image Service Builder 安全图片服务构建器
- SafePathUtil - Class in cloud.opencode.base.image.security
-
Safe Path Util 安全路径工具类
- sanitizeFilename(String) - Static method in class cloud.opencode.base.image.security.SafePathUtil
-
Sanitize filename for safe storage 清理文件名以安全存储
- saturation(double) - Method in class cloud.opencode.base.image.Image
-
Saturation. | 饱和度。
- SaturationOp - Class in cloud.opencode.base.image.color
-
Saturation Adjustment Operation 饱和度调整操作工具类
- save(Raster, Path, ImageFormat, Path) - Method in class cloud.opencode.base.image.security.SafeImageService
-
Save raster safely with explicit format 以指定格式安全保存 raster
- save(Raster, Path, Path) - Method in class cloud.opencode.base.image.security.SafeImageService
-
Save raster safely 安全保存 raster
- save(Path) - Method in class cloud.opencode.base.image.Image
-
Save to path inferring format from extension. | 按扩展名保存到路径。
- save(Path) - Method in class cloud.opencode.base.image.thumbnail.ThumbnailBuilder
-
Build and save to path 构建并保存到路径
- save(Path, ImageFormat) - Method in class cloud.opencode.base.image.Image
-
Save to path with explicit format. | 以指定格式保存到路径。
- scale(double) - Method in class cloud.opencode.base.image.Image
-
Scale by uniform factor. | 按统一系数缩放。
- scaleToHeight(int) - Method in class cloud.opencode.base.image.Image
-
Scale to a target height (preserve aspect). | 缩放到目标高度(保持比例)。
- scaleToWidth(int) - Method in class cloud.opencode.base.image.Image
-
Scale to a target width (preserve aspect). | 缩放到目标宽度(保持比例)。
- score() - Method in record class cloud.opencode.base.image.analysis.TemplateMatchOp.MatchResult
-
Returns the value of the
scorerecord component. - sepia() - Method in class cloud.opencode.base.image.Image
-
Sepia tone. | 棕褐色调。
- sepia(Raster) - Static method in class cloud.opencode.base.image.color.ColorFilterOp
-
Apply sepia (nostalgic brown tone) filter to a
Raster. - setPixelArgb(int, int, int) - Method in class cloud.opencode.base.image.core.Raster
-
Sets a pixel from
0xAARRGGBBint (alpha ignored for non-alpha formats). - sharpen() - Method in class cloud.opencode.base.image.Image
-
Sharpen with default amount. | 默认强度锐化。
- sharpen(double) - Method in class cloud.opencode.base.image.Image
-
Sharpen with the given amount. | 指定强度锐化。
- SharpenOp - Class in cloud.opencode.base.image.filter
-
Unsharp Mask Sharpening Filter 非锐化掩模锐化滤波器
- ShiTomasiOp - Class in cloud.opencode.base.image.feature
-
Shi-Tomasi Corner Detector (Good Features To Track) Shi-Tomasi 角点检测器(良好跟踪特征)
- similarity(long, long) - Static method in class cloud.opencode.base.image.compare.PerceptualHash
-
Compute the similarity between two hashes as a value between 0.0 and 1.0.
- size() - Method in record class cloud.opencode.base.image.analysis.ContourFinderOp.Contour
-
Get the number of points in this contour.
- size(int, int) - Method in class cloud.opencode.base.image.thumbnail.ThumbnailBuilder
- sobelEdge() - Method in class cloud.opencode.base.image.Image
-
Sobel edge detection. | Sobel 边缘检测。
- SobelOp - Class in cloud.opencode.base.image.edge
-
Sobel Edge Detection Operator Sobel 边缘检测算子
- software() - Method in record class cloud.opencode.base.image.exif.ExifInfo
-
Returns the value of the
softwarerecord component. - SOFTWARE - Enum constant in enum class cloud.opencode.base.image.exif.ExifTag
-
Software tag (0x0131) 软件标签 (0x0131)
- source(Raster) - Method in class cloud.opencode.base.image.thumbnail.ThumbnailBuilder
- source(Image) - Method in class cloud.opencode.base.image.thumbnail.ThumbnailBuilder
- source(Path) - Method in class cloud.opencode.base.image.thumbnail.ThumbnailBuilder
- ssim(Raster, Raster) - Static method in class cloud.opencode.base.image.compare.ImageCompare
-
Compute SSIM between two equally-sized
Rasters. - stride() - Method in class cloud.opencode.base.image.core.Raster
- strip(byte[], ExifTag...) - Static method in class cloud.opencode.base.image.exif.ExifOp
-
Strip EXIF tags from JPEG bytes 从 JPEG 字节数组中清除 EXIF 标签
- stripExif(ExifTag...) - Method in class cloud.opencode.base.image.Image
-
No-op stub for legacy EXIF strip API.
- StructuringElement - Record Class in cloud.opencode.base.image.morphology
-
Structuring Element for Morphological Operations 形态学运算的结构元素
- StructuringElement(boolean[], int, int, int, int) - Constructor for record class cloud.opencode.base.image.morphology.StructuringElement
-
Compact constructor with validation.
- subView(int, int, int, int) - Method in class cloud.opencode.base.image.core.Raster
-
Returns a sub-view sharing this raster's underlying buffer.
- supportsTransparency() - Method in enum class cloud.opencode.base.image.ImageFormat
-
Check if format supports transparency 检查格式是否支持透明度
T
- TemplateMatchOp - Class in cloud.opencode.base.image.analysis
-
Template Matching using Normalized Cross-Correlation (NCC) 基于归一化互相关(NCC)的模板匹配
- TemplateMatchOp.MatchResult - Record Class in cloud.opencode.base.image.analysis
-
A template match result at a specific position with its NCC score.
- text() - Method in record class cloud.opencode.base.image.watermark.TextWatermark
-
Returns the value of the
textrecord component. - text(String) - Method in class cloud.opencode.base.image.watermark.TextWatermark.Builder
- TextWatermark - Record Class in cloud.opencode.base.image.watermark
-
Text Watermark 文字水印
- TextWatermark(String, Position, String, int, int, float, int) - Constructor for record class cloud.opencode.base.image.watermark.TextWatermark
-
Compact constructor with validation 紧凑构造函数(带验证)
- TextWatermark.Builder - Class in cloud.opencode.base.image.watermark
-
Text Watermark Builder 文字水印构建器
- threshold(int) - Method in class cloud.opencode.base.image.Image
-
Fixed threshold. | 固定阈值。
- threshold(int) - Method in class cloud.opencode.base.image.raster.RasterPipeline
-
Apply fixed BINARY threshold.
- threshold(int, ThresholdOp.Mode) - Method in class cloud.opencode.base.image.raster.RasterPipeline
-
Apply fixed threshold with the specified mode.
- THRESHOLD_ERROR - Enum constant in enum class cloud.opencode.base.image.exception.ImageErrorCode
-
Threshold operation failed | 二值化操作失败
- ThresholdOp - Class in cloud.opencode.base.image.threshold
-
Fixed Threshold Operations 固定阈值操作工具类
- ThresholdOp.Mode - Enum Class in cloud.opencode.base.image.threshold
-
Threshold mode enumeration.
- thumbnail() - Static method in class cloud.opencode.base.image.OpenImage
-
Create a thumbnail builder 创建缩略图构建器
- thumbnail(Path, Path, int) - Static method in class cloud.opencode.base.image.OpenImage
-
Quick thumbnail (preserve aspect to maximum dimension). | 快速缩略图(保持比例)。
- ThumbnailBuilder - Class in cloud.opencode.base.image.thumbnail
-
Thumbnail Builder 缩略图构建器
- ThumbnailBuilder() - Constructor for class cloud.opencode.base.image.thumbnail.ThumbnailBuilder
-
Empty builder; set the source via
ThumbnailBuilder.source(Path)orThumbnailBuilder.source(Raster). - ThumbnailBuilder(Raster) - Constructor for class cloud.opencode.base.image.thumbnail.ThumbnailBuilder
-
Build from a
Raster. - timeout(Duration) - Method in class cloud.opencode.base.image.security.SafeImageService.Builder
- TIMEOUT - Enum constant in enum class cloud.opencode.base.image.exception.ImageErrorCode
-
Processing timeout | 处理超时
- toArgb(Raster) - Static method in class cloud.opencode.base.image.color.ColorSpaceOp
-
Read
Rasterpixels as a row-major packed ARGBint[]. - toBase64() - Method in class cloud.opencode.base.image.Image
-
Encode to Base64 using current format. | 以当前格式编码为 Base64。
- toBase64(ImageFormat) - Method in class cloud.opencode.base.image.Image
-
Encode to Base64 with explicit format. | 以指定格式编码为 Base64。
- toBytes() - Method in class cloud.opencode.base.image.Image
-
Encode to bytes using current format. | 以当前格式编码为字节。
- toBytes() - Method in class cloud.opencode.base.image.thumbnail.ThumbnailBuilder
-
Build and return as bytes 构建并返回字节数组
- toBytes(Raster, ImageFormat) - Static method in class cloud.opencode.base.image.OpenImage
-
Encode a
Rasterto a fresh byte array. - toBytes(ImageFormat) - Method in class cloud.opencode.base.image.Image
-
Encode to bytes with explicit format. | 以指定格式编码为字节。
- toBytes(Path) - Static method in class cloud.opencode.base.image.OpenImage
-
Encode image bytes from path. | 将路径中的图片转为字节。
- toHsl(int[]) - Static method in class cloud.opencode.base.image.color.ColorSpaceOp
-
Convert ARGB pixels to HSL color space.
- toHsl(Raster) - Static method in class cloud.opencode.base.image.color.ColorSpaceOp
-
Convert a
Rasterto HSL color space. - toHsv(int[]) - Static method in class cloud.opencode.base.image.color.ColorSpaceOp
-
Convert ARGB pixels to HSV color space.
- toHsv(Raster) - Static method in class cloud.opencode.base.image.color.ColorSpaceOp
-
Convert a
Rasterto HSV color space. - toImage() - Method in class cloud.opencode.base.image.thumbnail.ThumbnailBuilder
-
Build the thumbnail and wrap it in an
Image. - toLab(int[]) - Static method in class cloud.opencode.base.image.color.ColorSpaceOp
-
Convert ARGB pixels to CIELAB color space using D65 illuminant and sRGB.
- toLab(Raster) - Static method in class cloud.opencode.base.image.color.ColorSpaceOp
-
Convert a
Rasterto CIELAB color space (D65, sRGB). - TOO_MANY_REQUESTS - Enum constant in enum class cloud.opencode.base.image.exception.ImageErrorCode
-
Too many requests | 请求过多
- tooManyRequests() - Static method in exception class cloud.opencode.base.image.exception.ImageResourceException
-
Create exception for too many requests 创建请求过多的异常
- TOP_CENTER - Enum constant in enum class cloud.opencode.base.image.Position
-
Top center | 顶部居中
- TOP_LEFT - Enum constant in enum class cloud.opencode.base.image.Position
-
Top left corner | 左上角
- TOP_RIGHT - Enum constant in enum class cloud.opencode.base.image.Position
-
Top right corner | 右上角
- topHat(Raster, StructuringElement) - Static method in class cloud.opencode.base.image.morphology.MorphologyOp
-
Compute the top-hat transform (original - opening) on a
Raster. - toRaster() - Method in class cloud.opencode.base.image.Image
-
Get the underlying
Raster. - toRaster() - Method in class cloud.opencode.base.image.raster.RasterPipeline
-
Returns the current raster held by this pipeline.
- toString() - Method in record class cloud.opencode.base.image.analysis.ConnectedComponentsOp.Component
-
Returns a string representation of this record class.
- toString() - Method in record class cloud.opencode.base.image.analysis.ConnectedComponentsOp.Result
-
Returns a string representation of this record class.
- toString() - Method in record class cloud.opencode.base.image.analysis.ContourFinderOp.Contour
-
Returns a string representation of this record class.
- toString() - Method in record class cloud.opencode.base.image.analysis.TemplateMatchOp.MatchResult
-
Returns a string representation of this record class.
- toString() - Method in record class cloud.opencode.base.image.compare.ImageCompare.RasterDiffResult
-
Returns a string representation of this record class.
- toString() - Method in class cloud.opencode.base.image.core.Raster
- toString() - Method in record class cloud.opencode.base.image.exif.ExifInfo
-
Returns a string representation of this record class.
- toString() - Method in record class cloud.opencode.base.image.histogram.HistogramOp.Histogram
-
Returns a string representation of this record class.
- toString() - Method in record class cloud.opencode.base.image.ImageInfo
-
Returns a string representation of this record class.
- toString() - Method in record class cloud.opencode.base.image.morphology.StructuringElement
-
Returns a string representation of this record class.
- toString() - Method in record class cloud.opencode.base.image.responsive.ResponsiveBuilder.GenerateResult
-
Returns a string representation of this record class.
- toString() - Method in record class cloud.opencode.base.image.responsive.ResponsiveBuilder.Variant
-
Returns a string representation of this record class.
- toString() - Method in record class cloud.opencode.base.image.watermark.ImageWatermark
-
Returns a string representation of this record class.
- toString() - Method in record class cloud.opencode.base.image.watermark.TextWatermark
-
Returns a string representation of this record class.
- toTightBytes() - Method in class cloud.opencode.base.image.core.Raster
-
Returns a tight-packed
byte[]of the visible sub-region. - toYCbCr(int[]) - Static method in class cloud.opencode.base.image.color.ColorSpaceOp
-
Convert ARGB pixels to YCbCr color space (ITU-R BT.601).
- toYCbCr(Raster) - Static method in class cloud.opencode.base.image.color.ColorSpaceOp
-
Convert a
Rasterto YCbCr color space (ITU-R BT.601). - TOZERO - Enum constant in enum class cloud.opencode.base.image.threshold.ThresholdOp.Mode
-
Below threshold to 0, at or above keep | 低于阈值置 0,大于等于阈值保持
- TOZERO_INV - Enum constant in enum class cloud.opencode.base.image.threshold.ThresholdOp.Mode
-
Below threshold keep, at or above to 0 | 低于阈值保持,大于等于阈值置 0
- TRUNC - Enum constant in enum class cloud.opencode.base.image.threshold.ThresholdOp.Mode
-
Below threshold keep, at or above to threshold | 低于阈值保持,大于等于阈值置为阈值
U
- UNKNOWN - Enum constant in enum class cloud.opencode.base.image.exception.ImageErrorCode
-
Unknown error | 未知错误
- unsupported(String) - Static method in exception class cloud.opencode.base.image.exception.ImageFormatException
-
Create exception for unsupported format 创建不支持格式的异常
- UNSUPPORTED_FORMAT - Enum constant in enum class cloud.opencode.base.image.exception.ImageErrorCode
-
Unsupported format | 不支持的图片格式
V
- validate(byte[]) - Static method in class cloud.opencode.base.image.validation.ImageValidator
-
Validate image bytes 验证图片字节数组
- validate(byte[], long, int, int) - Static method in class cloud.opencode.base.image.validation.ImageValidator
-
Validate image bytes with limits 验证图片字节数组(带限制)
- validate(Path) - Static method in class cloud.opencode.base.image.validation.ImageValidator
-
Validate image file 验证图片文件
- validate(Path, long, int, int) - Static method in class cloud.opencode.base.image.validation.ImageValidator
-
Validate image file with limits 验证图片文件(带限制)
- validateExtensionMatchesContent(Path) - Static method in class cloud.opencode.base.image.validation.ImageValidator
-
Validate file extension matches content 验证文件扩展名是否与内容匹配
- validatePath(Path) - Static method in class cloud.opencode.base.image.security.SafePathUtil
-
Validate path for image operations 验证图片操作的路径
- validatePath(Path, Path) - Static method in class cloud.opencode.base.image.security.SafePathUtil
-
Validate path within base directory 在基础目录内验证路径
- VALIDATION_FAILED - Enum constant in enum class cloud.opencode.base.image.exception.ImageErrorCode
-
Validation failed | 验证失败
- valueOf(String) - Static method in enum class cloud.opencode.base.image.analysis.ConnectedComponentsOp.Connectivity
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class cloud.opencode.base.image.core.PixelFormat
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class cloud.opencode.base.image.exception.ImageErrorCode
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class cloud.opencode.base.image.exif.ExifTag
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class cloud.opencode.base.image.ImageFormat
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class cloud.opencode.base.image.Position
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class cloud.opencode.base.image.threshold.AdaptiveThresholdOp.Method
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class cloud.opencode.base.image.threshold.ThresholdOp.Mode
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class cloud.opencode.base.image.analysis.ConnectedComponentsOp.Connectivity
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class cloud.opencode.base.image.core.PixelFormat
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class cloud.opencode.base.image.exception.ImageErrorCode
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class cloud.opencode.base.image.exif.ExifTag
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class cloud.opencode.base.image.ImageFormat
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class cloud.opencode.base.image.Position
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class cloud.opencode.base.image.threshold.AdaptiveThresholdOp.Method
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class cloud.opencode.base.image.threshold.ThresholdOp.Mode
-
Returns an array containing the constants of this enum class, in the order they are declared.
- variant() - Method in record class cloud.opencode.base.image.responsive.ResponsiveBuilder.GenerateResult
-
Returns the value of the
variantrecord component. - variant(int, int, String) - Method in class cloud.opencode.base.image.responsive.ResponsiveBuilder.BatchBuilder
-
Add a variant configuration.
- variant(int, int, String) - Method in class cloud.opencode.base.image.responsive.ResponsiveBuilder
-
Add a variant configuration.
- Variant(int, int, String) - Constructor for record class cloud.opencode.base.image.responsive.ResponsiveBuilder.Variant
-
Compact constructor with validation.
- vertical(List) - Static method in class cloud.opencode.base.image.ImageStitch
-
Stitch
Rasters vertically; width is the maximum, smaller rasters are horizontally centered. - vertical(List, int, int) - Static method in class cloud.opencode.base.image.ImageStitch
-
Stitch
Rasters vertically with gap and background ARGB color.
W
- Watermark - Interface in cloud.opencode.base.image.watermark
-
Watermark 水印接口
- WATERMARK_FAILED - Enum constant in enum class cloud.opencode.base.image.exception.ImageErrorCode
-
Watermark failed | 水印失败
- WEBP - Enum constant in enum class cloud.opencode.base.image.ImageFormat
-
WebP format | WebP格式
- whiteBalance() - Method in class cloud.opencode.base.image.Image
-
Auto white balance (gray world). | 灰度世界白平衡。
- WhiteBalanceOp - Class in cloud.opencode.base.image.color
-
Gray World White Balance Operation 灰度世界白平衡操作工具类
- width() - Method in class cloud.opencode.base.image.core.Raster
- width() - Method in record class cloud.opencode.base.image.ImageInfo
-
Returns the value of the
widthrecord component. - width() - Method in record class cloud.opencode.base.image.morphology.StructuringElement
-
Returns the value of the
widthrecord component. - width() - Method in record class cloud.opencode.base.image.responsive.ResponsiveBuilder.Variant
-
Returns the value of the
widthrecord component. - width(int) - Method in class cloud.opencode.base.image.thumbnail.ThumbnailBuilder
- withMargin(int) - Method in record class cloud.opencode.base.image.watermark.ImageWatermark
-
Create copy with different margin 创建使用不同边距的副本
- withOpacity(float) - Method in record class cloud.opencode.base.image.watermark.ImageWatermark
-
Create copy with different opacity 创建使用不同透明度的副本
- withOpacity(float) - Method in record class cloud.opencode.base.image.watermark.TextWatermark
-
Create copy with different opacity 创建使用不同透明度的副本
- withPosition(Position) - Method in record class cloud.opencode.base.image.watermark.ImageWatermark
-
Create copy with different position 创建使用不同位置的副本
- withPosition(Position) - Method in record class cloud.opencode.base.image.watermark.TextWatermark
-
Create copy with different position 创建使用不同位置的副本
- withText(String) - Method in record class cloud.opencode.base.image.watermark.TextWatermark
-
Create copy with different text 创建使用不同文字的副本
- withTimeout(ImageOperation, long) - Static method in interface cloud.opencode.base.image.security.ImageOperation
-
Wrap operation with timeout handling 使用超时处理包装操作
- withTimeout(RasterOperation, long) - Static method in interface cloud.opencode.base.image.security.RasterOperation
-
Wrap operation with timeout handling 使用超时处理包装操作
- wrap(byte[], int, int, PixelFormat) - Static method in class cloud.opencode.base.image.core.Raster
-
Wraps existing pixel data (no copy) with tight stride.
- write(Raster, OutputStream, ImageFormat) - Static method in class cloud.opencode.base.image.OpenImage
-
Encode a
Rasterto an output stream in the given format. - write(Raster, Path) - Static method in class cloud.opencode.base.image.OpenImage
-
Encode a
Rasterand write it to a path; the target format is inferred from the file extension. - write(Raster, Path, ImageFormat) - Static method in class cloud.opencode.base.image.OpenImage
-
Encode a
Rasterand write it to a path with the given format. - WRITE_FAILED - Enum constant in enum class cloud.opencode.base.image.exception.ImageErrorCode
-
Image write failed | 图片写入失败
- writeTo(OutputStream) - Method in class cloud.opencode.base.image.Image
-
Write to output stream using current format. | 用当前格式写入输出流。
- writeTo(OutputStream, ImageFormat) - Method in class cloud.opencode.base.image.Image
-
Write to output stream with explicit format. | 以指定格式写入输出流。
X
- x() - Method in record class cloud.opencode.base.image.analysis.TemplateMatchOp.MatchResult
-
Returns the value of the
xrecord component.
Y
- y() - Method in record class cloud.opencode.base.image.analysis.TemplateMatchOp.MatchResult
-
Returns the value of the
yrecord component.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
ImageValidator.detectFormatOptional(byte[])for null-safe detection