Graph Cut for image Segmentation

Version 1.1.0.0 (1,77 ko) par Amarjot
The code segments the grayscale image using graph cuts.
9,2K téléchargements
Mise à jour 4 déc. 2014

Afficher la licence

Running the Code:
% Maximum Image size 128 by 128

I=imread('Lenna.jpg');
pad=3;
MAXVAL=255;
[Ncut] = graphcuts(I,pad,MAXVAL)
% function [Ncut] = graphcuts(I)
% Input: I image
% pad: spatial connectivity; eg. 3
% MAXVAL: maximum image value
% Output: Ncut: Binary map 0 or 1 corresponding to image segmentation

Citation pour cette source

Amarjot (2026). Graph Cut for image Segmentation (https://fr.mathworks.com/matlabcentral/fileexchange/40669-graph-cut-for-image-segmentation), MATLAB Central File Exchange. Extrait(e) le .

Compatibilité avec les versions de MATLAB
Créé avec R2008a
Compatible avec toutes les versions
Plateformes compatibles
Windows macOS Linux
Version Publié le Notes de version
1.1.0.0

I added the maximum image size for which the code runs without error.

1.0.0.0