-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathclustering.c
48 lines (36 loc) · 1.2 KB
/
clustering.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
/**
* @file clustering.c
* @brief cluster imates and data
*
*
*/
// module default short name
// all CLI calls to this module functions will be <shortname>.<funcname>
// if set to "", then calls use <funcname>
#define MODULE_SHORTNAME_DEFAULT "clustering"
// Module short description
#define MODULE_DESCRIPTION "Cluster images and data"
#include <malloc.h>
#include <math.h>
#include <stdint.h>
#include <stdlib.h>
#include <string.h>
#include "CommandLineInterface/CLIcore.h"
#include "cubecluster.h"
#include "mindiffscan.h"
/* ================================================================== */
/* ================================================================== */
/* INITIALIZE LIBRARY */
/* ================================================================== */
/* ================================================================== */
// Module initialization macro in CLIcore.h
// macro argument defines module name for bindings
//
INIT_MODULE_LIB(clustering)
static errno_t init_module_CLI()
{
CLIADDCMD_clustering__imcube_mkcluster();
CLIADDCMD_clustering__imcube_mindiffscan();
// add atexit functions here
return RETURN_SUCCESS;
}