L3DT users' wiki
Large 3D terrain generator

 

atCluster

Plugin information

Author: Aaron
Description An experimental plugin for performing k-means clustering of RGB image files. This can be useful as a pre-filter for importing attributes maps.
Menu option 'Extensions→atCluster→Cluster image'
Download link atCluster-bin.zip [140kB]
Last update 31 May 2015; v15.5.0.1
How to install? Please refer to the plugin installation guide.

Using atCluster

This is an experimental plugin. The user interface is still very basic. Not recommended for production environments.

Clustering an image to make an attributes map

  1. Select 'Extensions→atCluster→Cluster image'.
  2. Select an import image.
  3. Enter settings
    • nClustersMax is the maximum number of clusters to be found. If importing for an attributes map, keep this small (« 100).
    • nIterationsMax is the maximum number of iteration cycles in the k-means algorithm. 10 is recommended.
  4. atCluster will then cluster the image and export a file called '[orignal file name]_clustered.bmp'. This file should look the same as your input image, but with slightly 'stepped' colours. This output image will only contain a small number of unique colours (as given by nClustersMax), which should be suitable for importing as an attributes map.
  5. Select 'Import→Attributes map→Import from colour map', and follow this guide. Please note that you will need to manually assign climates/land types to the colours in the image.

Changes

2015/05/31 06:07 — Released v15.5.0.1.

 
plugins/calc/atcluster.txt · Last modified: 2017/08/31 05:35 (external edit)
 
Except where otherwise noted, content on this wiki is licensed under the following license:CC Attribution-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki