executing-plans
executing-plans
Use when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available
image-processingUse when working with Kornia image tensors, color conversion, filters, enhancement, morphology, drawing, or image I/O workflows.
Independent GitHub snapshot · Automated classification · Original documentation governs
Use this sub-skill for Kornia's deterministic image-processing operators: color spaces, filtering, enhancement, morphology, image drawing, tensor/image conversion, and file I/O.
references/dtype-and-layout.md when the task involves CHW/BCHW/HWC confusion, uint8 versus float tensors, device placement, or value ranges.references/api-reference.md for the main public functions and module classes to use.references/workflows.md for recipes that combine I/O, conversion, filtering, enhancement, and morphology.references/troubleshooting.md when imports, image decoding, shape checks, dtype checks, or low-precision kernels fail.scripts/processing_smoke.py when you need a fast public-API check before using this guidance in an environment.This route owns:
kornia.io: load_image, write_image, ImageLoadType.kornia.image: image_to_tensor, tensor_to_image, drawing helpers, grid utilities, textual image rendering.kornia.color: RGB/BGR/gray, HSV/HLS, Lab/Luv/XYZ/YUV/YCbCr/raw conversions and colormaps.kornia.filters: Gaussian/box/median/bilateral/guided/motion blur, Sobel/Laplacian/Canny, filter kernels, filter2d/filter3d.kornia.enhance: brightness/contrast/gamma/hue/saturation, histogram/equalization/CLAHE, normalization, ZCA, differentiable JPEG.kornia.morphology: dilation, erosion, opening, closing, gradient, top-hat, bottom-hat.Route elsewhere:
AugmentationSequential: ../augmentation-pipelines/SKILL.md.../geometry-vision/SKILL.md.../losses-and-metrics/SKILL.md.../features-and-matching/SKILL.md.../models-and-deployment/SKILL.md.(..., C, H, W) for batched workflows or (C, H, W) for single images.load_image(..., ImageLoadType.RGB32) returns a float32 RGB tensor in [0, 1] with shape (3, H, W).write_image accepts (3,H,W), (1,H,W), or (H,W) tensors and supports .jpg, .jpeg, .png, and .tiff.nn.Module wrappers when the operation belongs inside a model or pipeline.load_image, normalize or color-convert it, and then feed the result into a later augmentation or geometry route.kornia.filters or kornia.enhance when the task is deterministic preprocessing rather than random augmentation.tensor_to_image only for human-readable output or file saving; keep the working representation as tensors.[0, 255] looks valid but will behave as an overbright [0, 1] tensor in many Kornia image APIs.write_image has dtype and suffix limits; convert explicitly when saving PNG/JPEG and prefer TIFF for float32 output.write_image only after choosing the correct extension and dtype for the chosen file format.python scripts/processing_smoke.py --device auto
python scripts/processing_smoke.py --device cpu --with-io-roundtrip
Expected terminal signal: processing-smoke-ok.
For future verification, representative native candidates include color, filters, enhance, morphology, image, and I/O tests. Use targeted CPU float32 cases first; CUDA, MPS, and low-precision matrices are optional backend coverage rather than the minimum operating contract.