Automatic measurement of polynya area by anisotropic filtering and markov random fields