GithubHelp home page GithubHelp logo

adrianvillalba / islet_he Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 11.56 MB

A imageJ macro to refine my hematoxylin/eosin stains for islets of Langerhans in pancreas sections

imagej macros microscope islet fiji imagej-macro

islet_he's Introduction

TUTORIAL

1. Introduction.

This is a simple imageJ macro i wrote to modify the poor quality images acquired with an old camera in optical microscopy. I try to substract the background to the original picture and then modify the pixels with a gamma function to Hematoxylin/Eosin images from islets of Langerhans in pancreatic sections. The final result is an approach to the real image the observer can see in the microscope, avoiding the worse acquisition by the camera.

2. How to use a pre-made macro in imageJ.

Note: You can download for free the last version imageJ at the official repository (https://imagej.nih.gov/ij/download.html) or at the FIJI repository (remember, Fiji Is Just ImageJ: https://fiji.sc/#download).

2.1 You need to download directly the macro file (i.e. Islet_HE) or copy-paste the code in a .txt file. 2.2 Then you have to run imageJ and open the image you want to apply the macro by File>Open and selecting the desired image.

2.3 Finally you can run the macro by **Plugins>Macro>Run** and selecting the .txt file where the macro code is located.

3. Results.

The input image for the Islet_He macro is the acquired image in bright phase with a camera. In the example showed below, i used a Zeiss Axioskop 2 microscope with a coupled digital camera Nikon DS-Vi1 (https://www.nikoninstruments.com/en_EU/Products/Cameras/Camera-Heads/DS-Vi1). The output image is the corrected image with contrast/brightness adjusted and a gamma function applied to avoid the acquisition loss of transmitted light by the camera.

islet_he's People

Contributors

adrianvillalba avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.