Share Email Print
cover

Proceedings Paper

Automatically determining the dimensions of digitally stored images
Author(s): Michael G. Evanoff; William J. Dallas; Melissa J. Bjelland
Format Member Price Non-Member Price
PDF $17.00 $21.00

Paper Abstract

We frequently encounter digitally stored images whose formatting information, the number of lines and pixels, has been lost. Without the formatting information the image becomes practically inaccessible. Formatting loss can be caused by: (1) Legacy images - they come somewhere from the dim past; (2) Image acquisition devices that do not store the dimensions; (3) The proliferation of storage standards using headers that require software for new formats. In order to use the image, the dimensions must be recovered. We developed a robust method that determines the width and height of images stored in lexicographic order. We constructed an approximately periodic function from contiguous image data. Similar to a periodic function, the auto-correlation function of the contiguous data exhibits peaks spaced with a period that is equal to the width of the images. The height is determined by dividing the file's size by the width. We tested the algorithm on 42 medical images and one aerial photo. We created a larger test base by cropping regions of different sizes from the images and sub- sampling the images into several sizes. The algorithm found the correct dimensions in all cases except one - when the region consisted of periodic data. In this case, the auto- correlation function has peaks due to the periodicity of the data that cannot be discerned form the periodicity of the line lengths since all the peaks of the auto-correlation function are equal. The algorithm cannot discern the correct width among the ambiguous peaks. In practice, periodicity will never happen in real medical images.

Paper Details

Date Published: 25 April 1997
PDF: 6 pages
Proc. SPIE 3034, Medical Imaging 1997: Image Processing, (25 April 1997); doi: 10.1117/12.274081
Show Author Affiliations
Michael G. Evanoff, Univ. of Arizona (United States)
William J. Dallas, Univ. of Arizona (United States)
Melissa J. Bjelland, Univ. of Arizona (United States)


Published in SPIE Proceedings Vol. 3034:
Medical Imaging 1997: Image Processing
Kenneth M. Hanson, Editor(s)

© SPIE. Terms of Use
Back to Top