Graph Cut for image Segmentation

버전 1.1.0.0 (1.77 KB) 작성자: Amarjot
The code segments the grayscale image using graph cuts.
다운로드 수: 9.2K
업데이트 날짜: 2014/12/4

라이선스 보기

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

인용 양식

Amarjot (2025). Graph Cut for image Segmentation (https://kr.mathworks.com/matlabcentral/fileexchange/40669-graph-cut-for-image-segmentation), MATLAB Central File Exchange. 검색 날짜: .

MATLAB 릴리스 호환 정보
개발 환경: R2008a
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 Image Segmentation에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
버전 게시됨 릴리스 정보
1.1.0.0

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

1.0.0.0