geomai / debayer_bonito

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

debayer_bonito

This is a python script to perform debayering for images recorded with Bonito camera model using opencv functions.

Setup

You can use the provided environment.yml to set up a suitable conda environment.
Please edit the last line of environment.yml according to your target path.

Usage

python debayer.py -h
Parsing command line...
usage: debayer.py [-h] -i I -o O [-e E]

Demosaic frames from Bonito camera. Either provide a single file, or a
directory as input. If a directory is given, all files within the directory
with the target extension will be processed. Output files are then stored in
the same folder as input with a _debayer suffix.

arguments:

  • -h, --help show this help message and exit
  • -i I input image file
  • -o O output image file
  • -e E input file extension

About


Languages

Language:Python 100.0%