Intersection of clusters in 2 binary masks

조회 수: 4 (최근 30일)
Ryan
Ryan 2013년 10월 19일
Hi, I'm kind of new to matlab. I'm trying to figure out how to retrieve a new binary mask containing only the clusters which intersect from 2 other binary mask containing a number of clusters.
The two binary images I am using contain clusters of a thresholded size.
I literally have no idea how to go about approaching this problem.
For example if if the two binary images were
0 0 0 0 0 1
1 1 1 1 1 1
0 0 0 0 0 0
0 0 0 1 1 1
The result should be
0 0 1
1 1 1
0 0 0
0 0 0
Thanks in advance

답변 (0개)

카테고리

Help CenterFile Exchange에서 Discrete Math에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by