Objects of examination: halftone image of blood particles (Particles.bmp).
Task: find contours of objects at the image and divide the objects which stuck together during the search of contours.
NOTE. Tutorial does not contain the information on all the possibilities of the application. Here the optimal way of solving the task set is offered.
Step 1. Launch of the application
Launch the Altami Studio application. In order to launch the application, use the Altami Studio shortcut at the workbench or the menu item Start→Programs→Altami Ltd→Altami Studio 3.0. Besides, the application can be launched from the folder where the application was installed (usually it is C:\Program Files\Altami Ltd\Altami Studio 3.0\).
Step 2. Opening the file
Open the file with the image, in order to do that, use the menu item File→Open and select the file Particles.bmp. It is in Tutorials\Picturesfolder which is in the main folder of the application. Press the Open button. In the application window the following image shall be opened:
Image 1. The opened document in Altami Studio application
Step 3. Adding the filter Configured find contours to the document
In order to use the Configured find contours filter, call the Filters panel through the menu View→Panels→Filters.
Image 2. Opening the Filters panel
Then in the appeared Filters panel click with the right button of the mouse, and in the context menu select Filters→Complex filters→Configured find contours.
Image 3. Adding the Configured find contours filter
Step 4. Filter settings. Configured find contours
Select at the Filters panel the Configured find contours filter and click the plus near the name. You will see the list of filters used in the Configured find contours filter. At the lower part of the panel the settings of the applied filter are applied. At that panel you can switch and switch off the filter, having put the tick and having delete the tick near the enabled parameter.
Image 4. The adjusted search of the contours filter
The adjusted search of contours consists of: group of filters for the search of the contours (Smooth, Adaptive threshold, Closing, Opening) and the Draw auto measurements filter. You can use the Compex filter and change parameters of each filter it is made of as you need.
Step 5. Setting the parameters of the Adaptive threshold filter
Image 5. The Adaptive Threshold filter in the composite filter Configured find contours
Select the Adaptive threshold filter and in its settings in the lower part of the panel indicate the blockSize as 10, and the threshValue as 2,00.
Step 6. Configured find contours filter
Select the Smooth filter in the Configured find contours filter. Place the tick in the checkbox near the enabled parameter in the Smooth filter settings. Indicate the 12 value of the size parameter.
Image 6. Smooth filter in the Configured find contours filter
Step 7. Setting of the Closing filter
Select the Closing filter in the Configured find contours filter and place a tick near the enabled filter in order that the True filter appears. Indicate the 5 value of the size parameter and 1 for iterations.
Image 7. The Closing filter in the Configured find contours filter
Step 8. Filter setting. Opening
Select in the Configured find contours filter the Opening filter and near the enabled button place a tick so that the True button appeared. Leave by default the indicated 3 value of the size parameter and 1 for iterations.
Image 8. The Opening filter in the composite filter Configured find contours
Step 9. The setting of the Drawing autofigures filter
The switched on by default Draw auto measurements filter quickly draws the figures, found by the Find contours filter.
Image 9. The Draw auto measurements filter in the Configured find contours filter
Indicate the color of figures outlining having selected the Color parameter and pressed the appeared button «…». Select, for example, the yellow color:
Image 10. Select the color of outlining for the drawn autofigures
Indicate the penWidth parameter for autofigures in the Draw auto measurements filter settings as 3:
Image 11. Changing the penWidth parameter of the draw auto measurements filter
As the result you will have the following image in front of you:
Image 12. Operating of the Configured find contours filter
Step 10. Setting of the Draw delimiter measurements filters
Having used the Interval figure at the Figures panel, draw the interval between the glued objects as it is drawn at the Image 13.
Image 13. Creating the interval between the glued objects
For the interval it is necessary to select the color which would not merge with the color of the separated parts and would be close to the background color. Select the interval and click at the right button of the mouse. Select the Color of line – light gray:
Image 14. Selecting the color of the Interval figure
Select the interval, click at it with the right button of the mouse, and in the appeared context menu select the Delimiter item:
Image 15. Transforming the Interval figure into the Delimiter
As the result of this action the glued parts separate, as the Draw delimiter measurements filter in the Configured find contours filter is switched on by default.
Image 16. Work of the Draw delimiter measurements filter
After the dividing of figures is done, you can select the interval and click at the right button of the mouse. Select the Show measurements item in the context menu, near which there is a tick.
Image 17. Switch off Show measurements parameter
After that the Interval figure will not be shown at the image.
Image 18. The total result of the Configured find contours transformation
Copyright by Altami Ltd, 121 N La Cienega Blvd, Los Angeles, CA 90048, USA
CALL +1 (424) 653-6876