This repository contains training materials for the Tutorial "Bio-Image Analysis Code Generation" at the From Images To Knowledge (I2K) Conference (virtual) October 28th-30th 2024.
It contains Jupyter Notebooks demonstrating bia-bob, an AI-based assistant for interacting with image data using large language models and for working on Bio-image Analysis tasks. If you plan to execute these notebooks during the session, it is recommended to setup a Conda environment as explained here.
Furthermore, you can create an issue which will then be answered by git-bob an AI-assistant that runs inside Github.com's Continuous Integration infrastructure.
Note: When using bia-bob and git-bob, the data you provide, the images and the text you enter may be sent to OpenAI's or Anthropic's online services where we use a large language model to answer your request. Do not upload any data you cannot share openly. Also, do not enter any private or secret information.
Open a new Jupyter notebook, run import bia_bob
and in a new cell below enter this:
%%bob
Please segment the nuclei in the `skimage.data.human_mitosis()` dataset using Voronoi-Otsu-Labeling.
Check if the code works. It should look approximately like this.
Afterwards, install pyclesperanto:
pip install pyclesperanto
Restart your kernel and ask the same question again. It should then look different.
Create a new issue here. It's your choice if you ask a bio-image analysis question or for a fun story for kids.
If you would like to provide feedback or have a question, please open a thread on https://image.sc and tag @haesleinhuepf.
We acknowledge the financial support by the Federal Ministry of Education and Research of Germany and by Sächsische Staatsministerium für Wissenschaft, Kultur und Tourismus in the programme Center of Excellence for AI-research „Center for Scalable Data Analytics and Artificial Intelligence Dresden/Leipzig", project identification number: ScaDS.AI