Rank: 1633 based on 96 downloads (last 30 days) and 5 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/


 

Watch this Author's files

 

Files Posted by Cris Luengo View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
13 Jul 2012 cell2str Convert 2-D cell array into evaluable string Author: Cris Luengo cell array, numeric array, string, eval, convert, conversion 15 2
  • 3.0
3.0 | 1 rating
24 Feb 2012 Adjust PDF page MATLAB writes figures to PDF files as a full page. This function corrects that. Author: Cris Luengo print, publish, pdf, figure, graph 16 0
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 15 0
13 Apr 2010 Screenshot prettyplot Prettier line plots with markers. Author: Cris Luengo plot, graph, line, marker 6 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 image analysis, image processing, snake, active contour, balloon force, segmentation 44 4
  • 5.0
5.0 | 1 rating
Comments and Ratings by Cris Luengo View all
Updated File Comments Rating
21 Sep 2012 Snakes with class Implementation of snakes using a class to enable automatic display of the snake over an image. Author: Cris Luengo

Isabel,

If you have your images already read into MATLAB, you can directly use them as input to DIPimage toolbox functions. To convert a MATLAB array to a DIPimage image object, use the function `dip_image`.

Alternatively, if you install the Bio-Formats library, as explained in one of the notes in the help for the `readim` function, you'll be able to read in DICOM files directly as DIPimage images.

Hope this helps!

15 Jul 2012 PSNR (Image Processing) PSNR of two images Author: Abhinava Kundu

Not a good example of good programming!

You can do exactly the same with:

X = double(X);
Y = double(Y);
m = sum((X(:)-Y(:)).^2) / prod(size(X));
psnr = 10*log10(255*255/m);

However, instead of assuming the peak is 255, you should use max(X(:)) as the peak.

13 Jul 2012 cell2str Convert 2-D cell array into evaluable string Author: Cris Luengo

Now also works for cell arrays containing other cell arrays.

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...

Comments and Ratings on Cris Luengo's Files View all
Updated File Comment by Comments Rating
21 Sep 2012 Snakes with class Implementation of snakes using a class to enable automatic display of the snake over an image. Author: Cris Luengo Isabel

21 Sep 2012 Snakes with class Implementation of snakes using a class to enable automatic display of the snake over an image. Author: Cris Luengo Cris Luengo

Isabel,

If you have your images already read into MATLAB, you can directly use them as input to DIPimage toolbox functions. To convert a MATLAB array to a DIPimage image object, use the function `dip_image`.

Alternatively, if you install the Bio-Formats library, as explained in one of the notes in the help for the `readim` function, you'll be able to read in DICOM files directly as DIPimage images.

Hope this helps!

20 Sep 2012 Snakes with class Implementation of snakes using a class to enable automatic display of the snake over an image. Author: Cris Luengo Isabel

Dear Cris,

I'm working with MRI images in 3D and I have my pile of images in a "images.mat" how can I read the images with the DIP image toolbox? the original format of the images is .dcm

Thank you

13 Jul 2012 cell2str Convert 2-D cell array into evaluable string Author: Cris Luengo Cris Luengo

Now also works for cell arrays containing other cell arrays.

28 Jul 2011 cell2str Convert 2-D cell array into evaluable string Author: Cris Luengo Julien Gaugaz

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.

Contact us