This file is indexed.

/usr/include/vl/liop.h is in libvlfeat-dev 0.9.20+dfsg0-1.

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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
/** @file liop.h
 ** @brief Local Intensity Order Pattern (LIOP) descriptor (@ref liop)
 ** @author Hana Sarbortova
 ** @author Andrea Vedaldi
 ** @see @ref liop
 **/

/*
Copyright (C) 2013 Hana Sarbortova and Andrea Vedaldi.
All rights reserved.

This file is part of the VLFeat library and is made available under
the terms of the BSD license (see the COPYING file).
*/

#ifndef VL_LIOP_H
#define VL_LIOP_H

#include "generic.h"

/** @brief LIOP descriptor extractor object */
typedef struct _VlLiopDesc
{
  vl_int numNeighbours; /**< Number of neighbours. */
  vl_int numSpatialBins; /**< Number of bins. */
  float intensityThreshold; /**< Weight threshold. */
  vl_size dimension; /**< LIOP descriptor size. */

  /* Pixels in the circular patch */
  vl_size patchSideLength ;
  vl_size patchSize ; /* only circular neighbourhood */
  vl_uindex * patchPixels ;
  float * patchIntensities ;
  vl_uindex * patchPermutation ;

  /* Neighbourhoods of each pixel (samples in a circle) */
  float neighRadius; /**< Point to neighbour radius (distance). */

  float * neighIntensities ;
  vl_uindex * neighPermutation ;
  double * neighSamplesX ;
  double * neighSamplesY ;

} VlLiopDesc ;

/** @name Construct and destroy
 ** @{ */
VL_EXPORT
VlLiopDesc * vl_liopdesc_new (vl_int numNeighbours,
                              vl_int numSpatialBins,
                              float radius,
                              vl_size sideLength) ;

VL_EXPORT
VlLiopDesc * vl_liopdesc_new_basic (vl_size sideLength) ;

VL_EXPORT
void vl_liopdesc_delete (VlLiopDesc * self) ;
/** @} */

/**  @name Get data and parameters
 **  @{ */
VL_EXPORT vl_size vl_liopdesc_get_dimension (VlLiopDesc const * self) ;
VL_EXPORT vl_size vl_liopdesc_get_num_neighbours (VlLiopDesc const * self) ;
VL_EXPORT float vl_liopdesc_get_intensity_threshold (VlLiopDesc const * self) ;
VL_EXPORT vl_size vl_liopdesc_get_num_spatial_bins (VlLiopDesc const * self) ;
VL_EXPORT double vl_liopdesc_get_neighbourhood_radius (VlLiopDesc const * self) ;
VL_EXPORT void vl_liopdesc_set_intensity_threshold (VlLiopDesc * self, float x) ;
/** @} */

/**  @name Compute LIOP descriptor
 **  @{ */
VL_EXPORT
void vl_liopdesc_process (VlLiopDesc * liop, float * desc, float const * patch) ;
/** @} */

/* VL_LIOP_H */
#endif