Captures¶
A micasense.capture.Capture object holds a set of images (one per band) which are captured at the same moment together in a MicaSense camera. Files which meet this criteria will tend to have the same filename except for the suffix, but that is not required to load a captures. Captures can be loaded by starting with one image by calling Capture.from_file('file_name.tif') and adding others using the append_file, or by providing a list of filenames or images. See capture.py for more creation methods.
In [1]:
import os
import glob
import micasense.capture as capture
%matplotlib inline
imagePath = os.path.join(".", "data", "REDEDGE-MX")
imageNames = glob.glob(os.path.join(imagePath, "IMG_0001_*.tif"))
capture = capture.Capture.from_filelist(imageNames)
capture.plot_raw()
More Capture visualization functions¶
In [2]:
capture.plot_vignette()
capture.plot_undistorted_radiance()
capture.plot_panels()
Copyright (c) 2017-2019 MicaSense, Inc. For licensing information see the project git repository