Posts Tagged ‘parameter parsing’

Adding a parameter type to DIPimage

Monday, December 28th, 2009

In this post I want to show how to enable to DIPimage GUI to work with a new data type. In a previous post we developed a new class, dip_snake, for use with the function snakeminimize. The fully developed version of snakeminimize, which you can download here, integrates with the DIPimage GUI and uses DIPimage’s built-in automatic parameter parsing. We actually need to do something to DIPimage to get all that to work, because the dip_snake class is unknown to DIPimage. This post explains how to teach DIPimage about a new parameter type.
Note: This post is meant as a tutorial for people developing DIPimage applications, and contains nothing of interest to anybody else. If you’re not developing for DIPimage, you might want to look here instead.

(more…)