image.commerce\commerce_scene.mbt
100% · 0 / 0 points · 350 linesBackground color reports the state of each line. Underlined characters mark exact instrumented byte offsets; hover them to inspect the visit count.
- 1
// Generated by scripts/gen_scenes.mjs from docs/scenes.json + pkg.generated.mbti. - 2
// DON'T EDIT IT —— 改归属请改 docs/scenes.json,然后 node scripts/gen_scenes.mjs。 - 3
// 电商场景(裁切 / 调色 / 增强 / 水印 / 码图 / 画质):6 个原子包合成为一个入口, - 4
// 下游 `moon add walkzzz/image.commerce` 后不必再记子包路径。 - 5
// 本包零实现:全部是同签名再导出(`pub using`),实现与测试仍在原子包内。 - 6
- 7
///| - 8
pub using @transform {type AffineMatrix} - 9
- 10
///| - 11
pub using @transform {type PerspectiveMatrix} - 12
- 13
///| - 14
pub using @transform { - 15
build_gaussian_pyramid, - 16
build_gaussian_pyramid_16, - 17
build_gaussian_pyramid_f, - 18
build_laplacian_pyramid, - 19
build_laplacian_pyramid_16, - 20
build_laplacian_pyramid_float, - 21
compute_energy, - 22
compute_energy_16, - 23
compute_energy_f, - 24
crop, - 25
crop_16, - 26
crop_f, - 27
crop_region, - 28
draw_circle, - 29
draw_circle_16, - 30
draw_circle_f, - 31
draw_copy, - 32
draw_line, - 33
draw_line_16, - 34
draw_line_f, - 35
draw_over, - 36
draw_polygon, - 37
draw_polygon_16, - 38
draw_polygon_f, - 39
draw_rectangle, - 40
draw_rectangle_16, - 41
draw_rectangle_f, - 42
find_horizontal_seam, - 43
find_vertical_seam, - 44
flip_horizontal, - 45
flip_horizontal_16, - 46
flip_horizontal_f, - 47
flip_vertical, - 48
flip_vertical_16, - 49
flip_vertical_f, - 50
get_affine_transform, - 51
get_perspective_transform, - 52
get_rotation_matrix_2d, - 53
multi_band_blend, - 54
multi_band_blend_16, - 55
multi_band_blend_f, - 56
pyr_down, - 57
pyr_down_16, - 58
pyr_down_f, - 59
pyr_up, - 60
pyr_up_16, - 61
pyr_up_f, - 62
remove_horizontal_seam, - 63
remove_horizontal_seam_16, - 64
remove_horizontal_seam_f, - 65
remove_vertical_seam, - 66
remove_vertical_seam_16, - 67
remove_vertical_seam_f, - 68
resize_16, - 69
resize_f, - 70
resize_subsample, - 71
resize_to_contain, - 72
resize_to_cover, - 73
rotate, - 74
rotate_180, - 75
rotate_180_16, - 76
rotate_180_f, - 77
rotate_270, - 78
rotate_270_16, - 79
rotate_270_f, - 80
rotate_90, - 81
rotate_90_16, - 82
rotate_90_f, - 83
seam_carve_resize, - 84
seam_carve_resize_16, - 85
seam_carve_resize_f, - 86
thumbnail, - 87
thumbnail_budgeted, - 88
thumbnail_dims, - 89
transpose_16, - 90
transpose_f, - 91
warp_affine, - 92
warp_affine_16, - 93
warp_affine_f, - 94
warp_perspective, - 95
warp_perspective_16, - 96
warp_perspective_f, - 97
} - 98
- 99
///| - 100
pub using @color {type Colormap} - 101
- 102
///| - 103
pub using @color { - 104
adaptive_threshold_gaussian, - 105
adaptive_threshold_gaussian_16, - 106
adaptive_threshold_gaussian_f, - 107
adaptive_threshold_mean, - 108
adaptive_threshold_mean_16, - 109
adaptive_threshold_mean_f, - 110
adjust_brightness, - 111
adjust_brightness_16, - 112
adjust_brightness_f, - 113
adjust_contrast, - 114
adjust_contrast_16, - 115
adjust_contrast_f, - 116
adjust_gamma, - 117
adjust_gamma_16, - 118
adjust_gamma_f, - 119
adjust_hue, - 120
adjust_saturation, - 121
apply_colormap, - 122
clahe, - 123
cmyk_to_rgb, - 124
cmyk_to_rgb_16, - 125
cmyk_to_rgb_f, - 126
dehaze, - 127
dehaze_16, - 128
dehaze_f, - 129
floyd_steinberg, - 130
floyd_steinberg_16, - 131
floyd_steinberg_f, - 132
gamma_tonemap, - 133
gamma_tonemap_16, - 134
gamma_tonemap_f, - 135
guided_filter, - 136
guided_filter_16, - 137
guided_filter_f, - 138
hsl_to_rgb, - 139
hsl_to_rgb_16, - 140
hsl_to_rgb_f, - 141
hsv_to_rgb, - 142
hsv_to_rgb_16, - 143
hsv_to_rgb_f, - 144
invert, - 145
invert_16, - 146
invert_f, - 147
kmeans_quantize, - 148
kmeans_quantize_16, - 149
kmeans_quantize_f, - 150
lab_to_rgb, - 151
lab_to_rgb_16, - 152
lab_to_rgb_f, - 153
median_cut, - 154
median_cut_16, - 155
median_cut_f, - 156
msr, - 157
msr_16, - 158
msr_f, - 159
msrcr, - 160
msrcr_16, - 161
msrcr_f, - 162
premultiply_alpha, - 163
premultiply_alpha_16, - 164
premultiply_alpha_f, - 165
reinhard_tonemap, - 166
reinhard_tonemap_16, - 167
reinhard_tonemap_f, - 168
rgb_to_cmyk, - 169
rgb_to_cmyk_16, - 170
rgb_to_cmyk_f, - 171
rgb_to_hsl, - 172
rgb_to_hsl_16, - 173
rgb_to_hsl_f, - 174
rgb_to_hsv, - 175
rgb_to_hsv_16, - 176
rgb_to_hsv_f, - 177
rgb_to_lab, - 178
rgb_to_lab_16, - 179
rgb_to_lab_f, - 180
rgb_to_xyz, - 181
rgb_to_xyz_16, - 182
rgb_to_xyz_f, - 183
rgb_to_ycbcr, - 184
rgb_to_ycbcr_16, - 185
rgb_to_ycbcr_f, - 186
ssr, - 187
ssr_16, - 188
ssr_f, - 189
threshold_otsu, - 190
threshold_otsu_16, - 191
threshold_otsu_f, - 192
to_grayscale, - 193
to_grayscale_16, - 194
to_grayscale_f, - 195
to_rgb, - 196
to_rgb_16, - 197
to_rgb_f, - 198
to_rgba, - 199
to_rgba_16, - 200
to_rgba_f, - 201
unpremultiply_alpha, - 202
unpremultiply_alpha_16, - 203
unpremultiply_alpha_f, - 204
xyz_to_rgb, - 205
xyz_to_rgb_16, - 206
xyz_to_rgb_f, - 207
ycbcr_to_rgb, - 208
ycbcr_to_rgb_16, - 209
ycbcr_to_rgb_f, - 210
} - 211
- 212
///| - 213
pub using @enhance {type DehazeConfig} - 214
- 215
///| - 216
pub using @enhance {type DenoiseAlgorithm} - 217
- 218
///| - 219
pub using @enhance {type DenoiseConfig} - 220
- 221
///| - 222
pub using @enhance {type DenoiseResult} - 223
- 224
///| - 225
pub using @enhance {type EnhancementAlgorithm} - 226
- 227
///| - 228
pub using @enhance {type EnhancementResult} - 229
- 230
///| - 231
pub using @enhance {type InpaintConfig} - 232
- 233
///| - 234
pub using @enhance {type NlmConfig} - 235
- 236
///| - 237
pub using @enhance {type NoiseType} - 238
- 239
///| - 240
pub using @enhance { - 241
bilateral_filter_denoise, - 242
calculate_brightness, - 243
calculate_contrast, - 244
calculate_noise_level, - 245
calculate_sharpness, - 246
create_default_denoise_config, - 247
create_rect_mask, - 248
dark_channel, - 249
dehaze_advanced, - 250
dehaze_default_config, - 251
dehaze_recover, - 252
denoise, - 253
denoise_algorithm_to_string, - 254
denoise_bilateral, - 255
denoise_image, - 256
denoise_median, - 257
denoise_nlm, - 258
denoise_report_to_string, - 259
enhance_image_advanced, - 260
estimate_atmospheric_light, - 261
estimate_transmission, - 262
gamma_correction_enhance, - 263
gaussian_filter_denoise, - 264
guided_filter_image, - 265
histogram_equalization_enhance, - 266
inpaint_advanced, - 267
inpaint_default_config, - 268
mean_filter_denoise, - 269
median_filter_denoise, - 270
nlm_default_config, - 271
remove_small_objects, - 272
remove_watermark, - 273
unsharp_mask_enhance, - 274
} - 275
- 276
///| - 277
pub using @barcode {type BarcodeConfig} - 278
- 279
///| - 280
pub using @barcode {type BarcodeResult} - 281
- 282
///| - 283
pub using @barcode {type BarcodeType} - 284
- 285
///| - 286
pub using @barcode {type Code128Charset} - 287
- 288
///| - 289
pub using @barcode {type QrDecodeResult} - 290
- 291
///| - 292
pub using @barcode {type QrFinderPattern} - 293
- 294
///| - 295
pub using @barcode { - 296
barcode_default_config, - 297
decode_barcode, - 298
decode_code128, - 299
decode_code39, - 300
decode_ean13, - 301
decode_linear_barcode, - 302
decode_qrcode, - 303
decode_qrcode_full, - 304
decode_upca, - 305
detect_qr_finder_patterns, - 306
reed_solomon_decode, - 307
} - 308
- 309
///| - 310
pub using @watermark {type WatermarkConfig} - 311
- 312
///| - 313
pub using @watermark { - 314
batch_embed_watermark, - 315
embed_text_watermark, - 316
embed_watermark_lsb, - 317
extract_text_watermark, - 318
extract_watermark_lsb, - 319
watermark_default_config, - 320
watermark_psnr, - 321
watermark_robustness_test, - 322
} - 323
- 324
///| - 325
pub using @quality {type QualityMetrics} - 326
- 327
///| - 328
pub using @quality {type QualityReport} - 329
- 330
///| - 331
pub using @quality {type QualityThreshold} - 332
- 333
///| - 334
pub using @quality { - 335
compute_diff_image, - 336
compute_mae, - 337
compute_mse, - 338
compute_psnr, - 339
compute_quality_metrics, - 340
compute_ssim, - 341
compute_ssim_windowed, - 342
compute_volume_ratio, - 343
default_quality_threshold, - 344
evaluate_quality, - 345
images_equal, - 346
quality_report_to_string, - 347
quality_verdict, - 348
} - 349
- 350
// 冲突清单:无(场景内符号名互不重叠)