GRASS GIS 7 Programmer's Manual  7.5.svn(2018)-r73122
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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.

Functions

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.

Author
Original author CERL

Definition in file c_reclass.c.

Function Documentation

int I_cluster_reclass ( struct Cluster C,
int  minsize 
)

Reclass data.

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

Definition at line 25 of file c_reclass.c.

References Cluster::class, Cluster::count, for(), Cluster::nbands, Cluster::nclasses, Cluster::npoints, Cluster::reclass, and Cluster::sum.

Referenced by I_cluster_exec().