简体   繁体   English

图像处理和计算机视觉

[英]Image processing and Computer Vision

I would like to use Smalltalk (Pharo) to better refactor my image processing and computer vision code/algorithms, written in other languages.我想使用 Smalltalk (Pharo) 来更好地重构我用其他语言编写的图像处理和计算机视觉代码/算法。 I have not found a lot of examples online where Smalltalk is used for processing images (or video frames).我还没有在网上找到很多使用 Smalltalk 处理图像(或视频帧)的例子。 I would like to know whether我想知道是否

i) there is an opencv/image/computer vision library available for Smalltalk that is easily installed or i) 有一个可用于 Smalltalk 的 opencv/图像/计算机视觉库,它易于安装或

ii) someone could give an example of how to access the pixel data in an image and threshold it using Smalltalk. ii) 有人可以举例说明如何访问图像中的像素数据并使用 Smalltalk 对其进行阈值处理。

最近在https://github.com/feenkcom/gt4opencv 上绑定了 OpenCV(用于 Pharo 7 atm)

For the first question, you can maybe write your own interface using FFI to the OpenCV C-API. 对于第一个问题,您可以使用FFI将自己的界面编写到OpenCV C-API。 For the second question, I think it's easy to use ImageReadWriter formFromFileNamed and then can use pixelValueAt: to read the value, threshold, and then write back by pixelValueAt:put: . 对于第二个问题,我认为使用ImageReadWriter formFromFileNamed很容易,然后可以使用pixelValueAt:读取值,阈值,然后通过pixelValueAt:put:回写pixelValueAt:put: .

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 图像处理/计算机视觉统计 - statistics for image processing/computer vision 如何在图像处理(计算机视觉)中定位汽车? - How to position a car in image processing (computer vision)? 计算机视觉/图像处理的经典练习? - Classic exercises for computer vision / image processing? 良好兼容的网络摄像头,可以进行图像处理/计算机视觉? - Good and compatible webcam to do image processing/computer vision? 删除徽标检测中不需要的文本-图像处理,计算机视觉 - Remove unwanted text in logo detection- Image Processing, Computer vision 计算机视觉-从“ A”图像识别“ A” - Computer Vision - Recognize 'A' from an image of 'A' 屏幕截图,用于后续的计算机视觉处理 - Screen Capture for subsequent Computer Vision Processing 图像处理/计算机视觉-身体部位识别-姿势(站立/坐着)-监督学习 - image processing / computer vision - body part recognition - posture ( standing/ sitting) - supervised learning 使用图像处理/计算机视觉检测图像中的“城市”背景与“沙漠”背景 - Detecting “city” background versus “desert” background in images using image processing/computer vision 如何学习计算机视觉编程和实时图像处理的基本概念 - how to learn computer vision programming and real-time image processing basic concepts
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM