-
Recent Posts
Recent Comments
Archives
- September 2019
- August 2019
- July 2019
- April 2019
- March 2019
- November 2018
- October 2018
- September 2018
- August 2018
- March 2018
- February 2018
- January 2018
- December 2017
- November 2017
- September 2017
- August 2017
- July 2017
- June 2017
- May 2017
- February 2017
- January 2017
- November 2016
- February 2014
- January 2014
- December 2013
- November 2013
- October 2013
- September 2013
- August 2013
- May 2013
- April 2013
- March 2013
- February 2013
- January 2013
- December 2012
- November 2012
- October 2012
- September 2012
- August 2012
- July 2012
- June 2012
- May 2012
- April 2012
Categories
Meta
Monthly Archives: January 2014
class MakeScreenImage – the code
class MakeScreenImage{ Vector[] mappedVectors; // needs our improved class Vector MakeScreenImage(){ } // often images result from two steps: first a transformation maps the pixel position Vector mapVector(float i,float j){ Vector … Continue reading
Fast images with the class MakeScreenImage
We can create high quality image files of high-resolution using cubic pixel interpolation and anti-aliasing as discussed in “Interpolation of pixels” and “Smoothing and anti-aliasing“. But this takes a lot of time and is not suitable for on-screen images. Instead … Continue reading
two circles
Lately I have played around with inversion at circles trying to find some new kind of fractals. Thus I found a simple mapping that gives interesting designs. They are not fractal, instead overlapping circles appear. Inversion at a single circle … Continue reading
Posted in Extra, Fractals
Tagged concrete art, dynamics, geometric art, inversion, inversive geometry, Iterated function, iteration
Leave a comment
class MakeOutputImage – the code
// this class is a framework for generating output images //needs the class ProgressReport class MakeOutputImage{ ProgressReport progress; PImage thisImage; int thisWidth, thisHeight; int rot,gruen,blau; int startTime,lastTime; int[] inRed,inGreen,inBlue; int[] redPlus,redZero,redMinus; … Continue reading
Posted in programming
Tagged aliasing, anti-aliasing, image processing, processing, programming
Leave a comment
class MakeOutputImage with anti-aliasing
In the earlier post “Smoothing and anti-aliasing” I discussed how to smooth images and reduce aliasing.This is an important part of the class MakeOutputImage. This class is rather a template for programming and not a finished module. You find its … Continue reading
Posted in Extra, programming
Tagged aliasing, anti-aliasing, image processing, programming, smoothing images
Leave a comment
class ProgressReport – the code
class ProgressReport{ int startTime,lastTime,end; String message; ProgressReport(int e,String m){ // task goes from 0 to e, m is a message end=e; message=m; } void reset(){ startTime=millis(); lastTime=startTime; } … Continue reading
The class ProgressReport
This is nothing great, just one of my little helpers. It may take a lot of time to make a high resolution output image of say 6000×6000 pixels with anti-aliasing and cubic interpolation. Then we need some information on the … Continue reading
Smoothing and anti-aliasing
Aliasing arises if you want to show a structure that varies rapidly within the distance between pixels. Then you will see artefacts that are quite different. We can use this to get new strange images such as I showed in … Continue reading
Posted in Extra, programming
Tagged aliasing, anti-aliasing, image processing, programming, smoothing images
Leave a comment
ColorLookup – the code
// looks up the color in the PImage input at position of vector here // in pixel coordinates // use a fitting Coordinates(input) object to transform image coordinates to pixel coordinates class ColorLookup{ int thisWidth, thisHeight; float xLength,yLength,xPeriod,yPeriod; … Continue reading