POV-Ray : Newsgroups : povray.binaries.images : colors from images Server Time
25 Dec 2024 21:08:09 EST (-0500)
  colors from images (Message 1 to 10 of 16)  
Goto Latest 10 Messages Next 6 Messages >>>
From: Norbert Kern
Subject: colors from images
Date: 12 May 2019 04:50:02
Message: <web.5cd7dcf95f630e5b3c1c78400@news.povray.org>
Hello,

here is my attempt to depict the colors in images (code in p.b.s-f.)
Here I used two popular movie posters - the upcoming John Wick 3 and last year's
Deadpool 2.

like John Wick gets a new look based on strong purples. A similar effect can be
seen at recent Avengers: Endgame posters.




Norbert


Post a reply to this message


Attachments:
Download 'image_colors.jpg' (814 KB)

Preview of image 'image_colors.jpg'
image_colors.jpg


 

From: William F Pokorny
Subject: Re: colors from images
Date: 12 May 2019 08:39:10
Message: <5cd813ee$1@news.povray.org>
On 5/12/19 4:44 AM, Norbert Kern wrote:
> Hello,
> 
> here is my attempt to depict the colors in images (code in p.b.s-f.)
> Here I used two popular movie posters - the upcoming John Wick 3 and last year's
> Deadpool 2.

> like John Wick gets a new look based on strong purples. A similar effect can be
> seen at recent Avengers: Endgame posters.
> 

> 
> 
> Norbert
> 
Neat!

Bill P.


Post a reply to this message

From: Bald Eagle
Subject: Re: colors from images
Date: 12 May 2019 11:20:01
Message: <web.5cd83964b81912f84eec112d0@news.povray.org>
"Norbert Kern" <nor### [at] t-onlinede> wrote:

> here is my attempt to depict the colors in images (code in p.b.s-f.)

Very nice.  These look better than what I was fooling with a while back.
I'll try to envision the function and the "color space" that you're graphing
this in - but it's too early and I've not had enough coffee yet.   ;)


> like John Wick gets a new look based on strong purples. A similar effect can be
> seen at recent Avengers: Endgame posters.

Hmmm.  I don't know much about this.  I've only seen some discussion of "color
matching" of film frames in the LOTR extended extras.   Is that the kind of
thing you're talking about?
"The usual"?  For what?  Most movies, or that series?




"A POV implementation...."   I'm not sure what you mean by that.
A way to force the color map to be limited to that range of colors?


Something interesting that I noticed with these two is that the top graph has a
ring of missing black, and the bottom one has the black present, and all the way
around.



http://news.povray.org/povray.advanced-users/thread/%3Cweb.5789343436e895bcb488d9aa0@news.povray.org%3E/

http://news.povray.org/povray.binaries.images/thread/%3Cweb.58cfc0cf857600e8c437ac910%40news.povray.org%3E/?mtop=422476


There was also another thread around that time where someone was processing
video and doing an animation of the color palette - can't find it at the moment.


Post a reply to this message

From: Jörg "Yadgar" Bleimann
Subject: Re: colors from images
Date: 12 May 2019 12:31:31
Message: <5cd84a63$1@news.povray.org>
On 12.05.19 10:44, Norbert Kern wrote:
> Hello,
> 
> here is my attempt to depict the colors in images (code in p.b.s-f.)
> Here I used two popular movie posters - the upcoming John Wick 3 and last year's
> Deadpool 2.

A color statistics visualization - very intriguing! A few years ago, I 
started to program in C++ a command-line image processor (yip, "Yadgar's 
Image Processor"), which, besides classic computer retro graphics 
filters (see the Max Canada Lynx adaptions on my YouTube, also is meant 
to do such displays, even for entire videos... currently, it's somewhat 
on halt as I intend to re-write the whole thing in C rather than C++.


> like John Wick gets a new look based on strong purples. A similar effect can be
> seen at recent Avengers: Endgame posters.


about two complementary colors (albeit not complementary in RGB color 
space)...

See you in Khyberspace!

Yadgar


Post a reply to this message

From: jr
Subject: Re: colors from images
Date: 13 May 2019 11:50:00
Message: <web.5cd99175b81912f8a2aab1e70@news.povray.org>
hi,

"Norbert Kern" <nor### [at] t-onlinede> wrote:
> here is my attempt to depict the colors in images (code in p.b.s-f.)

very nice.  I tried it with some images and got interesting renderings.  one
image though (png, 8-bit RGB) gives me a problem, it is an at-night photo of a
street and I expected mostly black spheres.  instead - nothing, no (visible)
spheres.  does the code not work with "black and white"?


regards, jr.


Post a reply to this message

From: Norbert Kern
Subject: Re: colors from images
Date: 13 May 2019 11:50:01
Message: <web.5cd99197b81912f83c1c78400@news.povray.org>
William F Pokorny <ano### [at] anonymousorg> wrote:

> Neat!
>
> Bill P.


Many thanks!
Its not trivial to depict points in a 3-dimensional space. Here I look on the
top of a cylinder, where the dark colors are far away and the bright ones don't
obscur the colors...


Norbert


Post a reply to this message

From: Leroy
Subject: Re: colors from images
Date: 13 May 2019 12:35:00
Message: <web.5cd99c9fb81912f84fe984260@news.povray.org>
> A color statistics visualization - very intriguing! A few years ago, I
> started to program in C++ a command-line image processor (yip, "Yadgar's
> Image Processor"), which, besides classic computer retro graphics
> filters (see the Max Canada Lynx adaptions on my YouTube, also is meant
> to do such displays, even for entire videos... currently, it's somewhat
> on halt as I intend to re-write the whole thing in C rather than C++.
>

  C???? Why go back?


Post a reply to this message

From: Norbert Kern
Subject: Re: colors from images
Date: 13 May 2019 13:00:00
Message: <web.5cd9a275b81912f83c1c78400@news.povray.org>
"Bald Eagle" <cre### [at] netscapenet> wrote:
> "Norbert Kern" <nor### [at] t-onlinede> wrote:
>
> > here is my attempt to depict the colors in images (code in p.b.s-f.)
>
> Very nice.  These look better than what I was fooling with a while back.
> I'll try to envision the function and the "color space" that you're graphing
> this in - but it's too early and I've not had enough coffee yet.   ;)
>

> > like John Wick gets a new look based on strong purples. A similar effect can be
> > seen at recent Avengers: Endgame posters.
>
> Hmmm.  I don't know much about this.  I've only seen some discussion of "color
> matching" of film frames in the LOTR extended extras.   Is that the kind of
> thing you're talking about?
> "The usual"?  For what?  Most movies, or that series?
>
>

>
> "A POV implementation...."   I'm not sure what you mean by that.
> A way to force the color map to be limited to that range of colors?
>
>
> Something interesting that I noticed with these two is that the top graph has a
> ring of missing black, and the bottom one has the black present, and all the way
> around.
>
>
>
>
http://news.povray.org/povray.advanced-users/thread/%3Cweb.5789343436e895bcb488d9aa0@news.povray.org%3E/
>
>
http://news.povray.org/povray.binaries.images/thread/%3Cweb.58cfc0cf857600e8c437ac910%40news.povray.org%3E/?mtop=4224
76
>
>
> There was also another thread around that time where someone was processing
> video and doing an animation of the color palette - can't find it at the moment.


Many thanks - I wasn't conscious about the second link - very interesting.
First I used a cubic space too, but hsl space is more convincing in the end.
Personally I use it as a tool to detect color errors in my images. Here is an
example with the last version of an old image of mine...

Because I render 16 bit png images, there aren't many defects as in 8 bit jpegs.
But what you mentioned, is something different. I included the web origins in
the source (p.b.s-f).
Perhaps the JW3 person didn't process the poster as heavily as the other one -
DP2.

"Orange-Teal" is one of the most common color-grading effects used at
movie-making or by professional photographers.
There are many variants like enhencing blue colors in shadows and orange ones in
highlights and a bit in midtones.

I made a pov version, which gave ugly results and I cannot even find the file...


Norbert


Post a reply to this message


Attachments:
Download 'i2c_vertraeumt.jpg' (658 KB)

Preview of image 'i2c_vertraeumt.jpg'
i2c_vertraeumt.jpg


 

From: Norbert Kern
Subject: Re: colors from images
Date: 13 May 2019 13:25:05
Message: <web.5cd9a7a7b81912f83c1c78400@news.povray.org>
"jr" <cre### [at] gmailcom> wrote:
> hi,

>
> very nice.  I tried it with some images and got interesting renderings.  one
> image though (png, 8-bit RGB) gives me a problem, it is an at-night photo of a
> street and I expected mostly black spheres.  instead - nothing, no (visible)
> spheres.  does the code not work with "black and white"?
>
>
> regards, jr.

Hmmh - I don't know, how a perfect black and white is depicted in hsl space.
Perhaps it is not a cylinder, but a double cone with black and white as single
points at top and bottom - but I don't think this is the case.

If you used extremely large images as input, you get very small spheres and if
you really have mostly black colors, you get an almost blank result. Perhaps it
helps, if you increase the sphere radius.

Norbert


Post a reply to this message

From: Norbert Kern
Subject: Re: colors from images
Date: 13 May 2019 14:35:01
Message: <web.5cd9b8a3b81912f83c1c78400@news.povray.org>
=?UTF-8?Q?J=c3=b6rg_=22Yadgar=22_Bleimann?= <yaz### [at] gmxde> wrote:

> A color statistics visualization - very intriguing! A few years ago, I
> started to program in C++ a command-line image processor (yip, "Yadgar's
> Image Processor"), which, besides classic computer retro graphics
> filters (see the Max Canada Lynx adaptions on my YouTube, also is meant
> to do such displays, even for entire videos... currently, it's somewhat
> on halt as I intend to re-write the whole thing in C rather than C++.

Sounds nice - can it be implemented in povray? ;-)



> about two complementary colors (albeit not complementary in RGB color
> space)...
>
> See you in Khyberspace!
>
> Yadgar

Orange-Teal look is a color-grading effect to emphasize blue colors in shadows
and orange colors at highlights. It can enhance an mediocre image a lot, if
applied carefully.
Here is a typical example -
http://server.felixhuesken.de/lgg_orangeteal/orange-teal_blockbuster_look_jurassicworld_color_grading.png
..

Norbert


Post a reply to this message

Goto Latest 10 Messages Next 6 Messages >>>

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