MCPcopy Create free account

hub / github.com/akazdayo/pixelart / functions

Functions252 in github.com/akazdayo/pixelart

Methodtest_basic_construction
基本的なコンストラクタが動作すること
tests/test_pipeline.py:115
Methodtest_bgra_image
BGRA 画像でも動作すること
tests/test_pipeline.py:56
Methodtest_brightness_identity
明度 1.0 で画像が変わらないこと
tests/test_filters.py:186
Methodtest_brightness_output_shape
明度調整の出力形状が正しいこと
tests/test_filters.py:181
Methodtest_canny_output_dtype
出力の dtype が uint8 であること
tests/test_filters.py:43
Methodtest_canny_rgb_output_shape
RGB 画像でキャニーフィルタの出力形状が正しいこと
tests/test_filters.py:28
Methodtest_canny_rgba_output_shape
RGBA 画像でキャニーフィルタの出力形状が正しいこと
tests/test_filters.py:33
Methodtest_canny_rgba_preserves_alpha
RGBA 画像のアルファチャンネルが維持されること
tests/test_filters.py:38
Methodtest_contrast_identity
コントラスト 1.0 で画像が変わらないこと
tests/test_filters.py:214
Methodtest_contrast_output_shape
コントラスト調整の出力形状が正しいこと
tests/test_filters.py:209
Methodtest_convert_custom_empty_list_raises_error
空リストのカスタムパレットで ValueError が発生すること
tests/test_convert.py:84
Methodtest_convert_custom_empty_raises_error
空のカスタムパレットで ValueError が発生すること
tests/test_convert.py:79
Methodtest_convert_output_colors_in_palette
出力画像の色がパレットに含まれること
tests/test_convert.py:89
Methodtest_convert_with_csv_suffix_no_double
パレット名に .csv が付いていても .csv.csv にならないこと
tests/test_convert.py:468
Methodtest_convert_with_custom_palette
カスタムパレットで変換できること
tests/test_convert.py:65
Methodtest_convert_with_preset_palette
プリセットパレット (pyxel) で変換できること
tests/test_convert.py:73
Methodtest_convert_without_csv_suffix
.csv なしのパレット名でも動作すること
tests/test_convert.py:474
Methodtest_csv_stems_empty_list
空リストで空リストが返されること
tests/test_convert.py:294
Methodtest_csv_stems_returns_names
CSV ファイルの stem が返されること
tests/test_convert.py:272
Methodtest_custom_palette
カスタムパレットで変換できること
tests/test_pipeline.py:238
Methodtest_custom_palette_output_colors_are_in_palette
(self)
tests/test_pipeline.py:247
Methodtest_custom_values
カスタム値で初期化できること
tests/test_pipeline.py:94
Methodtest_decodable_to_png
デコードした結果が有効な PNG 画像であること
tests/test_pipeline.py:39
Methodtest_decrease_color
decrease_color が適用できること
tests/test_pipeline.py:279
Methodtest_decrease_does_not_modify_original
元の画像が変更されないこと
tests/test_filters.py:303
Methodtest_decrease_output_shape
減色の出力形状が正しいこと
tests/test_filters.py:267
Methodtest_decrease_reduces_colors
減色後のピクセル値が4段階のみであること
tests/test_filters.py:272
Methodtest_decrease_specific_ranges
各範囲が正しく変換されること
tests/test_filters.py:281
Methodtest_default_options_returns_result
デフォルトオプションで ProcessingResult が返されること
tests/test_pipeline.py:148
Methodtest_default_values
デフォルト値が正しく設定されること
tests/test_pipeline.py:76
Methodtest_delete_alpha
delete_alpha が適用できること
tests/test_pipeline.py:285
Methodtest_delete_alpha_converts_semitransparent_to_opaque
半透明ピクセルが不透明になること
tests/test_convert.py:137
Methodtest_delete_alpha_does_not_mutate_input
入力画像が変更されないこと
tests/test_convert.py:483
Methodtest_delete_alpha_mixed_transparency
透明と半透明が混在する画像
tests/test_convert.py:176
Methodtest_delete_alpha_preserves_bgr
BGR チャンネルが維持されること
tests/test_convert.py:157
Methodtest_delete_alpha_preserves_fully_transparent
完全透明 (alpha=0) は維持されること
tests/test_convert.py:148
Methodtest_delete_alpha_rgb_image_unchanged
RGB 画像はそのまま返されること
tests/test_convert.py:171
Methodtest_delete_transparent
delete_transparent が適用できること
tests/test_pipeline.py:368
Methodtest_delete_transparent_color_mixed
透明と不透明が混在する画像
tests/test_convert.py:234
Methodtest_delete_transparent_color_opaque_unchanged
不透明ピクセルの色は変更されないこと
tests/test_convert.py:215
Methodtest_delete_transparent_color_preserves_alpha
アルファチャンネルが維持されること
tests/test_convert.py:206
Methodtest_delete_transparent_color_rgb_unchanged
RGB 画像はそのまま返されること
tests/test_convert.py:229
Methodtest_delete_transparent_color_sets_white
透明ピクセルの色が白になること
tests/test_convert.py:191
Methodtest_dithering_atkinson
Atkinson ディザリングが適用できること
tests/test_pipeline.py:214
Methodtest_dithering_floyd_steinberg
Floyd-Steinberg ディザリングが適用できること
tests/test_pipeline.py:189
Methodtest_dithering_ordered
Ordered ディザリングが適用できること
tests/test_pipeline.py:201
Methodtest_dog_default_scratch_is_false
デフォルトの scratch が False であること
tests/test_filters.py:77
Methodtest_dog_filter
DoG フィルタが適用できること
tests/test_pipeline.py:326
Methodtest_dog_rgb_no_scratch
RGB 画像で scratch=False の出力形状が正しいこと
tests/test_filters.py:52
Methodtest_dog_rgb_with_scratch
RGB 画像で scratch=True の出力形状が正しいこと
tests/test_filters.py:57
Methodtest_dog_rgba_no_scratch
RGBA 画像で scratch=False の出力形状が正しいこと
tests/test_filters.py:62
Methodtest_dog_rgba_preserves_alpha
RGBA 画像のアルファチャンネルが維持されること
tests/test_filters.py:72
Methodtest_dog_rgba_with_scratch
RGBA 画像で scratch=True の出力形状が正しいこと
tests/test_filters.py:67
Methodtest_empty_string_raises_file_not_found
空文字列で FileNotFoundError が発生すること
tests/test_convert.py:258
Methodtest_enhancements
画像強調パラメータが適用できること
tests/test_pipeline.py:226
Methodtest_floyd_steinberg_output_dtype
出力の dtype が uint8 であること
tests/test_filters.py:418
Methodtest_floyd_steinberg_rgb_output_shape
RGB 画像で Floyd-Steinberg の出力形状が正しいこと
tests/test_filters.py:403
Methodtest_floyd_steinberg_rgba_output_shape
RGBA 画像で Floyd-Steinberg の出力形状が正しいこと
tests/test_filters.py:408
Methodtest_floyd_steinberg_rgba_preserves_alpha
RGBA 画像のアルファチャンネルが維持されること
tests/test_filters.py:413
Methodtest_floyd_steinberg_values_in_range
出力値が 0-255 の範囲内であること
tests/test_filters.py:428
Methodtest_floyd_steinberg_with_intensity
intensity パラメータが動作すること
tests/test_filters.py:423
Methodtest_get_color_3channel_rgb_input
(self, ai_instance)
tests/test_ai.py:126
Methodtest_get_color_count_multiple_colors
複数色の画像で正しいカラー数を返すこと
tests/test_ai.py:44
Methodtest_get_color_count_single_color
単色画像のカラー数が 1 であること
tests/test_ai.py:32
Methodtest_get_color_count_two_colors
2色画像のカラー数が 2 であること
tests/test_ai.py:38
Methodtest_get_color_hex_format
各色が正しい16進数フォーマットであること
tests/test_ai.py:86
Methodtest_get_color_respects_color_count
指定した色数以下の結果が返されること
tests/test_ai.py:95
Methodtest_get_color_returns_hex_list
16進数カラーコードのリストが返されること
tests/test_ai.py:80
Methodtest_get_color_rgb_image_no_rb_swap
(self, ai_instance)
tests/test_ai.py:116
Methodtest_get_color_single_color
1色を指定した場合に動作すること
tests/test_ai.py:109
Methodtest_get_color_with_more_colors_than_unique
ユニーク色数より多い色数を指定した場合、ユニーク色数に制限されること
tests/test_ai.py:100
Methodtest_greyscale_input
グレースケール画像が処理できること
tests/test_pipeline.py:162
Methodtest_grid_mosaic_mode
grid モザイクモードで処理できること
tests/test_pipeline.py:175
Methodtest_grid_mosaic_output_width
グリッドモザイクの出力幅が指定サイズであること
tests/test_filters.py:245
Methodtest_grid_mosaic_preserves_aspect
グリッドモザイクがアスペクト比を維持すること
tests/test_filters.py:250
Methodtest_grid_mosaic_preserves_channels
グリッドモザイクがチャンネル数を維持すること
tests/test_filters.py:258
Methodtest_grid_overlay
グリッドオーバーレイが適用できること
tests/test_pipeline.py:291
Methodtest_grid_overlay_grid_mode
grid モードでグリッドオーバーレイが適用できること
tests/test_pipeline.py:302
Methodtest_hex_to_rgb_with_hash_prefix
(self)
tests/test_pipeline.py:424
Methodtest_hex_to_rgb_without_hash_prefix
(self)
tests/test_pipeline.py:427
Methodtest_kuwahara_filter
kuwahara フィルタが適用できること
tests/test_pipeline.py:356
Methodtest_kuwahara_smooths_image
kuwahara フィルタが画像を平滑化すること
tests/test_filters.py:121
Methodtest_kuwahara_static_method
kuwahara 静的メソッドの出力形状が正しいこと
tests/test_filters.py:111
Methodtest_lab2rgb_output_range
出力値が 0-255 の範囲内であること
tests/test_ai.py:63
Methodtest_lab2rgb_output_shape
出力形状が正しいこと
tests/test_ai.py:57
Methodtest_lab2rgb_single_color
単一色の変換が正しいこと
tests/test_ai.py:70
Methodtest_large_image_is_resized
FullHD を超える画像がリサイズされること
tests/test_pipeline.py:313
Methodtest_list_color_palettes_includes_known_palettes
既知のパレットが含まれること
tests/test_convert.py:313
Methodtest_list_color_palettes_includes_pyxel
pyxel が含まれること
tests/test_convert.py:308
Methodtest_list_color_palettes_package_color_dir_exists
package の color/ ディレクトリが存在する場合にパレットが追加されること
tests/test_convert.py:337
Methodtest_list_color_palettes_package_color_dir_not_exist
package の color/ ディレクトリが存在しない場合でも動作すること
tests/test_convert.py:324
Methodtest_list_color_palettes_returns_tuple
タプルが返されること
tests/test_convert.py:303
Methodtest_list_color_palettes_sorted
ソートされて返されること
tests/test_convert.py:319
Methodtest_list_palette_names_matches_class_method
list_palette_names() が Convert.list_color_palettes() と同じ結果を返すこと
tests/test_convert.py:505
Methodtest_list_palette_names_returns_tuple
list_palette_names() がタプルを返すこと
tests/test_convert.py:499
Methodtest_load_palette_rows_rgb_values
load_palette_rows() が正しい RGB 値を返すこと
tests/test_convert.py:521
Methodtest_load_palette_rows_with_suffix
load_palette_rows() が .csv 付きで動作すること
tests/test_convert.py:509
Methodtest_load_palette_rows_without_suffix
load_palette_rows() が .csv なしで動作すること
tests/test_convert.py:515
Methodtest_median_filter
median フィルタが適用できること
tests/test_pipeline.py:362
Methodtest_median_output_dtype
メディアンフィルタの出力が uint8 であること
tests/test_filters.py:138
← previousnext →101–200 of 252, ranked by callers