DEMOCRITUS
UNIVERSITY
OF THRACE

Morphological Editor Design for Grayscale Images Using Quantum Cellular Automata

Mathematical Morphology

First and foremost, lets take a brief moment to disguise about the basics.

Mathematical morphology is a branch of mathematical image processing and computer vision that deals with the analysis and processing of geometric structures in images and other spatially organized data. It was introduced by the French mathematician Georges Matheron in the 1960s and further developed by Jean Serra.

The fundamental concept in mathematical morphology is the use of structuring elements, also known as kernels or masks, to probe an image or data set in order to extract meaningful information. These structuring elements are small patterns or shapes, often represented as binary matrices or sets of coordinates. They are used to explore and modify the pixels or elements of an image based on their spatial arrangement.

The main operations in mathematical morphology include:

The morphological operations first applied to binary images and later for grayscale images, and even other types of spatially organized data beyond images.

In this section I can present you the circuit of erosion and dilation MM.

-The second image was the first idea but it has a lot more glitches compared to the third one. Basically the paths' length that lead to the output was different for each input so, for instance the last input (Input9-with blue color) is changing faster from 1 to -1, than the other input. (Keep in mind that the gate has 3 inputs. First is set to positive 1(orange color), second one is the combination of the previous ones(green color) and the third is Input9(blue color)). So if green is -1 and blue is -1, and we have a change to our inputs, the blue one will change first and this may resolve in an unexpected behavior of the out put.

-Now the third image is a better way of dealing with that (length) problem leading to a less glitchy output. Still though it is not perfect.

-To describe the images starting from the first one. We have 9 inputs and 1 output. The inputs form a neighborhood (3x3 table) and the output is the center of the table. The first image has already set a value of 1(orange color) in the circuit. This means that if at least one other input is 1 (one of nine) the output eventually will be 1 so the center pixel of the image will became white (we consider 1 is #fff). So in the end if you have on the neighborhood at least one 1, the center pixel of an image will become white (dilation).

-The same principle applies for images 2 and 3 but in reverse. Now if at least one input (in the neighbor) is -1 the center pixel will become black (erosion).

-On image 4 you can see the inputs and the output together in a diagram.

-Also you can always click the picture to enlarge it.

Here you are able to download the files from QCAD

Here you can to render your oun image

Please select a render option and an Image!
Please select an Image!
Please select a render option!
Preview
Messenger Github Linkedin Email

Thanks for your attention!