Group members: Josh Stern, Savvas Petridis, Eli Fessler
Take in a sequence of JPEG images and replace a high contrast sky with another texture.
- Parallelization of necessary algorithms
- Frame to Frame data structure
- Sky isolation
- Texture application
- Threshold each image as to isolate the sky (allowing us to do multiplication for replacement)
- Track points from one original image to the next
- Using these points, calculate homography matrix
- Use Homography to calculate where to sample from sky texture image (so it moves appropriately)
./imgpro <full_input_image_name> <full_output_image_name> 1 <-flag stuff>
./imgpro <general_input_image_name> <general_output_image_name> <image_count> <-flag stuff>
This will append "_i.jpg" to all general names, where i is an integer (starting from zero).
If images are flipped (due to extra image metadata), install Jhead using brew install jhead
(Homebrew required) and run
jhead -autorot path/to/image.jpg