Expand description
Classical CV — canonical implementation in specialized_libs::computer_vision::cv.
Modules§
- buffer
- codecs
- Image codecs: PNG (encode + decode) and JPEG (decode only).
- color
- contours
- draw
- edges
- error
- Errors for classical CV kernels.
- features
- filter
- flow
- hist
- morph
- photo
- sr
- Classical super-resolution kernels (RGB packed u8, integer scale 2|3|4).
- transform
- video
- Video / sequence helpers (frame ring; full demux later).
Structs§
Enums§
Constants§
- DESC_
LEN - MAX_
SEQ_ FRAMES - Max frames held in a fixed ring for biosense windows.
Functions§
- bicubic_
u8 - Bicubic upsample RGB8.
out≥w*scale * h*scale * 3. Scale ∈ {2,3,4}. - bilateral_
denoise_ u8 - Bilateral denoise on a u8 image.
- bilinear_
u8 - Bilinear upsample RGB8.
out≥w*scale * h*scale * 3. Scale ∈ {2,3,4}. - box_
blur_ u8 - Box blur with odd radius
r(kernel 2r+1).out≥ w*h. - brief_
desc_ u8 - Write
ndescriptors intoout(n * DESC_LEN bytes). - canny_
u8 - Approximate Canny edges.
outbinary-ish 0/255.low/highthresholds on magnitude. - dilate_
u8 - Binary dilation on a u8 image.
- draw_
rect_ u8 - Draws a rect on a u8 image.
- equalize_
hist_ u8 - Histogram equalization on a u8 image.
- erode_
u8 - Binary erosion on a u8 image.
- fast_
corners_ u8 - Detect FAST corners.
outcaller-buffered. - find_
external_ blobs - Find up to
out.len()external blobs where pixel ≥thresh. - gaussian_
blur_ u8 - Fixed 3×3 Gaussian.
out≥ w*h. - hamming_
match - Match query descriptors to train.
outone match per query (best). - histogram_
u8 - Write 256 bin counts into
bins. - lanczos3_
u8 - Lanczos-3 upsample RGB8.
out≥w*scale * h*scale * 3. Scale ∈ {2,3,4}. - lucas_
kanade_ step - Estimate flow from
prevtonextfor each keypoint. Writes dx,dy intoflowas pairs. - median_
blur_ u8 - Median blur on a u8 image.
- rgb_
to_ gray_ u8 - Convert packed RGB8 to Gray8.
outlength ≥ width*height. - sobel_
mag_ u8 - Sobel magnitude on a u8 image.
- synthetic_
pulse_ sequence - Load a synthetic pulsing sequence for tests / demos (no file demux).
- warp_
affine_ u8 m= [a,b,c, d,e,f] maps output → input.- warp_
perspective_ u8 - Perspective warp on a u8 image.