1. A method of encoding a two-dimensional enhanced-density barcode, the method comprising the steps of: receiving a first two-dimensional barcode and a second two-dimensional barcode wherein the first and the second two-dimensional barcodes include pixels of a predefined pixel density; performing a pair wise encoding of pixel pairs of the first and the second two-dimensional barcodes according to a predefined encoding scheme carried out by overlaying said first two dimensional barcode and said second two-dimensional barcode and allocating each combination of pixel pairs to a predefined block that includes a predefined number of sub-pixels, each of said pixel pairs comprising a given pixel of said first two-dimensional barcode and a corresponding pixel of said second two-dimensional barcode; and arranging the blocks of the enhanced-density barcode relative to each other in a geometrical lattice wherein the lattice has a first and a second lattice direction, thereby producing the encoded two-dimensional enhanced-density barcode.