List Info

Thread: HDR filtering




HDR filtering
country flaguser name
Canada
2007-03-04 23:47:45
Hi

I am interested in writing a filter for dealing specifically
with hdr 
images. I downloaded
cinepaint-0.22-0_rc4.tar.gz and built it on Fedora Core 6
and modified 
the unsharp plugin to get my feet wet. I am medical imaging
researcher 
during the day.

I do get an image but I realize that I do not understand how
a plugin 
like unsharp deals with different image types. All of the
data pointer 
are of the type
guchar  *cur_col;
guchar  *dest_col;
guchar  *cur_row;

 I am puzzled as to how this code works for all of the data
types 
supported in cinepaint. In C, I would have expected the need
to cast 
data pointers to unsigned short or float etc and yet this
just seems to 
work magically for all images. In C++, I would have expected
to see 
templates or function overloading.  There is no reference to
colour at 
all in this code either so does it just get called on each
colour 
channels or I am working in a colour different
representation and 
dealing with intensity?

I hope that you will not find these questions too naive but
I mostly 
work with greyscale images in my world.

Regards

------------------------------------------------------------
-------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the
chance to share your
opinions on IT & business topics through brief
surveys-and earn cash
http://www.techsay.com/default.
php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Cinepaint-developers mailing list
Cinepaint-developerslists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ci
nepaint-developers

Re: HDR filtering
user name
2007-03-05 02:43:17
Does the following brings you further (?):
http://cinepaint.bigasterisk.com/GIMPPlugInQuickPortGui
de
The blur.c plug-in is a often refered one because of its
simplicity.

libcinepaint dont provides templates or any C++ stuff for
the Gtk version.
The plug-in needs to handle sample types, pixel layouts and
colour spaces 
by its own. 

A generic float - possibly pixel - representation was
discussed in the 
past but not followed upon for this development branch.

kind regards
Kai-Uwe Behrmann
--
development for color management 
www.behrmann.name + www.oyranos.org + www.cinepaint.org


Am 05.03.07, 00:47 -0500 schrieb Normand Robert:

> Hi
> 
> I am interested in writing a filter for dealing
specifically with hdr 
> images. I downloaded
> cinepaint-0.22-0_rc4.tar.gz and built it on Fedora Core
6 and modified 
> the unsharp plugin to get my feet wet. I am medical
imaging researcher 
> during the day.
> 
> I do get an image but I realize that I do not
understand how a plugin 
> like unsharp deals with different image types. All of
the data pointer 
> are of the type
> guchar  *cur_col;
> guchar  *dest_col;
> guchar  *cur_row;
> 
>  I am puzzled as to how this code works for all of the
data types 
> supported in cinepaint. In C, I would have expected the
need to cast 
> data pointers to unsigned short or float etc and yet
this just seems to 
> work magically for all images. In C++, I would have
expected to see 
> templates or function overloading.  There is no
reference to colour at 
> all in this code either so does it just get called on
each colour 
> channels or I am working in a colour different
representation and 
> dealing with intensity?
> 
> I hope that you will not find these questions too naive
but I mostly 
> work with greyscale images in my world.
> 
> Regards
> 

------------------------------------------------------------
-------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the
chance to share your
opinions on IT & business topics through brief
surveys-and earn cash
http://www.techsay.com/default.
php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Cinepaint-developers mailing list
Cinepaint-developerslists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ci
nepaint-developers

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )