Rank: 214 based on 267 downloads (last 30 days) and 3 files submitted
photo

Mark Ruzon

E-mail
Company/University
A9.com

Personal Profile:
Professional Interests:
computer vision, image processing, fundamentals of programming

 

Watch this Author's files

 

Files Posted by Mark View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
06 May 2009 Lab2RGB Converts an image from the CIELAB color space into the RGB color space. Author: Mark Ruzon color, image processing 90 2
06 May 2009 RGB2Lab Converts an image from the RGB color space to the CIELAB color space. Author: Mark Ruzon color, image processing 171 5
08 Dec 2008 REPLICATE Create a larger array by expanding each element of an array into a subarray. Author: Mark Ruzon matrices, replicate, repmat, tile 6 5
  • 4.0
4.0 | 1 rating
Comments and Ratings by Mark View all
Updated File Comments Rating
08 May 2009 RGB2Lab Converts an image from the RGB color space to the CIELAB color space. Author: Mark Ruzon

What native MATLAB implementation? I see lab2double but not the reverse.

08 Dec 2008 REPLICATE Create a larger array by expanding each element of an array into a subarray. Author: Mark Ruzon

This is a more elegant and faster solution for the 2D case. The next version of the file will have this solution. Unfortunately, KRON gives 2D results when Y is 3D, so a different approach is needed in the 3D case.
A = reshape(1:6,[1 3 2]);
S = [2 2 2];
A(kron(reshape(1:numel(A),size(A)),ones(S)))
replicate(A,S)

05 Dec 2008 REPLICATE Create a larger array by expanding each element of an array into a subarray. Author: Mark Ruzon

KRON works for floats and doubles but not integral types, structs, or cell arrays. KRON relies on multiplication, while REPLICATE uses only indexing, thus making it more flexible.

Comments and Ratings on Mark's Files View all
Updated File Comment by Comments Rating
13 Dec 2011 RGB2Lab Converts an image from the RGB color space to the CIELAB color space. Author: Mark Ruzon Sh, Faranak

Thank You!

13 Dec 2011 Lab2RGB Converts an image from the CIELAB color space into the RGB color space. Author: Mark Ruzon Sh, Faranak

Thank You!

06 Apr 2011 RGB2Lab Converts an image from the RGB color space to the CIELAB color space. Author: Mark Ruzon Zaman, Tim

you can only successfully convert if you know what color profile [RGB] is used. I guess you took sRGB?

15 Sep 2010 Lab2RGB Converts an image from the CIELAB color space into the RGB color space. Author: Mark Ruzon rahman, PUST

Very helpful...Thank you...

07 Jan 2010 RGB2Lab Converts an image from the RGB color space to the CIELAB color space. Author: Mark Ruzon Lau, Abe

I guess "makecform" is the native command Uwe was referencing to

Top Tags Applied by Mark
color, image processing, matrices, replicate, repmat
Files Tagged by Mark View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
06 May 2009 Lab2RGB Converts an image from the CIELAB color space into the RGB color space. Author: Mark Ruzon color, image processing 90 2
06 May 2009 RGB2Lab Converts an image from the RGB color space to the CIELAB color space. Author: Mark Ruzon color, image processing 171 5
08 Dec 2008 REPLICATE Create a larger array by expanding each element of an array into a subarray. Author: Mark Ruzon matrices, replicate, repmat, tile 6 5
  • 4.0
4.0 | 1 rating

Contact us at files@mathworks.com