Rank: 729 based on 100 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 Apr 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 92 8
  • 4.25
4.2 | 4 ratings
03 Apr 2013 Joystick MEX file Portable joystick MEX file using SDL Author: Peter Corke joystick, mex 5 1
19 Feb 2013 Option parser A generalized option parser for Toolbox functions Author: Peter Corke command line, argument parsing 3 1
Comments and Ratings by Peter View all
Updated File Comments Rating
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.

31 May 2012 Fast Possion equation solver Solves the Poisson equation using Successive Overrelaxation (SOR) with Chebyshev acceleration. Author: Evan Ruzanski

Worked right out of the box! I used it to regenerate an image based on its Laplacian.

I also tried

http://www.mathworks.com.au/matlabcentral/fileexchange/21472-2d-fast-poisson-solver

but I found that its documentation was less clear, the API inconvenient (I had to edit a file to get my function in) and I got a dynamic load error on some fft module which hung MATLAB, though I think this is a MATLAB problem not the contributed codes.

Comments and Ratings on Peter's Files View all
Updated File Comment by Comments Rating
30 Jun 2013 Option parser A generalized option parser for Toolbox functions Author: Peter Corke Muhammad

Hi.. Mr Peter
What is the function of Option parser?
Can you give the example that we have to use this function and the example that we don't need to use this function?

18 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 Choudhary, Siddharth

Hi Peter,

I get the error:

Index exceeds matrix dimensions.

Error in lzfd (line 59)
out(op:op+len-1) = out(ref:ref+len-1);

Error in loadpcd (line 188)
uncompressed_data = lzfd(compressed_data);

when I run loadpcd on a PCD file link: http://cogrob-dell-desktop.cc.gt.atl.ga.us/test.pcd

Can you check it?

Thanks,

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 Corke, Peter

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?

28 Apr 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

Hi,

lzfd.m (run by loadpcd.m) gives this error:

Index exceeds matrix dimensions.
Error in lzfd (line 59)
out(op:op+len-1) = out(ref:ref+len-1);

with this data (compressed binary): http://www.cs.tut.fi/~virtanel/skene2.pcd

Unfortunately I have no other datafiles to test nor time to debug lzfd myself.

19 Apr 2013 MATLAB to Point Cloud Library matpcl is pure MATLAB code that allows interfacing with the Point Cloud Library (PCL) tools Author: Peter Corke Wolf, Daniel

Thanks a lot for your helpful work!
I think I've found a small bug in the loadpcd function processing RGB values. When you split the 4th field into RGB or RGBA values, everytime you shift the field value in the wrong direction using bitshift. Instead of bitshift(rgb, 16) it should be bitshift(rgb, -16) for a right shift instead of a left shift.

Top Tags Applied by Peter
argument parsing, command line, data import, image processing, joystick
Files Tagged by Peter View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
14 Apr 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 92 8
  • 4.25
4.2 | 4 ratings
03 Apr 2013 Joystick MEX file Portable joystick MEX file using SDL Author: Peter Corke joystick, mex 5 1
19 Feb 2013 Option parser A generalized option parser for Toolbox functions Author: Peter Corke command line, argument parsing 3 1

Contact us