This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
# | |
# python reconstruct.py filename.pgm | |
# takes in a raw image having a Bayer Color Formatted Array (RGGB) | |
# and outputs two JPEG files. The first file is simply the | |
# Bayer Reconstruction as RGB. The second file has been | |
# processed to enhance color and contrast using combinations of: | |
# 1) independent color channel scaling | |
# 2) simplest color balancing | |
# 3) white balancing |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/perl | |
# This example shows how to connect to the Tsheets API using Perl | |
# | |
use HTTP::Request::Common; | |
use LWP::UserAgent; | |
use JSON; | |
use Data::Dumper; | |
# Here's an example query to the API that reports the JSON jobcodes result into a hash array |