Bioconductor Ebimage logo

Bioconductor Ebimage

Organization
bioMate-AI
bioconductor-ebimage

EBImage provides general purpose functionality for image processing and analysis. In the context of (high-throughput) microscopy-based cellular assays, EBImage offers tools to segment cells and extract quantitative cellular descriptors. Thi

Overview

PublisherbioMate-AI
Repositorybiomate-bioconductor-kb
Skill namebioconductor-ebimage
Stars
804
Forks
66
Bundled files
Instructions only
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by bioMate-AI on GitHub. Read the source before you install it.

Installation

Install the Bioconductor Ebimage AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/bioMate-AI/biomate-bioconductor-kb/tree/main/skills/imaging/ebimage
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/bioMate-AI/biomate-bioconductor-kb.git /tmp/biomate-bioconductor-kb
mkdir -p .claude/skills
cp -r /tmp/biomate-bioconductor-kb/skills/imaging/ebimage .claude/skills/bioconductor-ebimage
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Bioconductor Ebimage in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Bioconductor Ebimage on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Bioconductor Ebimage is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

EBImage

Dependencies & Environment

Package-intrinsic requirements from the Bioconductor landing page — reproduce in any R environment.

  • Version: 4.54.0 · Bioconductor: 3.23 · R: ≥ 4.6
  • Imports: BiocGenerics, abind, tiff, jpeg, png, locfit, fftwtools, htmltools, htmlwidgets, RCurl
  • Install: BiocManager::install("EBImage")

When to Use

  • General Image Manipulation: Reading, writing, and displaying multi-dimensional images (JPEG, PNG, TIFF) using readImage, writeImage, and display.
  • Spatial Transformations: Applying geometric transformations such as translate, rotate, resize, flip, flop, and affine to image arrays.
  • Image Filtering: Removing noise or detecting edges using linear filters (filter2, gblur) or non-linear filters (medianFilter).
  • Cell Segmentation: Segmenting non-touching objects with bwlabel or separating touching cells using distmap, watershed, and propagate (Voronoi tessellation).

When NOT to Use

  • Interactive Whole-Slide Analysis: For interactive, manual annotation of large whole-slide tissue images, use QuPath instead because EBImage is designed for programmatic, batch-oriented processing.
  • Advanced 3D/4D Rendering: For complex 3D volumetric rendering, use ImageJ/Fiji instead because EBImage's visualization (display) is primarily 2D (browser or raster).
  • Deep Learning Segmentation: For out-of-the-box deep learning-based segmentation, use Python packages like cellpose because EBImage relies on classical intensity-based and morphological segmentation algorithms.

Data Requirements

  • Input Format: Image files (JPEG, PNG, TIFF) or numeric arrays.
  • Structure: Image class objects extending the R base class array. Supports multi-dimensional data (e.g., color channels, z-positions, time points).
  • Normalization State: Pixel intensities are typically represented as numeric values ranging from 0 to 1.

Key Parameters

  • method ("browser"): Specifies how the image is visualized in display (either "browser" for a JavaScript viewer or "raster" for R's built-in plotting).
  • colorMode (Grayscale): Determines how the third and higher dimensions of the image array are rendered (Grayscale or Color).
  • sigma (5): Defines the width of the Gaussian filter in makeBrush or gblur.
  • offset (0.05): The threshold offset used in adaptive thresholding (thresh) to separate foreground from background.
  • lambda (100): Controls the relative weighting between sideways and vertical movement in Voronoi tessellation via propagate.
  • w (15): The width of the rectangular box used for adaptive thresholding in thresh.

Best Practices

  • Raster Display: Use display with method="raster" to combine image data with R's built-in plotting facilities (e.g., adding text labels).
  • Noise Reduction: Apply a low-pass filter like gblur before thresholding to smooth out high-frequency noise and prevent over-segmentation.
  • Watershed Seeding: Use distmap to generate a distance map from a binary image before applying the watershed transformation to separate touching objects.
  • Visualization of Segmentation: Use colorLabels to visualize segmentation results by color-coding objects with a random permutation of unique colors.

Common Pitfalls

  • Touching Cells Merged: Cells close to each other are merged into a single object after thresholding. Fix: Use the watershed algorithm on the distance map (distmap) to separate them.
  • Color Channels Displayed as Grayscale: Color images display as separate grayscale frames. Fix: Change the colorMode of the image to Color using colorMode().
  • Small Holes in Foreground: Thresholding leaves small holes inside foreground objects. Fix: Apply the fillHull function or morphological closing to fill small holes.

Alternatives

  • magick: Better for general-purpose, non-biological image manipulation and format conversion, but lacks biological segmentation tools like watershed.
  • imager: An R package based on CImg, excellent for general image processing but has fewer biology-specific features compared to EBImage.
  • RBioFormats: Use this if you need to read proprietary microscopy image data and metadata not natively supported by readImage.

Citations

  • Pau, G., Fuchs, F., Steffy, O., Boutros, M., & Huber, W. (2010). EBImage—an R package for image processing with applications on cellular assays. Bioinformatics, 26(7), 979-981.

References


Run this on BioMate

This skill is the knowledge layer — when, why, and how to use ebimage. To run this analysis on your own data with managed compute, automated QC, and reproducible outputs, use BioMate — free to start.

▶ Open ebimage on BioMate →

Frequently asked questions

What does the Bioconductor Ebimage AI skill do?

EBImage provides general purpose functionality for image processing and analysis. In the context of (high-throughput) microscopy-based cellular assays, EBImage offers tools to segment cells and extract quantitative cellular descriptors. Thi

Why use Bioconductor Ebimage on TypingMind?

Because you install it once and use it with any model. Bioconductor Ebimage is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Bioconductor Ebimage in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/bioMate-AI/biomate-bioconductor-kb/tree/main/skills/imaging/ebimage. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Bioconductor Ebimage?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Bioconductor Ebimage?

As many as you like. As long as a model supports skills, you can use Bioconductor Ebimage with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Bioconductor Ebimage AI skill free?

It is published on GitHub by bioMate-AI. Check the repository for licensing terms. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇