Logo by rathinagiri - Contribute your own Logo!

END OF AN ERA, FRACTALFORUMS.COM IS CONTINUED ON FRACTALFORUMS.ORG

it was a great time but no longer maintainable by c.Kleinhuis contact him for any data retrieval,
thanks and see you perhaps in 10 years again

this forum will stay online for reference
News: Did you know ? you can use LaTex inside Postings on fractalforums.com!
 
*
Welcome, Guest. Please login or register. April 16, 2024, 02:03:15 PM


Login with username, password and session length


The All New FractalForums is now in Public Beta Testing! Visit FractalForums.org and check it out!


Pages: [1] 2   Go Down
  Print  
Share this topic on DiggShare this topic on FacebookShare this topic on GoogleShare this topic on RedditShare this topic on StumbleUponShare this topic on Twitter
Author Topic: Non-parametric color mapping techniques  (Read 20136 times)
0 Members and 1 Guest are viewing this topic.
HPDZ
Iterator
*
Posts: 157


WWW
« on: January 05, 2009, 11:53:17 PM »

I've written a short comparison of the rank-ordering and histogram methods (and some other typical ones) of mapping counts to colors

http://www.hpdz.net/TechInfo_Colorizing.htm.

I made some test images and graphs showing the effect of each method on some different images. I call them "non-parametric" because they are not based on any analytic model of how the counts are distributed (e.g. linear, log); a similar name is used for statistical tests that do not assume how the data is distributed.

This is a follow-up to a conversation between Duncan C and me in a different thread. Continuing to go into more detail on this issue in that thread seemed to off-topic, so I am starting a new one here.
Logged

Zoom deeply.
www.hpdz.net
Duncan C
Fractal Fanatic
****
Posts: 348



WWW
« Reply #1 on: August 27, 2009, 03:01:02 AM »

HPDZ,

I only now found this post. Excellent article. Thanks for taking the time to write it.


Duncan C
Logged

Regards,

Duncan C
HPDZ
Iterator
*
Posts: 157


WWW
« Reply #2 on: September 21, 2009, 11:08:54 PM »

Duncan,

I just now found your reply. Glad you liked my article. Thanks for taking the time to read it.

Mike
Logged

Zoom deeply.
www.hpdz.net
johandebock
Explorer
****
Posts: 59



WWW
« Reply #3 on: February 11, 2010, 02:10:15 PM »

Thanks for the valuable info!
I implemented the Rank-Order Mapping mapping method in my Buddhabrot renderer from start.
Now I also included the Histogram Mapping.
Histogram Mapping produces much more detail in some images:

Rank-Order Mapping:


Histogram Mapping:

Logged

KRAFTWERK
Global Moderator
Fractal Senior
******
Posts: 1439


Virtual Surreality


WWW
« Reply #4 on: February 11, 2010, 03:36:02 PM »

Beautiful renders!   shocked
Logged

Tglad
Fractal Molossus
**
Posts: 703


WWW
« Reply #5 on: February 12, 2010, 01:41:23 AM »

Nice write up, it seems to be missing two points.
Firstly, what about when you want to zoom in on a fractal? With histogram or rank order mappings the colour for any point on the set will change as you zoom, which most people wouldn't want.
Secondly, it doesn't seem to consider repeating the palette as a solution. If you use a log measure on the count and repeat the palette then the image will hardly vary when you change the max iterations, and the colouring will stay the same when you zoom in and out.
Logged
reesej2
Guest
« Reply #6 on: March 21, 2010, 05:02:19 AM »

The color certainly does change as you zoom, which is a problem if you're progressing through the Mandelbrot set, trying to find an interesting spot. I've tried this color method myself and it's VERY nice, but I'd advise just using it to highlight details once you've found a spot you like. The problem with using a log measure is that, while it is possible to get an even distribution with that method, it requires fine-tuning the parameters for every image. Otherwise, certain sections end up flat and plain, while others are so chaotic they're just static.
Logged
Botond Kósa
Fractal Lover
**
Posts: 233



WWW
« Reply #7 on: April 14, 2010, 09:40:38 PM »

Hi Mike,

I've read your article on hpdz.net, and based on that idea I implemented rank-order mapping in my own Mandelbrot generator. I found that even rank-order mapping washes out the fine detail near the edges of the set. However, this can be corrected by transforming the output of the mapping (the [0,1] interval) with a function that also maps into [0,1], but has a higher differential at values near 1.

The first attached example shows a minibrot with standard rank-order coloring. On the second image I transformed the mapping with the function 1-sqrt(1-u). Using cube root or fourth root can increase the effect even further.

Botond


* rank_order.png (120.19 KB, 320x240 - viewed 2898 times.)

* rank_order_sqrt.png (116.63 KB, 320x240 - viewed 2952 times.)
Logged

Check out my Mandelbrot set explorer:
http://web.t-online.hu/kbotond/mandelmachine/
reesej2
Guest
« Reply #8 on: April 15, 2010, 12:27:25 AM »

Oh, interesting idea... it makes sense that rank-order wouldn't be the final word on the subject... I wonder if logarithms would help here, too. I've found that anywhere roots help, a logarithm helps even more.
Logged
kram1032
Fractal Senior
******
Posts: 1863


« Reply #9 on: April 15, 2010, 12:40:42 AM »

getting best out of all worlds smiley
Logged
Timeroot
Fractal Fertilizer
*****
Posts: 362


The pwnge.


WWW
« Reply #10 on: April 15, 2010, 01:28:46 AM »

One way to do it with logarithms would be with the function 1 + 1/(log(1-x)-1). This will still map [0,1] to [0,1] monotonically increasing, also with infinite derivative at x=1.
Logged

Someday, man will understand primary theory; how every aspect of our universe has come about. Then we will describe all of physics, build a complete understanding of genetic engineering, catalog all planets, and find intelligent life. And then we'll just puzzle over fractals for eternity.
ker2x
Fractal Molossus
**
Posts: 795


WWW
« Reply #11 on: September 27, 2010, 11:53:34 PM »

anyone have a mirror ? the website is down sad
Logged

often times... there are other approaches which are kinda crappy until you put them in the context of parallel machines
(en) http://www.blog-gpgpu.com/ , (fr) http://www.keru.org/ ,
Sysadmin & DBA @ http://www.over-blog.com/
blob
Strange Attractor
***
Posts: 272



« Reply #12 on: September 28, 2010, 12:26:46 AM »

Does not seem to be down from here. Try again.
Logged
ker2x
Fractal Molossus
**
Posts: 795


WWW
« Reply #13 on: September 28, 2010, 09:15:36 AM »

Does not seem to be down from here. Try again.

indeed, it's back for me too. thank you smiley
Logged

often times... there are other approaches which are kinda crappy until you put them in the context of parallel machines
(en) http://www.blog-gpgpu.com/ , (fr) http://www.keru.org/ ,
Sysadmin & DBA @ http://www.over-blog.com/
Sigillum Militum
Alien
***
Posts: 22


« Reply #14 on: April 03, 2012, 04:25:27 PM »

I'm glad you posted that. It's great to have such smart people here.
Logged
Pages: [1] 2   Go Down
  Print  
 
Jump to:  

Related Topics
Subject Started by Replies Views Last post
Some Buddhabrot questions / techniques Programming asimes 12 11812 Last post March 13, 2012, 05:00:36 PM
by ker2x
Mixing DE techniques Programming tryptophan 3 4709 Last post May 28, 2013, 03:04:47 AM
by tryptophan
Mandelbulb 3D - color-mapping question ("Fabergè Experiment") Help & Support m2001 1 569 Last post May 24, 2015, 01:25:01 PM
by m2001
Parametric color mapping techniques Programming bkercso 2 5322 Last post July 17, 2015, 02:20:35 AM
by bkercso
Better color/texture mapping options. feature request Weber 2 4867 Last post April 04, 2016, 04:35:04 PM
by MarkJayBee

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines

Valid XHTML 1.0! Valid CSS! Dilber MC Theme by HarzeM
Page created in 0.187 seconds with 27 queries. (Pretty URLs adds 0.011s, 2q)