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
↓ 31 callers
Function
process_image
Run the full pixel-art conversion pipeline on *img*. Parameters ---------- img: Input image in RGB or RGBA format. options:
pixelart_backend/pipeline.py:129
↓ 12 callers
Method
ordered_dither
( self, image: np.ndarray, matrix_size: int = 4, intensity: float = 1.0, )
pixelart_backend/filters.py:266
↓ 10 callers
Method
add_grid
( self, image: np.ndarray, grid_size: int, line_color: tuple[int, int, int] =
pixelart_backend/filters.py:178
↓ 10 callers
Method
convert
( self, img: NDArray[np.uint8], option: str, custom: list[list[int]] | None =
pixelart_backend/convert.py:91
↓ 9 callers
Method
dog
(self, img: np.ndarray, scratch: bool = False)
pixelart_backend/filters.py:26
↓ 8 callers
Function
cv_to_base64
Encode an OpenCV image (BGR/BGRA) to a PNG base64 string.
pixelart_backend/pipeline.py:23
↓ 8 callers
Method
decrease
(self, image: np.ndarray)
pixelart_backend/filters.py:161
↓ 8 callers
Method
get_color
( self, image: np.ndarray, color: int, iter_count: int, )
pixelart_backend/ai.py:10
↓ 8 callers
Method
list_color_palettes
()
pixelart_backend/convert.py:43
↓ 7 callers
Method
atkinson
(self, image: np.ndarray, intensity: float = 1.0)
pixelart_backend/filters.py:323
↓ 7 callers
Method
delete_alpha
(self, image: NDArray[np.uint8])
pixelart_backend/convert.py:121
↓ 7 callers
Method
floyd_steinberg
(self, image: np.ndarray, intensity: float = 1.0)
pixelart_backend/filters.py:226
↓ 6 callers
Method
_resolve_palette_path
( path: str, _project_root: Path | None = None, _package_root: Any | None = None,
pixelart_backend/convert.py:59
↓ 6 callers
Method
delete_transparent_color
(self, image: NDArray[np.uint8])
pixelart_backend/convert.py:130
↓ 6 callers
Method
read_csv
(self, path: str)
pixelart_backend/convert.py:84
↓ 5 callers
Method
resize_image
(self, image: NDArray[np.uint8])
pixelart_backend/convert.py:113
↓ 4 callers
Method
_csv_stems
(base: Any)
pixelart_backend/convert.py:35
↓ 4 callers
Method
canny
(self, image: np.ndarray, th1: float, th2: float)
pixelart_backend/filters.py:10
↓ 4 callers
Method
get_color_count
(self, image: np.ndarray)
pixelart_backend/ai.py:40
↓ 4 callers
Method
grid_mosaic
(self, image: np.ndarray, size: int)
pixelart_backend/filters.py:152
↓ 4 callers
Method
lab2rgb
(self, image: np.ndarray)
pixelart_backend/ai.py:45
↓ 4 callers
Method
median
(self, image: np.ndarray, size: int)
pixelart_backend/filters.py:106
↓ 4 callers
Method
morphology_erode
(self, image: np.ndarray)
pixelart_backend/filters.py:80
↓ 4 callers
Function
pallet_write
(col, index)
pages/color_sample.py:22
↓ 4 callers
Method
slider_mosaic
(self, image: np.ndarray, ratio: float)
pixelart_backend/filters.py:142
↓ 3 callers
Method
_candidate_paths
(path: str)
pixelart_backend/convert.py:20
↓ 3 callers
Function
_hex_to_rgb
Convert a ``#rrggbb`` hex string to an ``[r, g, b]`` list.
pixelart_backend/pipeline.py:29
↓ 3 callers
Method
apply_kuwahara
(self, image: np.ndarray)
pixelart_backend/filters.py:102
↓ 3 callers
Method
brightness
(self, image: np.ndarray, value: float)
pixelart_backend/filters.py:121
↓ 3 callers
Method
contrast
(self, image: np.ndarray, value: float)
pixelart_backend/filters.py:135
↓ 3 callers
Function
load_palette_rows
(palette_name: str)
pixelart_backend/convert.py:145
↓ 3 callers
Method
saturation
(self, image: np.ndarray, value: float)
pixelart_backend/filters.py:114
↓ 3 callers
Method
sharpness
(self, image: np.ndarray, value: float)
pixelart_backend/filters.py:128
↓ 2 callers
Method
custom_palette
( # TODO: pandasからndarrayに変更したい self, df=pd.DataFrame( [ {"hex":
src/draw.py:118
↓ 2 callers
Method
get_image
(self, upload)
src/draw.py:237
↓ 2 callers
Method
hex_to_rgb
(self, hex_code)
src/draw.py:96
↓ 2 callers
Method
kuwahara
(im: np.ndarray, n: int)
pixelart_backend/filters.py:89
↓ 2 callers
Function
list_palette_names
()
pixelart_backend/convert.py:141
↓ 2 callers
Method
morphology_dilate
(self, image: np.ndarray)
pixelart_backend/filters.py:67
↓ 1 callers
Method
draw_text
(self)
src/draw.py:20
↓ 1 callers
Method
experimental
(self)
src/draw.py:150
↓ 1 callers
Function
file_dir
()
pages/color_sample.py:14
↓ 1 callers
Method
hex_to_rgblist
(self, hex_list)
src/draw.py:103
↓ 1 callers
Method
more_options
(self)
src/draw.py:194
↓ 1 callers
Function
read_csv
(path)
pages/color_sample.py:7
↓ 1 callers
Method
share
(self)
src/draw.py:87
↓ 1 callers
Method
show_custom
(self, col)
src/draw.py:139
Method
__init__
(self)
src/draw.py:10
Method
__init__
(self)
pixelart_backend/filters.py:7
Method
__init__
(self)
pixelart_backend/filters.py:111
Method
__init__
(self)
pixelart_backend/filters.py:175
Method
__init__
(self)
pixelart_backend/filters.py:223
Method
__init__
(self)
pixelart_backend/ai.py:7
Method
__init__
(self)
pixelart_backend/convert.py:16
Method
_filter
( img_array: np.ndarray, size: int, p: int, sigma: float,
pixelart_backend/filters.py:27
Method
ai_instance
AI インスタンスを作成
tests/test_ai.py:10
Method
bgr_image
テスト用 BGR 画像 (10x10)
tests/test_pipeline.py:18
Method
bgra_image
テスト用 BGRA 画像 (10x10)
tests/test_pipeline.py:23
Method
converter
Convert インスタンスを作成
tests/test_convert.py:11
Method
dithering
Dithering インスタンスを作成
tests/test_filters.py:385
Method
edge_filter
EdgeFilter インスタンスを作成
tests/test_filters.py:10
Method
enhancer
ImageEnhancer インスタンスを作成
tests/test_filters.py:154
Method
fake_get_color
(self, image, color_num, iter)
tests/test_pipeline.py:377
Method
file_dir
(self)
src/draw.py:13
Method
grid_mask
GridMask インスタンスを作成
tests/test_filters.py:314
Method
hex_to_bgr
Hex カラーコードを BGR (OpenCV形式) に変換
src/draw.py:110
Method
large_image
Full HD より大きい画像 (2000x2000)
tests/test_convert.py:26
Function
main
(web)
src/run.py:17
Method
rgb_image
テスト用 RGB 画像 (50x50)
tests/test_pipeline.py:139
Method
rgb_image
テスト用 RGB 画像 (30x30)
tests/test_filters.py:15
Method
rgb_image
テスト用 RGB 画像 (30x30)
tests/test_filters.py:159
Method
rgb_image
テスト用 RGB 画像 (30x30)
tests/test_filters.py:319
Method
rgb_image
テスト用 RGB 画像 (10x10) — 小さいサイズ
tests/test_filters.py:390
Method
rgb_image
テスト用 RGB 画像 (100x100)
tests/test_convert.py:16
Method
rgba_image
テスト用 RGBA 画像 (50x50)
tests/test_pipeline.py:144
Method
rgba_image
テスト用 RGBA 画像 (20x20)
tests/test_ai.py:15
Method
rgba_image
テスト用 RGBA 画像 (30x30)
tests/test_filters.py:20
Method
rgba_image
テスト用 RGBA 画像 (30x30)
tests/test_filters.py:324
Method
rgba_image
テスト用 RGBA 画像 (10x10) — 小さいサイズ
tests/test_filters.py:395
Method
rgba_image
テスト用 RGBA 画像 (100x100)
tests/test_convert.py:21
Method
selective_is_file
(self_path)
tests/test_convert.py:399
Method
simple_rgba_image
2色のみの単純な RGBA 画像 (10x10)
tests/test_ai.py:20
Method
test_add_grid_custom_color
カスタム色でグリッドが描画されること
tests/test_filters.py:357
Method
test_add_grid_custom_thickness
カスタム太さでグリッドが描画されること
tests/test_filters.py:362
Method
test_add_grid_full_opacity
opacity = 1.0 でグリッドが完全に描画されること
tests/test_filters.py:352
Method
test_add_grid_modifies_image
グリッドが実際に画像を変更すること
tests/test_filters.py:367
Method
test_add_grid_rgb_output_shape
RGB 画像でグリッドの出力形状が正しいこと
tests/test_filters.py:332
Method
test_add_grid_rgba_output_shape
RGBA 画像でグリッドの出力形状が正しいこと
tests/test_filters.py:337
Method
test_add_grid_rgba_preserves_alpha
RGBA 画像のアルファチャンネルが維持されること
tests/test_filters.py:342
Method
test_add_grid_rgba_with_opacity
RGBA 画像で opacity < 1.0 のグリッドが正しく描画されること
tests/test_filters.py:374
Method
test_add_grid_with_opacity
opacity < 1.0 でグリッドが半透明に描画されること
tests/test_filters.py:347
Method
test_ai_palette
(self, rgb_image, monkeypatch)
tests/test_pipeline.py:374
Method
test_ai_palette_uniform_red_image
(self)
tests/test_pipeline.py:399
Method
test_apply_kuwahara_output_shape
apply_kuwahara の出力形状が正しいこと
tests/test_filters.py:116
Method
test_atkinson_output_dtype
出力の dtype が uint8 であること
tests/test_filters.py:509
Method
test_atkinson_rgb_output_shape
RGB 画像で Atkinson の出力形状が正しいこと
tests/test_filters.py:494
Method
test_atkinson_rgba_output_shape
RGBA 画像で Atkinson の出力形状が正しいこと
tests/test_filters.py:499
Method
test_atkinson_rgba_preserves_alpha
RGBA 画像のアルファチャンネルが維持されること
tests/test_filters.py:504
Method
test_atkinson_values_in_range
出力値が 0-255 の範囲内であること
tests/test_filters.py:519
Method
test_atkinson_with_intensity
intensity パラメータが動作すること
tests/test_filters.py:514
next →
1–100 of 252, ranked by callers