What's all this, then?
open-menu closeme
All posts
About
Home
Tags
github twitter linkedin facebook rss
  • Image dithering: a very simple error diffusion matrix

    calendar Jul 10, 2023 · 1 min read · julia image-processing  ·
    Share on: twitter facebook linkedin copy

    We have seen a number of different error diffusion matrices (and there are others we haven't discussed); the simplest of our matrices has been "Sierra Lite"

    \[\frac{1}{4}\begin{bmatrix} 0& *& 2\\ 1& 1& 0 \end{bmatrix}\]

    However, there is an even simpler one which seems to give very good …


    Read More
  • Image dithering: a very simple error diffusion matrix

    calendar Jul 10, 2023 · 1 min read · julia image-processing  ·
    Share on: twitter facebook linkedin copy

    We have seen a number of different error diffusion matrices (and there are others we haven't discussed); the simplest of our matrices has been "Sierra Lite"

    \[\frac{1}{4}\begin{bmatrix} 0& *& 2\\ 1& 1& 0 \end{bmatrix}\]

    However, there is an even simpler one which seems to give very good …


    Read More
  • Image dithering (2): error diffusion

    calendar Jul 8, 2023 · 4 min read · julia image-processing  ·
    Share on: twitter facebook linkedin copy
    A totally different approach to dithering is error diffusion. Here, the image is scanned pixel by pixel. Each pixel is thresholded t0 1 or 0 depending on whether the pixel value is greater than 0.5 or not, and the error - the difference between the pixel value and its threshold - is diffuse across neighbouring …
    Read More
  • Image dithering (1): half toning

    calendar Jul 7, 2023 · 2 min read · julia image-processing  ·
    Share on: twitter facebook linkedin copy
    Image dithering, also known as half-toning, is a method for reducing the number of colours in an image, while at the same time trying to retain as much of its "look and feel" as possible. Originally this was required for newspaper printing, where no shades of grey were possible, and only black and white …
    Read More
  • The Pegasus and related methods for solving equations

    calendar Jul 6, 2023 · 3 min read · mathematics julia computation  ·
    Share on: twitter facebook linkedin copy

    In the previous post, we saw that a small change to the method of false position provided much faster convergence, while retaining its bracketing.

    This was the Illinois method which is only one of a whole host of similar methods, some of which converge even faster.

    And as a reminder, here's its definition, with a very …


    Read More
  • The Illinois method for solving equations

    calendar Jul 5, 2023 · 6 min read · mathematics julia computation  ·
    Share on: twitter facebook linkedin copy

    Such a long time since a last post! Well, that's academic life for you ...

    If you look at pretty much any modern textbook on numerical methods, of which there are many, you'll find that the following methods will be given for the solution of a single non-linear equation \(f(x)=0\):

    • direct iteration, also known as …

    Read More
  • Carroll's "improved" Doublets: allowing permutations

    calendar Nov 7, 2022 · 3 min read · programming julia  ·
    Share on: twitter facebook linkedin copy

    Carroll originally invented his Doublets in 1877, they were published in "Vanity Fair" (the magazine, not the Thackeray novel) in 1879. Some years later, in an 1892 letter, Carroll added another rule: that permutations were allowed. This allows very neat chains such as:

    roses, noses, notes, steno, …

    Read More
  • Super Doublets: more word ladders with Julia

    calendar Nov 5, 2022 · 2 min read · programming julia  ·
    Share on: twitter facebook linkedin copy

    Apparently there's a version of Doublets (see previous post) which allows you to add or delete a letter each turn. Thus we can go from WHEAT to BREAD as

    WHEAT, HEAT, HEAD, READ, BREAD

    which is shorter than the ladder given in that previous post. However, we can easily adjust the material from that post to implement …


    Read More
  • Word ladders with Julia

    calendar Nov 3, 2022 · 12 min read · programming julia  ·
    Share on: twitter facebook linkedin copy

    Lewis Carroll's game of Doublets

    Such a long time since my last post! Well, that's the working life for you.

    Anyway, recently I was reading about Lewis Carroll - always one of my favourite people - and was reminded of his word game "Doublets" in which one word is turned into another by changing one letter at …


    Read More
  • Wordle

    calendar Jan 24, 2022 · 4 min read · Julia  ·
    Share on: twitter facebook linkedin copy

    Wordle is a pleasant game, basically Mastermind with words. You choose an English word (although it can also be played in other languages), and then you're told if your letters are incorrect, correct but in the wrong place, or correct and in the right place. These are shown by the colours grey, yellow, and green.

    The …


    Read More
    • ««
    • «
    • 1
    • 2
    • »
    • »»

Recent Posts

  • Parabolas, numerically
  • Parameterization of the parabola
  • Four point parabolas
  • General expressions
  • Bicentric heptagons
  • Poncelet's porism on non-circular conic sections
  • Image dithering: a very simple error diffusion matrix
  • Image dithering: a very simple error diffusion matrix
  • Image dithering (2): error diffusion
  • Image dithering (1): half toning

Tags

MATHEMATICS 22 JULIA 16 VOTING 15 PYTHON 14 COMPUTATION 12 ALGEBRA 10 GIS 8 IMAGE-PROCESSING 5 GEOMETRY 4 JSXGRAPH 4 PROGRAMMING 4 CAD 3 LINEAR-PROGRAMMING 3 ANALYSIS 1 ASTRONOMY 1 CRYPTOGRAPHY 1 EDUCATION 1 GEOGEBRA 1 HASKELL 1 HISTORY 1 HUGO 1 HUMOUR 1 MUSIC 1 ORG 1 SCIENCE 1
What's all this, then?

Copyright  WHAT'S ALL THIS, THEN?. All Rights Reserved

to-top