Question: PYTHON QUESTION -Needing help in being able to remove clusters which overlap/disappear at the edge of the graph. (I.E cluster 4 and cluster 14) -Variables

PYTHON QUESTION

-Needing help in being able to remove clusters which overlap/disappear at the edge of the graph. (I.E cluster 4 and cluster 14)

-Variables which are being used are posted below.

-Thanks in advance!

PYTHON QUESTION -Needing help in being able to remove clusters which overlap/disappearat the edge of the graph. (I.E cluster 4 and cluster 14)

Images/IrradiatedBatch/0013.bmp30 and 180 thresholds 11 1000 12 14 1. 17 1 116 800 15 1 16 2 13 600 y pixel 0 3 400 2 10 1 1 200 4 4 7 5 0 0 200 400 1000 1200 1400 600 800 x pixel # Set edge size # # Loop over all the clusters # Find minimum and maximum column values for cluster, colMinCl, colMaxCl # Find minimum and maximum row values for cluster, rowMinCl, rowMaxCl # If cluster is in image, i.e. if colMinCl colMaxHd and rowMinCl rowMaxHd # Add one to number of heads in cluster

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!