Skip to content

Commit

Permalink
Merge pull request #383 from yangyanli/fix_pclexports
Browse files Browse the repository at this point in the history
Several Small Fixes
  • Loading branch information
rbrusu committed Dec 14, 2013
2 parents 37cb772 + f3cf0b3 commit 40e6127
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion io/include/pcl/io/png_io.h
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ namespace pcl
* \ingroup io
* Warning: Converts to 16 bit (for png), labels using more than 16 bits will cause problems
*/
PCL_DEPRECATED (void savePNGFile (const std::string& file_name, const pcl::PointCloud<pcl::PointXYZL>& cloud),
PCL_EXPORTS PCL_DEPRECATED (void savePNGFile (const std::string& file_name, const pcl::PointCloud<pcl::PointXYZL>& cloud),
"pcl::io::savePNGFile (file_name, cloud) is deprecated, please use a new generic function "
"pcl::io::savePNGFile (file_name, cloud, field_name) with \"label\" as the field name."
);
Expand Down
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 40e6127

Please sign in to comment.