-
Notifications
You must be signed in to change notification settings - Fork 7
/
README.txt
executable file
·29 lines (17 loc) · 1.38 KB
/
README.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
Author: Sergey Mashchenko
A set of bash scripts for post-processing of focus stacks for macro photography. Utilizes open source programs
dcraw (https://www.cybercom.net/~dcoffin/dcraw/), Hugin (http://hugin.sourceforge.net/), and
ImageMagick (http://www.imagemagick.org/script/index.php). Contains one C++ program written by the author (deadpixels.c).
The scripts use BASH shell, so should work under any Linux distro and Cygwin under Windows.
Assuming the directory Macro_scripts is located in your home directory, put the following line at the end of your ~/.bashrc file:
export PATH=~/Macro-scripts-master:$PATH
For Cygwin (under Windows), you will need to install additional packages, including gcc-core, gcc-g++, libgcc1, ImageMagick,
all libMagick* modules, liblcms2 and liblcms2-devel, libjpeg and libjpeg-devel. Install the Windows binary of Hugin, and
add the Cygwin path to the Windows binary at the end of ~/.bashrc file, e.g.:
export PATH=/cygdrive/c/Program\ Files/Hugin/bin/:$PATH
You need Hugin-2015 or newer version.
You have to make all the scripts executable by running the following command inside ~/Macro-scripts-master :
chmod u+x *.sh
To compile the two executables (dcraw and deadpixels), execute the script compile.sh (for both Linux and Cygwin).
For more details, consult the wikia page:
http://pulsar124.wikia.com/wiki/Open_Source_workflow_for_macro_focus_stacking