Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.


Math Forum » Discussions » Software » comp.soft-sys.matlab

Topic: Clusters Deletion with various measures - Urgent help required
Replies: 0  

Advanced Search

Back to Topic List Back to Topic List  
Khalid Iqbal

Posts: 33
Registered: 12/23/09
Clusters Deletion with various measures - Urgent help required
Posted: Jan 4, 2013 10:39 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

Dear Friends
I clustered image regions data into different clusters and stored those clusters into variable as below.

>>Clusters=[1,2,2,3,3,3,2,1,3,2,1,1,3,4,,5,3,6];
This means that Clusters 1 contains region 1, 8,11,12 and clusters 2 contain 2,3,7,10 and so on.

I have the following threshold measures to delete clusters from Clusters variable using Angle, DeltaX, RelativeHeightPosition, DeltaY, RelativeWidthPosition, AdjacentRegionsHeight (This height is computed between adjacent clusters like 1 and 2, 1 and 3, 1 and 4, 1 and 5, 1 and 6, 2 and 3 and so on) and
AdjacentRegionsWidth (This width is computed between adjacent clusters like 1 and 2, 1 and 3, 1 and 4, 1 and 5, 1 and 6, 2 and 3 and so on).

Now I have to apply the following conditions to delete clusters.

Angle>45 && DeltAX>RelativeHeightPosition && DeltAY>RelativeWidthPosition && AdjacentRegionsHeight>50 && AdjacentRegionsWidth>50

50 is some threshold value set by the user.


Please help me in implementing the deletion of clusters which does not obey the given condition. I will be really thankful as I am badly stuck here.

Please help me, I request to all of Matlab Geeks.

Best Regards

KK



Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.