Rank: 786 based on 172 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 55 2
06 May 2009 RGB2Lab Converts an image from the RGB color space to the CIELAB color space. Author: Mark Ruzon image processing, color 102 8
  • 2.66667
2.7 | 3 ratings
08 Dec 2008 REPLICATE Create a larger array by expanding each element of an array into a subarray. Author: Mark Ruzon matrices, repmat, replicate, tile 15 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
15 Jul 2014 RGB2Lab Converts an image from the RGB color space to the CIELAB color space. Author: Mark Ruzon jurakurd, surachet

12 May 2013 RGB2Lab Converts an image from the RGB color space to the CIELAB color space. Author: Mark Ruzon Atanas

how exactly to use this file (to check if it works with some pic), sry for the question, but I am new in this and I need color space segmentation with Lab color space

06 Dec 2012 RGB2Lab Converts an image from the RGB color space to the CIELAB color space. Author: Mark Ruzon Hyunsung

This file is actually sRGB to Lab? sorry i am confused

22 Oct 2012 RGB2Lab Converts an image from the RGB color space to the CIELAB color space. Author: Mark Ruzon Zaman, Tim

This assumes an sRGB color profile, most certianly not always the case.

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

Thank You!

Contact us