Halcom 发表于 2020-2-12 17:41:15

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


基于hyper-cuboids时空检测点的像素分类分割方法
* Classify pixels using hyper-cuboids.
read_image (Image, 'ic')
* Create a new classificator
create_class_box (ClassifHandle)
get_image_size (Image, Width, Height)
dev_close_window ()
dev_open_window (0, 0, Width, Height, 'black', WindowID)
dev_display (Image)
dev_set_color ('green')
gen_rectangle1 (foreground, 360, 198, 369, 226)
dev_set_color ('red')
gen_rectangle1 (reject, 84, 336, 337, 504)
* Train the current classificator using a multi-channel image
learn_ndim_box (foreground, reject, Image, ClassifHandle)
class_ndim_box (Image, Regions, ClassifHandle)
close_class_box (ClassifHandle)
dev_display (Image)
dev_display (Regions)







页: [1]
查看完整版本: 基于hyper-cuboids时空检测点的像素分类分割方法