From the Lab
A Qt-based environment for image processing algorithms
Bernard Llanos — September 29, 2016 - 7:35am
Related Projects:
During the previous week, I expanded the functionality of the small Qt-based graphical application that will serve as the environment for image processing algorithms.
New Features
- Loading SVG files, displaying them as raster images
- Exporting shape-based graphics to SVG files (using Qt's SVG module)
- Conversion of Qt image objects (QImage class) to separate arrays storing colour channels, for ease of manipulation. In the process, I ported routines for converting images to the CIE L*a*b* colour space from my work during Spring 2013.
- Menu options for running the available image processing algorithms
- Image processing algorithms are executed on a separate thread, to allow the user interface to remain responsive. Moreover, the user can abort the execution of an algorithm from the menu, rather than killing the entire program. Algorithms are structured such that they run in incremental stages, outputting status information periodically.
Example
Currently, I have implemented one placeholder algorithm which converts the image to its greyscale equivalent:
After processing:
Feature Wish List
- Ideally, I would load algorithm parameters from files, or through popup windows with graphical controls. However, for the time being, I will hardcode parameters.