I would like to use Smalltalk (Pharo) to better refactor my image processing and computer vision code/algorithms, written in other languages. I have not found a lot of examples online where Smalltalk is used for processing images (or video frames). I would like to know whether
i) there is an opencv/image/computer vision library available for Smalltalk that is easily installed or
ii) someone could give an example of how to access the pixel data in an image and threshold it using Smalltalk.
ImageMagick
(heavyweight and very capable) orNetPBM
(light-weight and simple installation) to convert any image you have intoNetPBM
format (PGM
for greyscale orPPM
for colour) then you can easily open the files and read them and process them in SmallTalk... https://mcmap.net/q/1039316/-c-create-png-bitmap-from-array-of-numbers – Archivolt