<jupyter_start><jupyter_text>5. Filtering exercise<jupyter_code>import numpy as np
import matplotlib.pyplot as plt
import skimage
import skimage.morphology

image_stack = skimage.io.imread('https://cildata.crbs.ucsd.edu/media/images/13585/13585.tif')
image_nuclei = image_stack[0:100,0:100,2]<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.11801242236024845, 'fraction_numerical': 0.062111801242236024, 'mean_word_length': 7.972222222222222, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 1, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'chain_length': '1', 'dir': 'jupyter-structured-clean-dedup', 'id': '568053', 'license': 'BSD-3-Clause', 'n_tokens_mistral': 139, 'n_tokens_neox': 126, 'n_words': 18, 'path': 'e05-Filtering.ipynb', 'repo_name': 'guiwitz/Python_image_processing_beginner', 'size': '322'}