フィルターのクリア

Info

この質問は閉じられています。 編集または回答するには再度開いてください。

Separating and extracting data using edge detection

1 回表示 (過去 30 日間)
K F
K F 2020 年 7 月 14 日
閉鎖済み: Adam Danz 2020 年 7 月 14 日
I want to use edge detection to separate my data and put the “pieces” into separate matrices.
I begin with a large matrix (~1000x1000). Within it, I have data points that are clustered together and several cells of "NaN" that separate the clusters from each other. After changing the NaN values to a very big negative number and using the "mat2gray" function, I run the "edge" function. Viewing this shows that the clusters are well outlined.
What I would like to do now, knowing where the edges of the clusters are, is create matrices containing the original data of a single cluster for each cluster.
My problem is that I do not know how to use the output of the edge function to accomplish that. I would appreciate any advice, including if this is an inefficient/impossible/dumb way to get what I want. My motivation for using edge detection is that the cluster placement and spacing is not constant and the "pattern" of the clusters change from data set to data set.

回答 (0 件)

この質問は閉じられています。

Community Treasure Hunt

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

Start Hunting!

Translated by