Fractals/kallesfraktaler

From Wikibooks, open books for an open world
Jump to navigation Jump to search

install[edit]

doc[edit]

files[edit]

jpg[edit]

kfc[edit]

kfb[edit]

These filea sre created:

  • when saving the jpg files, there is also a kfb file created for each image
  • save a map

Description:

  • "KFB files store raw uncompressed (ie huge but high quality) iteration data (the results of the fractal calculations before colouring is applied)." Claude at FF
  • "the KFB files are images used as maps to store iteration data. No location, palette, etc" youhn

kfd[edit]

kfr[edit]

Examples:

coloring methods[edit]

One can change it :

  • Main Menu / Actions/ Set Colors
  • keys: Ctrl+C


Available color methods are ( in main.cpp file line 256) :

  • Standard = Distance (Linear): Standard iteration band coloring
  • Square root: Iterations are squared before colors are appplied
  • Cubic root: Cube root is applied before colors
  • Logarithm: Logarithm is applied before colors = ColorMethod_Logarithm [1]: "ColorMethod_Logarithm is not DEM at all, it's escape time with non-linear transfer function."
  • Stretched: The palette is stretched over min-max iteration values
  • Distance: Distance Estimation : "ColorMethod_Distance* have some image processing (looking up iteration values of neighbouring pixels) to generate a pseudo-de colouring. It's not true DEM but looks pretty close sometimes."

Numbers describing methods ( variable m_nColorMethod) are changing between versions[2]


Code:

  • file fraktal_sft.cpp
  • variable m_nColorMethod
  • functions:
    • CFraktalSFT::SetColorMethod
    • void CFraktalSFT::SetColor
    • CFraktalSFT::OpenFile
    • CFraktalSFT::SaveFile


tools[edit]

references[edit]

  1. fractalforums : distance-logarithm-test
  2. fractalforums : kalles-fraktaler/backwards-compatibility