src/findclust.h

00001 
00002 #ifndef __IMAGER_FINDCLUST_H__
00003 #define __IMAGER_FINDCLUST_H__
00004 
00005 
00006 /* The non-GUI core routine */
00007 void clust_thresh (image_type* img, int r, int g, int b, float t, int thrtype);
00008 int findclust_2d (image_type* img, int slice, int maxclust, int f8neigh, int minsize, int labelopts, cluster_type* list);
00009 int findclust_3d (image_type* img, int maxclust, int f8neigh, int minsize, cluster_type* list);
00010 
00011 /* Individual functions of the new algorithm */
00012 
00013 int new_pass1_2d (image_type* src, image_type* dest, int slice, char f8neigh, int minsize);
00014 void new_pass2 (image_type* dest, int max, cluster_type* list, int f8ngh, int labelopts);
00015 
00016 /* Cluster counter to obtain nc(t) and nc_max */
00017 
00018 int clust_clustercount (image_type* img, float thresh, int numsamples, int minsize, int maxclust, int lowdens);
00019 
00020 /* The GUI-based caller */
00021 
00022 void clustfind ();
00023 void clustcnt ();
00024 
00025 
00026 #endif

Generated on Sat Nov 15 23:24:49 2008 for Crystal Image by  doxygen 1.5.3