Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
chunk_stitching
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
executable file 33 lines (27 sloc) 756 Bytes
#!/bin/sh -l
classifier="$1"
video="$2"
prefix=${video%.*}
echo "Video prefix: \"$prefix\""
segmentation="$prefix.seg"
registration="$prefix.reg"
masterframe="$prefix.masterframe"
mask="$prefix.mask.png"
mpiexec chromas-classify-video \
--classifier "$classifier" \
--video "$video" "$segmentation" \
--video-start 0
./registration/register_segmentation.py \
--segmentation "$segmentation" \
--background background \
--det-min-points 10 \
--det-max-points 60 \
--det-circularity-thresh .1 \
"$registration"
mpiexec ./master_frame/generate_master_frame.py \
--registration "$registration" \
--background background \
"$masterframe"
./master_frame/background_mask.py \
"$masterframe" \
"$mask"