  We derive the relationship between the persistent homology barcodes of two
dual filtered CW complexes. Applied to greyscale digital images, we obtain an
algorithm to convert barcodes between the two different (dual) topological
models of pixel connectivity.
