Welcome to Fractal Forums

Fractal Art => Images Showcase (Rate My Fractal) => Topic started by: Fractal Ken on January 28, 2011, 08:10:20 AM




Title: Spirit World
Post by: Fractal Ken on January 28, 2011, 08:10:20 AM
(http://i1122.photobucket.com/albums/l540/Fractal_Ken/SpiritWorld1024.png)

Fractal generated by homemade software. It was colored by selecting pixels from an input photo: Animal Farm (http://www.flickr.com/photos/yndra/4244610690/) by Yndra (http://www.flickr.com/photos/yndra/) on Flickr. (I'm grateful to Yndra for licensing her work with Creative Commons.) I post-processed the nearly final image in GIMP.


Title: Re: Spirit World
Post by: yv3 on January 28, 2011, 09:05:16 AM
Honestly i don't like this image much, kinda too abstract for me. But i would like to understand how you map a pixel of the fractal to the pixel of the "overlay image"? You mailed me once regarding this, but i don't understood (maybe i was too quick and deleted your mail too fast). Please explain again. I would like to integrate this useful function into my tool.
BTW, haven't done much regarding yFractalExplorer last time, was playing Minecraft with my son :)


Title: Re: Spirit World
Post by: Fractal Ken on January 28, 2011, 05:54:20 PM
But i would like to understand how you map a pixel of the fractal to the pixel of the "overlay image"?

Hi, yv3! The photo isn't actually an overlay, but rather an input to the program: almost like a user-defined coloring formula.

OLD WAY

You must already have a method of determining the amount the red, green, and blue for each pixel of your output image. After performing some fractal calculations, you compute

   red = . . .        on a scale of 0 to 255
   green = . . .      on a scale of 0 to 255
   blue = . . .       on a scale of 0 to 255

NEW WAY

Let's say you have an input bitmap image with NROW rows and NCOL columns. You could write formulas

   row_number = . . .     on a scale of 1 to NROW
   col_number = . . .     on a scale of 1 to NCOL

Perform the fractal calculations for a particular output pixel, and then evaluate these two formulas. To color the pixel of your output image, just grab the RGB values from the pixel of your input image located at the computed row_number and col_number.

Regards,
Ken