[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-patch-tracker] [patch #8713] image package: new color conversion
From: |
H. G. |
Subject: |
[Octave-patch-tracker] [patch #8713] image package: new color conversion functions: rgb2lab etc. |
Date: |
Mon, 10 Aug 2015 18:18:47 +0000 |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:39.0) Gecko/20100101 Firefox/39.0 |
URL:
<http://savannah.gnu.org/patch/?8713>
Summary: image package: new color conversion functions:
rgb2lab etc.
Project: GNU Octave
Submitted by: hardy
Submitted on: Mo 10 Aug 2015 18:18:46 GMT
Category: None
Priority: 5 - Normal
Status: None
Privacy: Public
Assigned to: None
Originator Email:
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
Details:
Here is a patch with several new color conversion functions:
rgb2xyz, xyz2rgb
xyz2lab, lab2xyz
rgb2lab, lab2rgb
Those functions are all new to Octave. I am the author and the algorithms are
taken from the (cited) book of Burger and Burge "Digitale Bildverarbeitung"
(2015). (There is an english version of the book as well.)
The functions are reasonably Matlab compatible. At some points in the code I
intentionally took a slightly less Matlab compatible approach, in order to
better fulfill the CIE standards with those functions. But for practical
purposes those functions are Matlab compatible.
All those functions use (a slightly adapted version of) the private funtions
colorspace_conversion_input_check.m and colorspace_conversion_revert.m
that Carne introduced recently to the color conversion functions in Octave
core. I have duplicated those two helper functions into the image package. You
have a more clever approach to this, just let me know.
I tried to follow the Octave coding styles, but I'm not sure I succeded with
it everywhere. Ther are also help texts, source references and a bunch of
tests included.
I would appreciate any feedback and would be happy to see those new functions
in the image package at some time :)
Hartmut
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Mo 10 Aug 2015 18:18:46 GMT Name:
new_colorconversion_functions_rgb2lab_etc.patch Size: 37kB By: hardy
patch with new color conversion functions
<http://savannah.gnu.org/patch/download.php?file_id=34620>
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/patch/?8713>
_______________________________________________
Nachricht gesendet von/durch Savannah
http://savannah.gnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Octave-patch-tracker] [patch #8713] image package: new color conversion functions: rgb2lab etc.,
H. G. <=