Logo: Bioconductor Ebimage

Bioconductor Ebimage

Organisatioun
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

Iwwersiicht

EditeurbioMate-AI
Repositorybiomate-bioconductor-kb
Skill-Nummbioconductor-ebimage
Stären
804
Forks
66
Matgeliwwert Dateien
Nëmmen Instruktiounen
Linken
  • Instruktiounen am Markdown-Format

    Eng SKILL.md-Datei, déi de Modell bei Bedarf luet, soudatt nëmmen Token ufalen, wann eng Ufro tatsächlech dozou passt.

  • Funktionéiert mat all LLM

    KI-Skills si reng Markdown, keen ubidderspezifesche Code. Dofir funktionéiert dëse Skill mat GPT, Claude, Gemini, Grok oder engem lokale Modell.

  • Alles an den Instruktiounen

    Alles, wat de Modell brauch, steet an den Instruktiounen — keng zousätzlech Dateien ze synchroniséieren.

  • Open Source

    bioMate-AI huet de Skill op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill Bioconductor Ebimage an TypingMind, fir e mat all LLM ze benotzen, oder setzt en an en anere KI-Agent an, deen SKILL.md liest.

1

An TypingMind installéieren

TypingMind installéiert e Skill direkt aus sengem GitHub-Dossier — dobäi gëtt SKILL.md gelies, d'Ressourcedateie gi gebëndelt an d'Resultat gëtt lokal gespäichert.

  1. Maacht d'App op a gitt op Plugins → Skills.
  2. Wielt „Vu GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier, déi hei drënner steet, an a bestätegt d'Installatioun.
    https://github.com/bioMate-AI/biomate-bioconductor-kb/tree/main/skills/imaging/ebimage
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill derbäisetzen → Iwwer eng GitHub-URL. Pecht dann d'URL vum Dossier an a klickt op Weider.
2

An engem anere KI-Agent installéieren

All KI-Agent, deen d'Format Agent Skills liest, kann dëse Skill benotzen — kopéiert den Dossier an d'Skill-Verzeechnes vun deem KI-Agent.

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
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Bioconductor Ebimage an engem Chat vun TypingMind, an de Modell iwwerhëlt de Rescht. Den Numm an d'Beschreiwung stinn am System-Prompt. Soubal eng Ufro dozou passt, luet de Modell déi komplett Instruktioune selwer — Dir musst de Skill ni manuell opruffen, an et fale keng Token un, bis en tatsächlech benotzt gëtt.

De Modell luet Bioconductor Ebimage automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Bioconductor Ebimage net un de Modell gebonnen, fir deen de Skill geschriwwe gouf. Installéiert en eemol an TypingMind a benotzt e mat GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder engem lokale Modell, deen Dir selwer bedreift — alles mat Ären eegenen API-Schlësselen.

  • Gëtt nëmme gelueden, wann et néideg ass

    De System-Prompt enthält nëmmen den Numm an d'Beschreiwung. D'Instruktioune gi bei der éischter passender Ufro gelueden, soudatt en onbenotzte Skill näischt kascht.

  • De Modell am lafende Chat wiesselen

    Well de Skill aus Instruktiounen amplaz vu Code besteet, funktionéiert en och no engem Modellwiessel — den nächste Modell liest déi selwecht SKILL.md-Datei.

Skill-Instruktiounen

Dëst ass den Inhalt vu SKILL.md, deen de Modell luet. Liest e virun der Installatioun — e Skill besteet aus Instruktiounen, déi Äre Modell befollegt.

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 →

Heefeg gestallte Froen

Wat mécht de KI-Skill 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

Firwat Bioconductor Ebimage op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Bioconductor Ebimage besteet aus einfachem Markdown amplaz vun ubidderspezifeschem Code. Dee selwechte Skill funktionéiert also mat GPT-5, Claude, Gemini, Grok oder engem lokale Modell – an Dir kënnt de Modell matzen am Chat wiesselen, ouni datt de Skill ophält ze funktionéieren. TypingMind benotzt Är eegen API-Schlësselen, sou datt Dir d'Ubidder direkt bezuelt, amplaz en Abonnement pro Benotzerplaz ze bezuelen. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech Bioconductor Ebimage an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/bioMate-AI/biomate-bioconductor-kb/tree/main/skills/imaging/ebimage an. TypingMind liest d'Datei SKILL.md an installéiert de Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen Bioconductor Ebimage benotzen?

All Modell, deen Dir an TypingMind verbënnt. KI-Skills sinn einfach Markdown-Instruktiounen an net ubidderspezifesche Code. Dofir kënne GPT, Claude, Gemini, Grok a lokal Modeller dëse Skill lueden, wann eng Ufro dozou passt.

Wéi vill KI-Modeller kann ech mat Bioconductor Ebimage benotzen?

Esou vill wéi Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Bioconductor Ebimage domat benotzen – zum Beispill mat GPT, Claude, Gemini, Grok, DeepSeek, Mistral oder Llama – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill Bioconductor Ebimage gratis?

bioMate-AI huet de Skill op GitHub publizéiert. Kuckt am Repository no de Lizenzbedéngungen. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbare Pak vun Instruktiounen, deen engem KI-Modell bäibréngt, wéi en eng bestëmmt Aufgab erfëllt. E follegt dem oppenen Agent Skills-Format: eng Datei SKILL.md mat engem Numm an enger Beschreiwung, plus all Scripten, Virlagen oder Referenzdateien, déi de Modell eventuell brauch. De Modell liest d'Instruktiounen eréischt, wann Är Ufro zum Skill passt. En installéierte Skill kascht also näischt, bis e benotzt gëtt.

Wéi ënnerscheede sech KI-Skills vu Plugins oder MCP-Serveren?

E Plugin oder MCP-Server gëtt engem Modell nei Tools, déi en opruffe kann – Code, deen iergendwou leeft an e Resultat zeréckgëtt. E KI-Skill gëtt dem Modell dogéint Wëssen an eng Virgoensweis: wéi en eng Aufgab ugeet, wéi eng Schrëtt e maache soll a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a kee Lafzäitëmfeld a funktionéiere mat all Modell.

Alleguer weisen

Elo Ären eegene KI-Aarbechtsberäich ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇