Rank: 697 based on 193 downloads (last 30 days) and 3 files submitted
photo

Peter Corke

E-mail
Company/University
Queensland University of Technology
Lat/Long
-27.5, 153.0

Personal Profile:
Professional Interests:
robotics, computer vision

 

Watch this Author's files

 

Files Posted by Peter View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
14 Aug 2013 Screenshot MATLAB to Point Cloud Library matpcl is pure MATLAB code that allows interfacing with the Point Cloud Library (PCL) tools Author: Peter Corke data import, image processing, pcl, point cloud library, pcd 141 15
  • 4.42857
4.4 | 7 ratings
03 Apr 2013 Joystick MEX file Portable joystick MEX file using SDL Author: Peter Corke joystick, mex 34 6
19 Feb 2013 Option parser A generalized option parser for Toolbox functions Author: Peter Corke command line, argument parsing 18 1
Comments and Ratings by Peter View all
Updated File Comments Rating
31 Mar 2014 Joystick MEX file Portable joystick MEX file using SDL Author: Peter Corke

Bruno, could you share some details of the error messages.

11 Jun 2013 MATLAB to Point Cloud Library matpcl is pure MATLAB code that allows interfacing with the Point Cloud Library (PCL) tools Author: Peter Corke

Lauri, sorry to hear this is not working. I don't fully understand the lzfd logic, just transliterated it from another language and it worked ok on the compressed files I had. Can you share the file that caused the problem?

23 Mar 2013 MATLAB to Point Cloud Library matpcl is pure MATLAB code that allows interfacing with the Point Cloud Library (PCL) tools Author: Peter Corke

Thanks for the addition. regexp(... 'split') is a useful thing, I was looking for the equivalent of python's split() but didn't find this.

binary_compressed format next?

12 Mar 2013 MATLAB to Point Cloud Library matpcl is pure MATLAB code that allows interfacing with the Point Cloud Library (PCL) tools Author: Peter Corke

Thanks for pointing this out, I fixed the problem and uploaded a revised version of the code.

04 Nov 2012 FindJObj - find java handles of Matlab graphic objects Find java objects contained within a specified java container or Matlab GUI handle Author: Yair Altman

I've used this module successfully for many years, thanks.

With R2012b I've got problems:

jh = findjobj( slider, 'nomenu');
jh.AdjustmentValueChangedCallback = @(src,event)sliderCallbackFunc(src);

and the second line results in an error

Incorrect number of right hand side elements in dot name assignment. Missing [] around left hand side is a
likely cause.

Anybody else had related problems under R2012b.

Comments and Ratings on Peter's Files View all
Updated File Comment by Comments Rating
27 Jun 2014 Joystick MEX file Portable joystick MEX file using SDL Author: Peter Corke Abdelkader, Mohamed

How do you use it with the 'mex' function in MATLAB command line?
Thanks.

21 May 2014 Joystick MEX file Portable joystick MEX file using SDL Author: Peter Corke Abdelkader, Mohamed

It does not compile on 64 architecture, Mac

15 May 2014 MATLAB to Point Cloud Library matpcl is pure MATLAB code that allows interfacing with the Point Cloud Library (PCL) tools Author: Peter Corke Nahangi, Mohammad

17 Apr 2014 MATLAB to Point Cloud Library matpcl is pure MATLAB code that allows interfacing with the Point Cloud Library (PCL) tools Author: Peter Corke Jasper

Hi! Very useful when trying to use point clouds created with PCL in MATLAB. However, I have a couple of comments:
1.) The processing of RGBA values still does not work for my *.pcd files - also not with Rui's answer. I have noticed, that the A values actually are written BEFORE the RGB values, such that for me
A = double(bitand(255, bitshift(rgb, -24))); % A apparently is in front of RGB!
R = double(bitand(255, bitshift(rgb, -16)));
G = double(bitand(255, bitshift(rgb, -8)));
B = double(bitand(255, rgb));
is correct.

2.) There are problems when there are NaN-points in the cloud. I was able to correct the problems for ASCII files. When the read data is put into a single matrix, all values are cast to the same type. This can be a problem, since uint32(NaN) = 0! Therefore, make sure that this cast does not happen :)

07 Apr 2014 MATLAB to Point Cloud Library matpcl is pure MATLAB code that allows interfacing with the Point Cloud Library (PCL) tools Author: Peter Corke Enjo, Justin

I'm trying to create a PCD from a Mx3 matrix of surface XYZ Data. I keep getting the following error:

Undefined function or variable "fields".

Error in savepcd (line 110)
fprintf(fp, 'FIELDS %s\n', fields);

Any suggestions?

Contact us