Rank: 1534 based on 41 downloads (last 30 days) and 4 files submitted
photo

Cris Luengo

E-mail
Company/University
UU/SLU
Lat/Long
59.84012985229492, 17.64894485473633

Personal Profile:

http://www.cb.uu.se/~cris/blog/

Professional Interests:
Image analysis

 

Watch this Author's files

 

Files Posted by Cris View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
12 Aug 2010 cell2str Convert 2-D cell array into evaluable string Author: Cris Luengo eval, cell array, string, numeric array, convert, conversion 2 1
  • 3.0
3.0 | 1 rating
20 Jul 2010 Kernel decomposition This function does the decomposition of a separable nD kernel into its 1D components. Author: Cris Luengo image processing, convolution, separable convolution, separable kernel, filter, nd 7 0
13 Apr 2010 Screenshot prettyplot Prettier line plots with markers. Author: Cris Luengo plot, graph, line, marker 8 2
  • 5.0
5.0 | 3 ratings
17 Dec 2009 Screenshot Snakes with class Implementation of snakes using a class to enable automatic display of the snake over an image. Author: Cris Luengo active contour, image processing, image analysis, snake, balloon force, segmentation 24 2
Comments and Ratings by Cris View all
Updated File Comments Rating
09 Feb 2012 mmread Read virtually any media file in Windows, Linux, or Mac. Author: Micah Richert

Works straight out of the box. Simply fantastic, as I've had so many headaches trying to read video data in MATLAB on Linux!

13 Jan 2011 On The Kernel Function Selection Of Nonlocal Filtering For Image Denoising On The Kernel Function Selection Of Nonlocal Filtering For Image Denoising Author: Kanchi

The PDF file that you've included in the submission is copyrighted by the IEEE. You do not have the right to post that here. The MathWorks might be liable for hosting this file...

13 Jan 2011 MATLAB Goto Statement The one and only. Author: Husam Aldahiyat

@Malcom:
You can put an "if 0"/"else"/"end" around the two blocks of code. Flipping the 0 to 1 for the first run, then back to 0 to fiddle with the printout. I do that all the time.

@Rody:
Even with sloppy, quick-n-dirty, messy, one-time-use-only, etc. etc. code, it is much, much, much simpler to use normal flow control than using the GOTO statement. I'm not against the GOTO statement, it wouldn't hurt if MATLAB came with one, but it has very limited uses, mainly in recovering from errors. Actually, considering how well the TRY/CATCH thing works, it might not even be useful there...

Having said that, this submission is well written, and shows some interesting uses of MATLAB functionality. I would never have thought that such a function would be possible.

24 Nov 2010 ismatrix1 Work-around for error in built-in function ismatrix (2010b). Only returns 1 for matrices Author: Carey Smith

ismatrix does what the documentation says it does. It seems to not do what you want it to do. I don't see how that's an error.
"ismatrix(V) returns logical 1 (true) if size(V) returns [m n] with nonnegative integer values m and n, and logical 0 (false) otherwise."

18 Oct 2010 Summarizes data using a sliding window without loops This function is extremely fast calculating a sum, mean, etc, using no loops. Author: Jeff Burkey

   conv(data,ones(N,1),'valid');
does the same as
   sum(data(repmat(0:N-1,L-N+1,1)+cumsum(ones(L-N+1,N))),2)
but is 2 orders of magnitude faster (tested on a 1x1e6 data array).

Sure, that doesn't generalize to things other than mean or sum (but note that std and var can be built using the mean filter). Your function is still useful for the median, for example.

Comments and Ratings on Cris' Files View all
Updated File Comment by Comments Rating
28 Jul 2011 cell2str Convert 2-D cell array into evaluable string Author: Cris Luengo Gaugaz, Julien

Works great for flat cell arrays, but doesn't work for cell-arrays containing other cell-arrays, e.g.:
>> utils.cell2str({{1}})
??? Error using ==> cell2str at 64
Illegal value in cell array.

28 Feb 2011 prettyplot Prettier line plots with markers. Author: Cris Luengo Aldahiyat, Husam

Great function!

14 Oct 2010 Snakes with class Implementation of snakes using a class to enable automatic display of the snake over an image. Author: Cris Luengo Luengo, Cris

Vivek,

It's explained in the README file inside the ZIP that you download here. You need to install DIPimage (from http://www.diplib.org/). Then copy the two M-files "snakeminimize.m" and "dip_snake.m" to the "dip/common/dipimage/" directory and the M-file "private/paramtype_snake.m" to "dip/common/dipimage/private/". You might need to CLEAR FUNCTIONS before you can use these functions.

Please let me know what it is that is not working!

Cris.

14 Oct 2010 Snakes with class Implementation of snakes using a class to enable automatic display of the snake over an image. Author: Cris Luengo Vivek

hi,
i'm having Matlab 7.8.0 R2009 in windows platform, could you please let me know, how to run this file?

18 Jun 2010 prettyplot Prettier line plots with markers. Author: Cris Luengo Kylberg, Gustaf

I was looking for an alternative to the Matlab function plot to solve this specific problem with lines on top of markers, so thank you! Funny that I found your function via Matlab Fileexchange when you have written the function "inhouse" =)

Top Tags Applied by Cris
image processing, active contour, balloon force, cell array, conversion
Files Tagged by Cris View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
12 Aug 2010 cell2str Convert 2-D cell array into evaluable string Author: Cris Luengo eval, cell array, string, numeric array, convert, conversion 2 1
  • 3.0
3.0 | 1 rating
20 Jul 2010 Kernel decomposition This function does the decomposition of a separable nD kernel into its 1D components. Author: Cris Luengo image processing, convolution, separable convolution, separable kernel, filter, nd 7 0
13 Apr 2010 Screenshot prettyplot Prettier line plots with markers. Author: Cris Luengo plot, graph, line, marker 8 2
  • 5.0
5.0 | 3 ratings
17 Dec 2009 Screenshot Snakes with class Implementation of snakes using a class to enable automatic display of the snake over an image. Author: Cris Luengo active contour, image processing, image analysis, snake, balloon force, segmentation 24 2

Contact us at files@mathworks.com