请选择 进入手机版 | 继续访问电脑版

Hello Mat

 找回密码
 立即注册
查看: 8178|回复: 7

基于hyper-cuboids时空检测点的像素分类分割方法

[复制链接]

1278

主题

1504

帖子

90

金钱

管理员

Rank: 9Rank: 9Rank: 9

积分
22549
发表于 2020-2-12 17:41:15 | 显示全部楼层 |阅读模式

基于hyper-cuboids时空检测点的像素分类分割方法
  1. * Classify pixels using hyper-cuboids.
  2. read_image (Image, 'ic')
  3. * Create a new classificator
  4. create_class_box (ClassifHandle)
  5. get_image_size (Image, Width, Height)
  6. dev_close_window ()
  7. dev_open_window (0, 0, Width, Height, 'black', WindowID)
  8. dev_display (Image)
  9. dev_set_color ('green')
  10. gen_rectangle1 (foreground, 360, 198, 369, 226)
  11. dev_set_color ('red')
  12. gen_rectangle1 (reject, 84, 336, 337, 504)
  13. * Train the current classificator using a multi-channel image
  14. learn_ndim_box (foreground, reject, Image, ClassifHandle)
  15. class_ndim_box (Image, Regions, ClassifHandle)
  16. close_class_box (ClassifHandle)
  17. dev_display (Image)
  18. dev_display (Regions)
复制代码








算法QQ  3283892722
群智能算法链接http://halcom.cn/forum.php?mod=forumdisplay&fid=73
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Python|Opencv|MATLAB|Halcom.cn ( 蜀ICP备16027072号 )

GMT+8, 2024-3-29 00:42 , Processed in 0.260530 second(s), 24 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表