read_image (Image, 'printer_chip/printer_chip_01')

threshold (Image, Region, 128, 255)
dev_open_window (0, 0, 512, 512, 'black', WindowHandle)
set_window_param (WindowHandle, 'flush', 'false')
dev_display (Image)
dev_display (Region)
disp_text (WindowHandle, 'Result of threshold', 'window', \
           12, 12, 'black', [], [])
* nothing is displayed until flush_buffer is called
flush_buffer (WindowHandle)

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-12-13
  • 2021-06-10
  • 2022-12-23
  • 2022-12-23
  • 2022-01-14
  • 2021-12-19
猜你喜欢
  • 2021-09-01
  • 2022-01-10
  • 2021-10-10
  • 2021-12-12
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案