<div dir="ltr"><div style="font-family:arial,sans-serif;font-size:13px">I have been testing the the boykov_kolbogorov_max_flow function in the previous weeks and I have a question that I can't seem to find the answer myself. I asked for it on StackOverflow [1] but nobody answered.</div> <div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">Can someone tell me why I get three classes (groups) instead of two? I always get class '0' and '4', and '1' on some cases. I thought a Graph Cut was supposed to output only two classes, so what's the meaning of '1'? Please read the SO question in [1] for more details. Thanks for your time.</div> <div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">Nil Goyette</div><div style="font-family:arial,sans-serif;font-size:13px"><span style="line-height:18px;font-size:14px;font-family:Arial,'Liberation Sans','DejaVu Sans',sans-serif"><br> </span></div><div style="font-family:arial,sans-serif;font-size:13px"><span style="line-height:18px;font-size:14px;font-family:Arial,'Liberation Sans','DejaVu Sans',sans-serif">[1]�</span><a href="http://stackoverflow.com/questions/16905613/3-classes-0-1-4-on-boost-graph-cut" target="_blank">http://stackoverflow.com/questions/16905613/3-classes-0-1-4-on-boost-graph-cut</a></div> </div>