This file is indexed.

/usr/include/mia-2.4/mia/2d/fuzzyseg.hh is in libmia-2.4-dev 2.4.3-5.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 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
49
50
51
52
53
54
55
56
/* -*- mia-c++  -*-
 *
 * This file is part of MIA - a toolbox for medical image analysis 
 * Copyright (c) Leipzig, Madrid 1999-2016 Gert Wollny
 *
 * MIA is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 3 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with MIA; if not, see <http://www.gnu.org/licenses/>.
 *
 */

#include <mia/2d/imageio.hh>

NS_MIA_BEGIN

struct SFuzzySegParams {
	float residuum; 
	float lambda1; 
	float lambda2;
	SFuzzySegParams(): 
		residuum(0.1), 
		lambda1(2e5), 
		lambda2(2e6)
		{}
}; 

/**
   @ingroup filtering
   @brief Run a fuzzy c-mean segmentation with gain field correction 

   This function runs a fuzzy c-means segmentation with B-field correction in the input data set 
   according to D.L. Pham and J.L.Prince, 
   "An adaptive fuzzy C-means algorithm for image segmentation in the presence
   of intensity inhomogeneities", Pat. Rec. Let., 20:57-68,1999

   \param[in] src the input image 
   \param[in] noOfClasses number of segmentation classes
   \param[in] residuum limit for optimization 
   \param[out] classes probability images after segmentation 
   \param[out] gain multiplicative gain field 
   \returns the B-field corrected image 
 */
EXPORT_2D P2DImage fuzzy_segment_2d(const C2DImage& src, size_t noOfClasses, 
				    const SFuzzySegParams& residuum, 
				    C2DImageVector& classes, P2DImage& gain);

NS_MIA_END