April 2020
Intermediate to advanced
438 pages
12h 2m
English
Perform the following steps for blob detection in the LOG space:
blobs_log = blob_log(np.invert(image), max_sigma=40, num_sigma=10, threshold=.2)
blobs_log[:, 2] = blobs_log[:, 2] * np.sqrt(2)
for blob in blobs_log: y, x, r = blob if np.pi*r**2 > 150: c = plt.Circle((x, y), r, color=[0.75] + \ np.random.rand(2).tolist(), linewidth=2, \ fill=True, alpha=.7) # add the blobs to the plot
If you run the preceding code snippets and plot the images, you will get a diagram along the lines of in the following:
Read now
Unlock full access