在官方文档中,链接为:
https://book.openmv.cc/example/03-Drawing/image-drawing-advanced.html
中,有如下代码
img.draw_image(small_img, int(x), int(y), mask=small_img.to_bitmap(copy=True), x_scale=rescale, y_scale=rescale, alpha=240, hint=image.IMAGE_HINT_BILINEAR | image.IMAGE_HINT_CENTER)其中传入 `mask=small_img.to_bitmap(copy=True) `,而通过查阅官方文档,如下所示:

其中,并没有 `mask` 参数相关的说明,那么这里传入的 `mask` 是因为老版本函数方法的问题还是有别的作用?
是文档没更新,这里的mask可以是一个掩码图片,忽略mask中为0的位置的像素点。