Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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!

image text in transcribedimage text in transcribed

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Business Process Driven Database Design With Oracle PL SQL

Authors: Rajeev Kaula

1st Edition

1795532386, 978-1795532389

More Books

Students also viewed these Databases questions