In my Final year project i have done the same task using the boundary Extraction technique and also we are extracting sky from the moving image, we have used many techniques to stable the image.
Your task is not difficult, looking forward to work with you.