To load an image, specify the file path in the constructor:
To save the image, use the save method. It will automatically use the file you loaded the image from:
You can also specify a new file to save to, similar to a "Save As...", and future calls to save() will save to this new file:
You can also show the image:
You can scale images using the "scale" function, so for instance to create a thumbnail.
You can erode an image using:
You can crop an image using:
you can find all the Image operations here in the documentation
Search type functions return Feature Sets, for instance, finding all lines in an image:
To find blobs its as easy as:
most of the features functions are prefixed with find they can be found in the Image documentation or you can also view a the types of features in the documentations
You can use color to define various types of color for displaying text or marking up images:
see the color documentation for more information.
ColorCurve is a color spline class for performing color correction. It can takeas parameters a SciPy Univariate spline, or an array with at least 4 point pairs. Either of these must map in a 255x255 space. The curve can then be used in the applyRGBCurve, applyHSVCurve, and applyInstensityCurve functions:
see the color curve documentation for more info
A color map takes a start and end point in 3D space and lets you map a range of values to it. Using the colormap like an array gives you the mapped color.
This is useful for color coding elements by an attribute:
see the color map documentation for more info
Please check out the youtube channel for demos, or join the mailing list to find out more.