Introduction

 

Magnifying glass in the image

 

View more images

 

Geometrical transforms

 

Brightness profile

 

Histogram

 

Fourier transform

 

Features

 

Brightness/contrast corrrections

 

Flat-Field corrections

 

Inhomogeneous lighting correction

 

Gama correction

 

Noise generation

 »

Arithmetical and logical operation

 

Look Up Tables

 

2D convolution

 

Objects drawing

 

Morphological operations

 

Nonlinear filters

 

Bit fields

 

Sobel edge detection

 

Averaging

 

Colour images

 

 MIPS 2.0 - Medical/Microscopy Image Processing Software

 

 

ARITHMETICAL AND LOGICAL OPERATIONS


Image / Logical and Arithmetical operations

Arithmetical operations within one image

For the whole image, we perform the given arithmetic operation point by point. These operations are useful when we want to change the brightness by exactly a given number of brightness levels, or to adjust the contrast. It is possible to perform:

      

Arithmetical operations between two images

On every two pixels (equal in position in both images) we perform the given arithmetic operation. The basic arithmetic operations include:

     

Logical operations

These operations are especially suitable for binary images (only brightness levels 0 and 255). However, they can also be applied to a combination of binary and grayscale images, where the grayscale image can be modified in various ways.

     

Preview

 

Examples

 

 

Image A - blood serum crystalograms  

 

 

 

  

 

           Image B - synthetic image                                     A AND B

 

 

 

  

 

                         A OR B                                                      A XOR B

 

 

 

  

 

                        A ADD B                                                     A SUB B

 

 

 

  

 

                      A MULT B                                                     A DIV B

 

 

 

  

 

                       MIN(A,B)                                                  MAX(A,B)

 

 

 

  

 

                        A AVE B                                              A OVERLAY B

 

 

 

  

 

          WEIGHT - 25% A + 75% B                Operace WEIGHT - 75% A + 25% B

 

 


© 2000-2022, Václav Gerla, Jiųí Hozman, Martin Pop. In case of problems or questions don“t hesitate to contact us via email. Last update