EconPapers    
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 (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:

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

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: https://EconPapers.repec.org/RePEc:boc:bocode:s458379

Ordering information: This software item can be ordered from
http://repec.org/docs/ssc.php

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 2025-03-30
Handle: RePEc:boc:bocode:s458379