Expand description
Render insects as Gaussian blobs into a Mono8 image that the real flydra-feature-detector reliably localizes.
Functions§
- render_
mono8 - Render a
widthxheightMono8 image: a flatbackgroundwith an additive Gaussian blob (peakpeak, standard deviationsigmapixels) at each(x, y)center inblobs. Stride equalswidth. - render_
rgb8 - Render a
widthxheightRGB8 image of the same neutral-gray scene asrender_mono8: every pixel’s three channels are set equal to the Mono8 value, so the content (background plus Gaussian blobs) is identical, just carried in a color pixel format. Stride equalswidth * 3. - render_
yuv422_ uyvy - Render a
widthxheightYUV422 (UYVY-packed) image of the same neutral-gray scene asrender_mono8: each pixel’s luma (Y) is the Mono8 value and the shared chroma (U, V) is neutral (128). The byte order is[U, Y0, V, Y1]per horizontal pixel pair, matchingmachine_vision_formats::pixel_format::YUV422. Stride equalswidth * 2.