Economics at your fingertips  

BMP2DTA: Stata module to convert bitmap files to Stata datasets

Austin Nichols

Statistical Software Components from Boston College Department of Economics

Abstract: Since the advent of satellite imagery, researchers have turned images into data and processed it. This program makes the first step easier in Stata, by turning a Windows 24-bit bitmap file into a Stata dataset with variables i and j (row and column of each pixel), r (red), g (green), and b (blue) on a scale of 0 to 255. Examples of uses for satellite images include projecting fishing productivity (Kemmerer et al. 1976), estimating economic growth (Henderson, Storeygard, and Weil 2012), and predicting poverty rates (Jean et al. 2016). Techniques for processing, filtering, or otherwise manipulating image data can also be used on any photograph.

Language: Stata
Requires: Stata version 11
Keywords: bitmaps; RGB; data processing; filtering (search for similar items in EconPapers)
Date: 2017-07-23
Note: This module should be installed from within Stata by typing "ssc install bmp2dta". The module is made available under terms of the GPL v3 ( Windows users should not attempt to download these files with a web browser.
References: Add references at CitEc
Citations: Track citations by RSS feed

Downloads: (external link) program code (text/plain) help file (text/plain) sample data file sample data file sample data file

Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.

Export reference: BibTeX RIS (EndNote, ProCite, RefMan) HTML/Text

Persistent link:

Ordering information: This software item can be ordered from

Access Statistics for this software item

More software in Statistical Software Components from Boston College Department of Economics Boston College, 140 Commonwealth Avenue, Chestnut Hill MA 02467 USA. Contact information at EDIRC.
Bibliographic data for series maintained by Christopher F Baum ().

Page updated 2021-09-08
Handle: RePEc:boc:bocode:s458379