Method and system is disclosed for image segmentation. The method includes acquiring a digital image, constructing a graph from the digital image, calculating a plurality of cost functions, constructing an electrical network based upon the constructed graph and the plurality of calculated cost functions, simulating the electrical network using fixed-point linearization, and segmenting the image using the simulated electrical network to produce segmented layers. Simulation may be executed in parallel to achieve desirable computational efficiencies.