Skip to content

Commit

Permalink
Add several PCL_EXPORTS as those functions are used in pcl_grabcut_2d…
Browse files Browse the repository at this point in the history
… project.
  • Loading branch information
yangyanli committed Dec 2, 2013
1 parent 5b913ba commit f3cf0b3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions segmentation/include/pcl/segmentation/grabcut_segmentation.h
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ namespace pcl
Eigen::Vector3f eigenvector;
};

class GMM
class PCL_EXPORTS GMM
{
public:
/// Initialize GMM with ddesired number of gaussians.
Expand Down Expand Up @@ -289,14 +289,14 @@ namespace pcl
};

/** Build the initial GMMs using the Orchard and Bouman color clustering algorithm */
void
PCL_EXPORTS void
buildGMMs (const Image &image,
const std::vector<int>& indices,
const std::vector<SegmentationValue> &hardSegmentation,
std::vector<std::size_t> &components,
GMM &background_GMM, GMM &foreground_GMM);
/** Iteratively learn GMMs using GrabCut updating algorithm */
void
PCL_EXPORTS void
learnGMMs (const Image& image,
const std::vector<int>& indices,
const std::vector<SegmentationValue>& hard_segmentation,
Expand Down

0 comments on commit f3cf0b3

Please sign in to comment.