Skip to content

bioimage-analysis/image_processing

Repository files navigation

Repository overview

This repository contains few image processing modules that I wrote, Blobs_per_cell and membrane_accumulation were used to perform the image analysis of a paper published in JCS and ImageAlignment is use in the Stanford imaging facility. For all these modules I made a notebook in order to have a better understanding on how they work.

  1. All these modules includes an open_image_bioformat use python_bioformat package to allow to work with different image format, here is what it should be able to do:

  2. Beginning and ending the javabridge to work python_bioformat

  3. Create a dictionary with "important" image information (pixel size, number of channels etc.)

  4. Read the image and return a numpy array

  5. Do some batch analysis (go through a folder and return a list of numpy array)

  6. Show all or a chunk of your images (with or without histogram) that are located in your folder

  7. blobs_per_cells use the scikit-image package to analyse the images:

  8. Extract the number of nucleus (number of cells)

  9. Do some image processing

  10. Extract the amount of blobs

  11. Circle the blobs it found

  12. Plot and save results as a box plot using pandas package

  13. It also includes blobs_per_cells_click which is very similar to blobs_per_cell put can measure click events on the image:

  • Extract the number of cells by measuring click events
  • Do some image processing
  • Extract the amount of blobs
  • Circle the blobs it found
  • Plot and save results as a box plot using pandas package
  1. membrane_accumulation use the scikit-image package and the OpenCV package to analyse the images::

  2. Draw a region of interest

  3. Segment the accumulation in the ROI

  4. Measure the surface occupy by the ROI and the segmented region

  5. ImageAlignment use the OpenCV3 package to realign images::

  6. Determine a matrix that can then be applied to realign the images

  7. work with any format and with [ZTCYX] dimension

  8. Save images as a TIF file keeping some essential metadata

Dependencies

This code uses a number of features in the scientific python stack. Thus far, this code has only been tested in a Mac OS environment, it may take some modification to run on other operating systems.

I highly recommend installing a scientific Python distribution such as Anaconda to handle the majority of the Python dependencies in this project.

###Python Dependencies

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published