BMP2DTA: Stata module to convert bitmap files to Stata datasets
Statistical Software Components from Boston College Department of Economics
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.
Requires: Stata version 11
Keywords: bitmaps; RGB; data processing; filtering (search for similar items in EconPapers)
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 (https://www.gnu.org/licenses/gpl-3.0.txt). 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)
http://fmwww.bc.edu/repec/bocode/b/bmp2dta.ado program code (text/plain)
http://fmwww.bc.edu/repec/bocode/b/bmp2dta.sthlp help file (text/plain)
http://fmwww.bc.edu/repec/bocode/b/bmdc276.bmp sample data file
http://fmwww.bc.edu/repec/bocode/b/bmputin.bmp sample data file
http://fmwww.bc.edu/repec/bocode/b/bm500.bmp sample data file
This item may be available elsewhere in EconPapers: Search for items with the same title.
Export reference: BibTeX
RIS (EndNote, ProCite, RefMan)
Persistent link: https://EconPapers.repec.org/RePEc:boc:bocode:s458379
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 ().