Home
last modified time | relevance | path

Searched refs:SegDist (Results 1 – 3 of 3) sorted by relevance

/dports/science/afni/afni-AFNI_21.3.16/src/SUMA/
H A DSUMA_LocalStat.c2453 float *SegDist = NULL; in SUMA_CalculateLocalStats() local
2770 SegDist = SUMA_SegmentDistortion(SO, SOf); in SUMA_CalculateLocalStats()
2773 … if (!SegDist || !mask_record) { SUMA_S_Crit("Failed to allocate"); SUMA_RETURN(NULL);} in SUMA_CalculateLocalStats()
2780 … SUMA_APPROX_NEIGHBORS(SO, SOf, n, rhood, SegDist, mask_record, fwhm_mask, nval); in SUMA_CalculateLocalStats()
2801 … SUMA_APPROX_NEIGHBORS(SO, SOf, n, rhood, SegDist, mask_record, fwhm_mask, nval); in SUMA_CalculateLocalStats()
2826 if (SegDist) SUMA_free(SegDist); SegDist = NULL; in SUMA_CalculateLocalStats()
H A DSUMA_GeomComp.h11 #define SUMA_APPROX_NEIGHBORS(SO, SOf, cent, dnei, SegDist, mask_record, nmask, N_nmask) \ argument
18 m_dnei_sp = dnei * SegDist[cent]; \
H A DSUMA_GeomComp.c14218 float *SegDist=NULL, *p1_1, *p1_2, *p2_1, *p2_2, d_1, d_2; in SUMA_SegmentDistortion() local
14230 SegDist = (float *)SUMA_calloc(SO1->N_Node, sizeof(float)); in SUMA_SegmentDistortion()
14233 for (i=0; i<SO1->N_Node; ++i) SegDist[i] = 1.0; in SUMA_SegmentDistortion()
14234 SUMA_RETURN(SegDist); in SUMA_SegmentDistortion()
14240 SegDist[i] = 0.0; in SUMA_SegmentDistortion()
14246 if (d_1) SegDist[i] += sqrt(d_2 / d_1); in SUMA_SegmentDistortion()
14251 SUMA_RETURN(SegDist); in SUMA_SegmentDistortion()
14271 static float *SegDist = NULL; in SUMA_ApproxNeighbors() local
14283 if (SegDist) SUMA_free(SegDist); SegDist = NULL; in SUMA_ApproxNeighbors()
14305 …if (!SegDist || !mask_record) { SUMA_S_Errv("Should not happen here (%p %p) (have you initialized?… in SUMA_ApproxNeighbors()
[all …]