直接处理到图像上面了,请参考官方例子:
- read_image(Image1,'green-dot')
- copy_image(Image1,Image2)
- copy_image(Image1,Image3)
- compose3(Image1,Image2,Image3,Image)
- * extract subpixel border
- threshold_sub_pix(Image1,Border,128)
- * select the circle and the arrows
- select_obj(Border,circle,14)
- select_obj(Border,arrows,16)
- concat_obj(circle,arrows,green_dot)
- * paint a green circle and white arrows (to paint all
- * objects e.g., blue, pass [0,0,255] tuple for GrayVal)
- paint_xld(green_dot,Image,ImageResult,[0,255,0,255,255,255])
复制代码
|