grass  7.8.6
About: GRASS (Geographic Resources Analysis Support System) is a raster- and vector-based GIS, image processing system, graphics production system and spatial modeling system.
  Fossies Dox: grass-7.8.6.tar.gz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

c_reclass.c File Reference

Cluster library - Reclass data. More...

#include <grass/cluster.h>
Include dependency graph for c_reclass.c:

Go to the source code of this file.


int I_cluster_reclass (struct Cluster *C, int minsize)
 Reclass data. More...

Detailed Description

Cluster library - Reclass data.

(C) 2001-2009 by the GRASS Development Team

This program is free software under the GNU General Public License (>=v2). Read the file COPYING that comes with GRASS for details.

Original author CERL

Definition in file c_reclass.c.

Function Documentation

◆ I_cluster_reclass()

int I_cluster_reclass ( struct Cluster C,
int  minsize 

Reclass data.

Cpointer to Cluster structure
minsizeminimum class size
0 on success
1 no change

Definition at line 25 of file c_reclass.c.

References c, Cluster::class, Cluster::count, Cluster::nbands, Cluster::nclasses, Cluster::npoints, Cluster::reclass, and Cluster::sum.

Referenced by I_cluster_exec().