Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/akazdayo/pixelart
/ functions
Functions
252 in github.com/akazdayo/pixelart
⨍
Functions
252
◇
Types & classes
52
Method
test_basic_construction
基本的なコンストラクタが動作すること
tests/test_pipeline.py:115
Method
test_bgra_image
BGRA 画像でも動作すること
tests/test_pipeline.py:56
Method
test_brightness_identity
明度 1.0 で画像が変わらないこと
tests/test_filters.py:186
Method
test_brightness_output_shape
明度調整の出力形状が正しいこと
tests/test_filters.py:181
Method
test_canny_output_dtype
出力の dtype が uint8 であること
tests/test_filters.py:43
Method
test_canny_rgb_output_shape
RGB 画像でキャニーフィルタの出力形状が正しいこと
tests/test_filters.py:28
Method
test_canny_rgba_output_shape
RGBA 画像でキャニーフィルタの出力形状が正しいこと
tests/test_filters.py:33
Method
test_canny_rgba_preserves_alpha
RGBA 画像のアルファチャンネルが維持されること
tests/test_filters.py:38
Method
test_contrast_identity
コントラスト 1.0 で画像が変わらないこと
tests/test_filters.py:214
Method
test_contrast_output_shape
コントラスト調整の出力形状が正しいこと
tests/test_filters.py:209
Method
test_convert_custom_empty_list_raises_error
空リストのカスタムパレットで ValueError が発生すること
tests/test_convert.py:84
Method
test_convert_custom_empty_raises_error
空のカスタムパレットで ValueError が発生すること
tests/test_convert.py:79
Method
test_convert_output_colors_in_palette
出力画像の色がパレットに含まれること
tests/test_convert.py:89
Method
test_convert_with_csv_suffix_no_double
パレット名に .csv が付いていても .csv.csv にならないこと
tests/test_convert.py:468
Method
test_convert_with_custom_palette
カスタムパレットで変換できること
tests/test_convert.py:65
Method
test_convert_with_preset_palette
プリセットパレット (pyxel) で変換できること
tests/test_convert.py:73
Method
test_convert_without_csv_suffix
.csv なしのパレット名でも動作すること
tests/test_convert.py:474
Method
test_csv_stems_empty_list
空リストで空リストが返されること
tests/test_convert.py:294
Method
test_csv_stems_returns_names
CSV ファイルの stem が返されること
tests/test_convert.py:272
Method
test_custom_palette
カスタムパレットで変換できること
tests/test_pipeline.py:238
Method
test_custom_palette_output_colors_are_in_palette
(self)
tests/test_pipeline.py:247
Method
test_custom_values
カスタム値で初期化できること
tests/test_pipeline.py:94
Method
test_decodable_to_png
デコードした結果が有効な PNG 画像であること
tests/test_pipeline.py:39
Method
test_decrease_color
decrease_color が適用できること
tests/test_pipeline.py:279
Method
test_decrease_does_not_modify_original
元の画像が変更されないこと
tests/test_filters.py:303
Method
test_decrease_output_shape
減色の出力形状が正しいこと
tests/test_filters.py:267
Method
test_decrease_reduces_colors
減色後のピクセル値が4段階のみであること
tests/test_filters.py:272
Method
test_decrease_specific_ranges
各範囲が正しく変換されること
tests/test_filters.py:281
Method
test_default_options_returns_result
デフォルトオプションで ProcessingResult が返されること
tests/test_pipeline.py:148
Method
test_default_values
デフォルト値が正しく設定されること
tests/test_pipeline.py:76
Method
test_delete_alpha
delete_alpha が適用できること
tests/test_pipeline.py:285
Method
test_delete_alpha_converts_semitransparent_to_opaque
半透明ピクセルが不透明になること
tests/test_convert.py:137
Method
test_delete_alpha_does_not_mutate_input
入力画像が変更されないこと
tests/test_convert.py:483
Method
test_delete_alpha_mixed_transparency
透明と半透明が混在する画像
tests/test_convert.py:176
Method
test_delete_alpha_preserves_bgr
BGR チャンネルが維持されること
tests/test_convert.py:157
Method
test_delete_alpha_preserves_fully_transparent
完全透明 (alpha=0) は維持されること
tests/test_convert.py:148
Method
test_delete_alpha_rgb_image_unchanged
RGB 画像はそのまま返されること
tests/test_convert.py:171
Method
test_delete_transparent
delete_transparent が適用できること
tests/test_pipeline.py:368
Method
test_delete_transparent_color_mixed
透明と不透明が混在する画像
tests/test_convert.py:234
Method
test_delete_transparent_color_opaque_unchanged
不透明ピクセルの色は変更されないこと
tests/test_convert.py:215
Method
test_delete_transparent_color_preserves_alpha
アルファチャンネルが維持されること
tests/test_convert.py:206
Method
test_delete_transparent_color_rgb_unchanged
RGB 画像はそのまま返されること
tests/test_convert.py:229
Method
test_delete_transparent_color_sets_white
透明ピクセルの色が白になること
tests/test_convert.py:191
Method
test_dithering_atkinson
Atkinson ディザリングが適用できること
tests/test_pipeline.py:214
Method
test_dithering_floyd_steinberg
Floyd-Steinberg ディザリングが適用できること
tests/test_pipeline.py:189
Method
test_dithering_ordered
Ordered ディザリングが適用できること
tests/test_pipeline.py:201
Method
test_dog_default_scratch_is_false
デフォルトの scratch が False であること
tests/test_filters.py:77
Method
test_dog_filter
DoG フィルタが適用できること
tests/test_pipeline.py:326
Method
test_dog_rgb_no_scratch
RGB 画像で scratch=False の出力形状が正しいこと
tests/test_filters.py:52
Method
test_dog_rgb_with_scratch
RGB 画像で scratch=True の出力形状が正しいこと
tests/test_filters.py:57
Method
test_dog_rgba_no_scratch
RGBA 画像で scratch=False の出力形状が正しいこと
tests/test_filters.py:62
Method
test_dog_rgba_preserves_alpha
RGBA 画像のアルファチャンネルが維持されること
tests/test_filters.py:72
Method
test_dog_rgba_with_scratch
RGBA 画像で scratch=True の出力形状が正しいこと
tests/test_filters.py:67
Method
test_empty_string_raises_file_not_found
空文字列で FileNotFoundError が発生すること
tests/test_convert.py:258
Method
test_enhancements
画像強調パラメータが適用できること
tests/test_pipeline.py:226
Method
test_floyd_steinberg_output_dtype
出力の dtype が uint8 であること
tests/test_filters.py:418
Method
test_floyd_steinberg_rgb_output_shape
RGB 画像で Floyd-Steinberg の出力形状が正しいこと
tests/test_filters.py:403
Method
test_floyd_steinberg_rgba_output_shape
RGBA 画像で Floyd-Steinberg の出力形状が正しいこと
tests/test_filters.py:408
Method
test_floyd_steinberg_rgba_preserves_alpha
RGBA 画像のアルファチャンネルが維持されること
tests/test_filters.py:413
Method
test_floyd_steinberg_values_in_range
出力値が 0-255 の範囲内であること
tests/test_filters.py:428
Method
test_floyd_steinberg_with_intensity
intensity パラメータが動作すること
tests/test_filters.py:423
Method
test_get_color_3channel_rgb_input
(self, ai_instance)
tests/test_ai.py:126
Method
test_get_color_count_multiple_colors
複数色の画像で正しいカラー数を返すこと
tests/test_ai.py:44
Method
test_get_color_count_single_color
単色画像のカラー数が 1 であること
tests/test_ai.py:32
Method
test_get_color_count_two_colors
2色画像のカラー数が 2 であること
tests/test_ai.py:38
Method
test_get_color_hex_format
各色が正しい16進数フォーマットであること
tests/test_ai.py:86
Method
test_get_color_respects_color_count
指定した色数以下の結果が返されること
tests/test_ai.py:95
Method
test_get_color_returns_hex_list
16進数カラーコードのリストが返されること
tests/test_ai.py:80
Method
test_get_color_rgb_image_no_rb_swap
(self, ai_instance)
tests/test_ai.py:116
Method
test_get_color_single_color
1色を指定した場合に動作すること
tests/test_ai.py:109
Method
test_get_color_with_more_colors_than_unique
ユニーク色数より多い色数を指定した場合、ユニーク色数に制限されること
tests/test_ai.py:100
Method
test_greyscale_input
グレースケール画像が処理できること
tests/test_pipeline.py:162
Method
test_grid_mosaic_mode
grid モザイクモードで処理できること
tests/test_pipeline.py:175
Method
test_grid_mosaic_output_width
グリッドモザイクの出力幅が指定サイズであること
tests/test_filters.py:245
Method
test_grid_mosaic_preserves_aspect
グリッドモザイクがアスペクト比を維持すること
tests/test_filters.py:250
Method
test_grid_mosaic_preserves_channels
グリッドモザイクがチャンネル数を維持すること
tests/test_filters.py:258
Method
test_grid_overlay
グリッドオーバーレイが適用できること
tests/test_pipeline.py:291
Method
test_grid_overlay_grid_mode
grid モードでグリッドオーバーレイが適用できること
tests/test_pipeline.py:302
Method
test_hex_to_rgb_with_hash_prefix
(self)
tests/test_pipeline.py:424
Method
test_hex_to_rgb_without_hash_prefix
(self)
tests/test_pipeline.py:427
Method
test_kuwahara_filter
kuwahara フィルタが適用できること
tests/test_pipeline.py:356
Method
test_kuwahara_smooths_image
kuwahara フィルタが画像を平滑化すること
tests/test_filters.py:121
Method
test_kuwahara_static_method
kuwahara 静的メソッドの出力形状が正しいこと
tests/test_filters.py:111
Method
test_lab2rgb_output_range
出力値が 0-255 の範囲内であること
tests/test_ai.py:63
Method
test_lab2rgb_output_shape
出力形状が正しいこと
tests/test_ai.py:57
Method
test_lab2rgb_single_color
単一色の変換が正しいこと
tests/test_ai.py:70
Method
test_large_image_is_resized
FullHD を超える画像がリサイズされること
tests/test_pipeline.py:313
Method
test_list_color_palettes_includes_known_palettes
既知のパレットが含まれること
tests/test_convert.py:313
Method
test_list_color_palettes_includes_pyxel
pyxel が含まれること
tests/test_convert.py:308
Method
test_list_color_palettes_package_color_dir_exists
package の color/ ディレクトリが存在する場合にパレットが追加されること
tests/test_convert.py:337
Method
test_list_color_palettes_package_color_dir_not_exist
package の color/ ディレクトリが存在しない場合でも動作すること
tests/test_convert.py:324
Method
test_list_color_palettes_returns_tuple
タプルが返されること
tests/test_convert.py:303
Method
test_list_color_palettes_sorted
ソートされて返されること
tests/test_convert.py:319
Method
test_list_palette_names_matches_class_method
list_palette_names() が Convert.list_color_palettes() と同じ結果を返すこと
tests/test_convert.py:505
Method
test_list_palette_names_returns_tuple
list_palette_names() がタプルを返すこと
tests/test_convert.py:499
Method
test_load_palette_rows_rgb_values
load_palette_rows() が正しい RGB 値を返すこと
tests/test_convert.py:521
Method
test_load_palette_rows_with_suffix
load_palette_rows() が .csv 付きで動作すること
tests/test_convert.py:509
Method
test_load_palette_rows_without_suffix
load_palette_rows() が .csv なしで動作すること
tests/test_convert.py:515
Method
test_median_filter
median フィルタが適用できること
tests/test_pipeline.py:362
Method
test_median_output_dtype
メディアンフィルタの出力が uint8 であること
tests/test_filters.py:138
← previous
next →
101–200 of 252, ranked by callers