POV-Ray : Newsgroups : povray.unofficial.patches : post_process suggestions? Server Time
2 Sep 2024 18:21:31 EDT (-0400)
  post_process suggestions? (Message 51 to 58 of 58)  
<<< Previous 10 Messages Goto Initial 10 Messages
From: Chris Huff
Subject: Re: post_process suggestions?
Date: 3 May 2000 19:10:17
Message: <chrishuff_99-3649B7.18132903052000@news.povray.org>
In article <ie71hscr585hiohhurfjkp8bq9pe1ppnt5@4ax.com>, Peter Popov 
<pet### [at] usanet> wrote:

> www.gimp.org

Uh, right. Thanks. :-)

-- 
Christopher James Huff - Personal e-mail: chr### [at] yahoocom
TAG(Technical Assistance Group) e-mail: chr### [at] tagpovrayorg
Personal Web page: http://chrishuff.dhs.org/
TAG Web page: http://tag.povray.org/


Post a reply to this message

From: Glen Berry
Subject: Re: post_process suggestions?
Date: 4 May 2000 01:32:37
Message: <OAoROftXR6qd1ySUb3WprSIpKqpE@4ax.com>
On Wed, 03 May 2000 18:10:46 -0500, Chris Huff
<chr### [at] yahoocom> wrote:

>This sounds like it would best be done as a simple macro using 
>blur_matrix(which should probably be renamed to "convolution_matrix", 
>since it can do more than blurring and it seems to be the common name).

If you want, you could also shorten that to simply "convolve" and save
some typing. Since we are referring to a process and not an object,
the verb might also be more appropriate than the noun as well. 

Just an idea...
Glen

( Remove the "7" from 7no### [at] ezwvcom to email me. )


Post a reply to this message

From: Tom Melly
Subject: Re: post_process suggestions?
Date: 4 May 2000 12:12:37
Message: <3911a175@news.povray.org>
"Chris Huff" <chr### [at] yahoocom> wrote in message
news:chrishuff_99-80DFAD.19253627042000@news.povray.org...
> Does anyone have any suggestions for additional filters?

A GTran filter - makes your images look like Giles did them.


Post a reply to this message

From: Glen Berry
Subject: Re: post_process suggestions?
Date: 4 May 2000 13:34:17
Message: <vLMROTH8RQpXI=BKlhdeTYhui0Xe@4ax.com>
On Thu, 4 May 2000 17:12:33 +0100, "Tom Melly" <tom### [at] tomandluf9couk>
wrote:

>"Chris Huff" <chr### [at] yahoocom> wrote in message
>news:chrishuff_99-80DFAD.19253627042000@news.povray.org...
>> Does anyone have any suggestions for additional filters?
>
>A GTran filter - makes your images look like Giles did them.

While we are wishing for the impossible, I want the GTran+10 filter.
It makes your images look like a Giles rendering from 10 years into
the future. (He might be excellent now, but just imagine how great he
will be 10 years from now.) As a small side effect, it also speeds
your rendering time an amount equivalent to the speed increase of
computers in the next 10 years.

Later,
Glen Berry

( Remove the "7" from 7no### [at] ezwvcom to email me. )


Post a reply to this message

From: Glen Berry
Subject: Re: post_process suggestions?
Date: 4 May 2000 14:52:17
Message: <UcQROZw2W1joV6Ajm0U7uS80aIp5@4ax.com>
On Wed, 03 May 2000 18:10:46 -0500, Chris Huff
<chr### [at] yahoocom> wrote:

>> A better way to increase contrast would be to apply the
>> filter as I've specified it, then apply an S-curve-shaped correction
>> to stretch the midrange.
>
>I have been thinking about this...is there a "standard" curve used for 
>this, or should I just come up with something?

For what it's worth, here is one example of an S-curve:

    Output = 0.5-(cos(Input*pi)/2)

For this to work, both input and output need to be constrained between
0 and 1. It should work with other ranges of values with appropriate
scaling. The angular unit is expressed in radians, in this example.

This generates an S-Curve, but I'm not sure of an easy way to add
additional parameters and make it more flexible, without losing the
"S" shape.

This curve is also very similar to a generic representation of the
response curve of photgraphic film. It would need some modification to
work as a film response emulator, a subject I raised earlier. The
input range would need to accept those unclipped float values, and the
ouptput would need to be constrained to a range suitable for the
output file format. I'm not yet sure how to add the extra parameters
to do this properly.

Later,
Glen Berry

Later,
Glen Berry

( Remove the "7" from 7no### [at] ezwvcom to email me. )


Post a reply to this message

From: Chris Huff
Subject: Re: post_process suggestions?
Date: 4 May 2000 17:45:31
Message: <chrishuff_99-F97DDA.16484404052000@news.povray.org>
In article <UcQROZw2W1joV6Ajm0U7uS80aIp5@4ax.com>, Glen Berry 
<7no### [at] ezwvcom> wrote:

> For what it's worth, here is one example of an S-curve:
> 
>     Output = 0.5-(cos(Input*pi)/2)
> 
> For this to work, both input and output need to be constrained between
> 0 and 1. It should work with other ranges of values with appropriate
> scaling. The angular unit is expressed in radians, in this example.
> 
> This generates an S-Curve, but I'm not sure of an easy way to add
> additional parameters and make it more flexible, without losing the
> "S" shape.

This is certainly "a" S-curve, but I wanted to know if there is a 
formula for one which is considered the "standard", official or not...a 
possibly better solution would be a polynomial curve, or something 
similar to what I posted in .binaries.images a while back, where you 
could change it from an S-curve to a straight line to a 
backwards-S-curve, by modifying the exponent. This also makes a S shape, 
and the version I posted works with "out of range" values.


> This curve is also very similar to a generic representation of the
> response curve of photgraphic film. It would need some modification to
> work as a film response emulator, a subject I raised earlier.

This sounds like it would best be done with the "curves" filter I am 
planning, which takes a 3D spline or a color_map for the curve...

-- 
Christopher James Huff - Personal e-mail: chr### [at] yahoocom
TAG(Technical Assistance Group) e-mail: chr### [at] tagpovrayorg
Personal Web page: http://chrishuff.dhs.org/
TAG Web page: http://tag.povray.org/


Post a reply to this message

From: Glen Berry
Subject: Re: post_process suggestions?
Date: 4 May 2000 23:46:30
Message: <FUMSOZRek52TE5mBLKHN7VYeCs19@4ax.com>
On Thu, 04 May 2000 16:48:44 -0500, Chris Huff
<chr### [at] yahoocom> wrote:

>> This curve is also very similar to a generic representation of the
>> response curve of photgraphic film. It would need some modification to
>> work as a film response emulator, a subject I raised earlier.
>
>This sounds like it would best be done with the "curves" filter I am 
>planning, which takes a 3D spline or a color_map for the curve...

Splines sound like a good idea. I wasn't sure how elaborate you were
wanting to get. It would be really nice to be able to enter a series
of values (input vs output levels), and have the software generate a
smooth response curve from them.

Later,
Glen Berry

( Remove the "7" from 7no### [at] ezwvcom to email me. )


Post a reply to this message

From: Chris Huff
Subject: Re: post_process suggestions?
Date: 5 May 2000 08:39:56
Message: <chrishuff_99-59A043.07430905052000@news.povray.org>
In article <FUMSOZRek52TE5mBLKHN7VYeCs19@4ax.com>, Glen Berry 
<7no### [at] ezwvcom> wrote:

> Splines sound like a good idea. I wasn't sure how elaborate you were
> wanting to get. It would be really nice to be able to enter a series
> of values (input vs output levels), and have the software generate a
> smooth response curve from them.

That is what I am planning...but I am debating whether to use an 
internal spline(probably a cosine spline, maybe an optional cubic 
spline), or to use a color_map(easier, multiple "film types" can be 
declared in an include file and used in the "curves" filter, but I 
suspect only uses linear interpolation.).
Maybe a "blend_type" option should be added to _maps to switch between 
cosine, linear, cubic, etc. This would solve the problem with using 
color_maps, and make anything which uses color_maps, texture_maps, 
normal_maps, etc more flexible as well.

-- 
Christopher James Huff - Personal e-mail: chr### [at] yahoocom
TAG(Technical Assistance Group) e-mail: chr### [at] tagpovrayorg
Personal Web page: http://chrishuff.dhs.org/
TAG Web page: http://tag.povray.org/


Post a reply to this message

<<< Previous 10 Messages Goto Initial 10 Messages

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.