File Exchange

image thumbnail

normalized-cut segmentation using color and texture data

version 1.0.0.0 (21.5 KB) by Alireza
This code implemented a “normalized-cut” segmentation using color and texture information

8 Downloads

Updated 27 Aug 2015

View License

This code segment an image using color, texture and spatial data
RGB color is used as an color data
Four texture features are used: 1. mean 2. variance 3. skewness 4. kurtosis
Normalized Cut (inherently uses spatial data)
ncut parameters are "SI" Color similarity, "ST" Texture similarity, "SX" Spatial similarity, "r" Spatial threshold (less than r pixels apart), "sNcut" The smallest Ncut value (threshold) to keep partitioning, and "sArea" The smallest size of area (threshold) to be accepted as a segment
an implementation by "Naotoshi Seo" with a small modification is used for “normalized-cut” segmentation, available online at: "http://note.sonots.com/SciSoftware/NcutImageSegmentation.html", It is sensitive in choosing parameters.

Comments and Ratings (2)

wanted to run your program by a bigger image but couldn't run. Can you give me the solution that what I have to do now? Thanks in Advance.
Error in NcutPartition (line 70)
[SegA IdA NcutA] = NcutPartition(I(A), W(A, A), sNcut, sArea, [id '-A']);

Error in NcutPartition (line 72)
[SegB IdB NcutB] = NcutPartition(I(B), W(B, B), sNcut, sArea, [id '-B']);

I wanted to run your program by a bigger image(492x737) but couldn't run. Can you give me the solution that what I have to do now? Thanks in Advance.

Updates

1.0.0.0

image added

MATLAB Release Compatibility
Created with R2011a
Compatible with any release
Platform Compatibility
Windows macOS Linux