• July 24, 2021, 07:57:17 PM

Login with username, password and session length

Author Topic: (Kalles Fraktaler) analytic log(DE) post-processed with ImageMagick  (Read 367 times)

0 Members and 1 Guest are viewing this topic.

Offline claude

  • Uploader
  • *
  • Posts: 1937
    • mathr.co.uk
(Kalles Fraktaler) analytic log(DE) post-processed with ImageMagick
« on: March 30, 2018, 02:34:37 AM »
Mandelbrot set, power 2.  Magnification 7E7 near 1/3 child of 1/3 child of ... 1/3 child of cardioid.  Inspired by Dinkydau's "density near the cardioid" series.

log(DE) colouring, with black far exterior, then rainbow from red to violet, with white interior (none visible).

analytic (derivative-based) DE with jitter, single frame rendered at 6480x9360 with KF-2.13.1 test version (unreleased)

post-processed with ImageMagick to reduce noise and enhance colours:
Code: [Select]
convert dense-large.png -depth 16 \
  -colorspace RGB -channel RGBK -normalize  -blur 7x2 \
  -colorspace YUV -equalize -colorspace RGB -blur 7x2 -resize 50% \
  -colorspace YUV -equalize -colorspace RGB -blur 7x2 -resize 50% \
  -colorspace YUV -equalize -colorspace RGB -blur 7x2 -resize 50% \
  -colorspace YUV -equalize -colorspace RGB -blur 7x2 -resize 50% \
  -colorspace sRGB -depth 8 dense-equalize-yuv.png

excerpt.png is 1:1 rendered pixels straight from KF, cropped to central region

larger version is rendering now, raw image data will be 4x4 frames at 6480x9360 with stratified jitter


Linkback: https://fractalforums.org/index.php?topic=1118.0

Offline gerrit

  • 3f
  • ******
  • Posts: 2448
Re: analytic log(DE) post-processed with ImageMagick
« Reply #1 on: March 30, 2018, 07:20:46 AM »
What does the postprocessing do?

Offline claude

  • Uploader
  • *
  • Posts: 1937
    • mathr.co.uk
Re: analytic log(DE) post-processed with ImageMagick
« Reply #2 on: March 30, 2018, 07:33:56 AM »
convert # imagemagick program
dense-large.png # read input file
-depth 16 # convert to 16bit
-colorspace RGB -channel RGBK -normalize # convert to linear RGB colourspace (presumably from sRGB with non-linear gamma) and normalize channels (each channel is normalized individually/separately, this changes hues in general)
-blur 7x2 # separable Gaussian blur with radius 7 and sigma 2
-colorspace YUV -equalize -colorspace RGB -blur 7x2 -resize 50% # convert to YUV colour space, perform histogram equalization (of each channel separately, afaik), convert to linear RGB colour space, blur, downscale: these steps are repeated a few times
-colorspace sRGB -depth 8 # convert to 8-bit sRGB (typical colour space for web images)
dense-equalize-yuv.png # save output file

the intent is to equalize colours in a perceptual colour space (YUV) while avoiding noise (by blurring) and avoiding desaturation from blur/downscaling (this is why the equalize/blur/resize 50% is repeated instead of doing it all at once)

without equalization (just gamma-correct downscaling) it looks like the attached.  with typical gimp downscale (not gamma correct) it looks similar, but darker
see https://web.archive.org/web/20121223021721/http://www.4p8.com/eric.brasseur/gamma.html

Offline claude

  • Uploader
  • *
  • Posts: 1937
    • mathr.co.uk
Re: analytic log(DE) post-processed with ImageMagick
« Reply #3 on: April 03, 2018, 07:00:04 AM »
here's a higher resolution version post-processed with custom C code (two programs, one for tile assembly beating the 2G element limit of GNU Octave, another for in-place image equalisation beating ImageMagick's excess memory usage).

colours don't look as good as the ImageMagick version imo, still experimenting...


xx
"Time Span"

Started by cricke49 on Fractal Image Gallery

0 Replies
1079 Views
Last post August 02, 2018, 07:05:21 AM
by cricke49
xx
OpenGL font rendering

Started by sjhalayka on Programming

2 Replies
514 Views
Last post April 20, 2020, 05:00:47 PM
by sjhalayka
clip
A new style of fractal imagery using fractal neural style transfer

Started by iRyanBell on Fractal Image Gallery

4 Replies
1179 Views
Last post July 18, 2021, 03:47:45 AM
by Chris_M_Thomasson
clip
analytic DE for skewed images

Started by claude on Kalles Fraktaler

4 Replies
482 Views
Last post April 19, 2018, 08:50:39 AM
by claude
clip
analytic slopes / directional DE

Started by claude on Kalles Fraktaler

0 Replies
283 Views
Last post September 11, 2019, 08:49:30 PM
by claude