GithubHelp home page GithubHelp logo

rgbd-object-propsal's People

Contributors

phoenixnn avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

rgbd-object-propsal's Issues

error when run Superpixel2Bbox.m

this error occur ๏ผš

>> Superpixel2Bbox
processing image 1
OK!
OK!
OK!
OK!
# of masks from multi-scale segmentation: 912
clusterTolerance is set to 0.02
loaded 107358 data points for image 1
src/segmentations/m_pcd_clustering.out: symbol lookup error: src/segmentations/m_pcd_clustering.out: undefined symbol: _ZN3pcl6search6KdTreeINS_8PointXYZENS_11KdTreeFLANNIS2_N5flann9L2_SimpleIfEEEEEC1Eb
Error using load
Unable to read file './clusters_1.txt': no such file or directory.

Error in HierClustering (line 53)
    clusters = load(fullfile('./', txtFile));

Error in Superpixel2Bbox (line 101)
   [bbox_hc, masksHC_cell] = HierClustering(pcd, clusterTolerance, inliers, isV, isH, isB, i);

in HierClustering.m

%% clustering
segMasks = [];
clusterTolerance = clusterTolerance/100; % use meters
for i = 1 : numel(clusterTolerance)
    % euclidean clustering
    system(sprintf('src/segmentations/m_pcd_clustering.out %s %d %d', ...
                   pcdFile, clusterTolerance(i), pid));
    % read in result from text file
    txtFile = ['clusters_', num2str(pid), '.txt'];
    clusters = load(fullfile('./', txtFile));
    % save mask
    nC = max(clusters);
    for j = 1 : nC
        tmp = zeros(h, w);
        idx = ind(clusters == j);
        tmp(idx) = 1;
        mask = cell(1,1);
        mask{1,1} = find(tmp);
        segMasks = cat(1, segMasks, mask);
    end
    system(['rm ./', txtFile]);
end

File m_pcd_clustering.out dont read pcd file as expected

Dear folks, please need some help. Im trying run the code, but when I run Superpixel2Bbox.m, a error appears in m_pcd_clustering.out call.

Line:

system(sprintf('src/segmentations/m_pcd_clustering.out %s %d %d', ...
                   pcdFile, clusterTolerance(i), pid));

Error: [pcl::PCDReader::readHeader] Could not find file '1.pcd'

Calling apart this file on terminal:

zis@Zis:~/dev/code/RGBD-object-propsal/src/segmentations$ ./m_pcd_clustering.out 1.pcd
clusterTolerance is set to 0.01
[pcl::PCDReader::readHeader] Could not find file '1.pcd'.
loaded 0 data points for image 1
Segmentation fault

1.pcd are located on folder, I tried many possibilities, tried with PCL 1.7, 1.8, 1.9, but with no success. Tried too open 1.pcd on pcl_viewer, with success, tried call m_pcd_clustering.out with another pcd file, different directories, permissions calls, but no luck.

Anyone have the source code of file m_pcd_clustering.out? I think rebuilding this file on current S.O. libraries can solve this problem, or at least, I can debug to fix what is going on. Anyone got this problem too?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.