Color Clustering for Object Detection

バージョン 1.0.1 (1.21 KB) 作成者: Samiran Deori
This code will perform Color Clustering on input image.
ダウンロード: 56
更新 2021/11/21

ライセンスの表示

% I = imread function to read an image from storage
% And using imshow function display the image on which
% color clustering and object detection is to be
% performed.
% For input k = [1 2 3 4 5 6] , K-means clustering is performed on input image
% For performing k = 6 iterations one for loop is
% used.
% To perform K means clustering based image
% segmentation imsegkmeans function is used to get
% the centers of each cluster and indexes of each
% cluster.
% To reshape the array from column to an M*N matrix, % reshape function is used.
% To show it as a color cluster image, labeloverlay
% function is used.
% For each k = ith value color clustering is being
% performed on the image and is being displayed using % imshow function for each ith iteration

引用

Samiran Deori (2026). Color Clustering for Object Detection (https://jp.mathworks.com/matlabcentral/fileexchange/102449-color-clustering-for-object-detection), MATLAB Central File Exchange. に取得済み.

MATLAB リリースの互換性
作成: R2021b
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linux
タグ タグを追加

Community Treasure Hunt

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

Start Hunting!
バージョン 公開済み リリース ノート
1.0.1

Updated the uploaded images

1.0.0