I forgot to write the journal yesterday so now I'm making it up.
Last moring I were scanning the internet again. Feel so ashamed about myself. Then I started my work around 2PM and the progress was slow. I hadn't finish the standard graph cut. It seems that this part would take a long time cause it's hard to transfer the c code to c++.
Anyway, today I need to think up some ways to figure it out.