Code Monkey home page Code Monkey logo

cell_splitter's Introduction

Cell_Splitter

Extract regions of the cells from binary image(2D or 3D) and coordinates of the cells

参考:http://system-medicine.blog.jp/archives/6819354.html

Dependencies

MATLAB R2019a or later

Preparation of input files

Two data files are needed, binary image (as tif file) and cordinate information of the cells (as csv file) for input data.

In csv file, only columns 6 to 8 (6 to 7 for 2D image) are used. Cordinate information must be there.

I recommend using the U-Net segmentation of ImageJ plugin (https://lmb.informatik.uni-freiburg.de/resources/opensource/unet/) to get the binary image.

I recommend using ImageJ point tool ROI and Measure command (or U-Net detection of Fiji plugin) to get the cordinate information of the cells.

二値化されたtif画像ファイルと細胞の位置を示したcsvファイルの2つが必要。csvファイルのうち6から8列目のみを使用する。座標情報がそこ(6から8列目)に来るようにする。(二次元画像の場合は6から7列目)

二画像の取得にはImageJ pluginのU-Netの使用を勧める。また、細胞の座標情報の取得にはImageJのPoint ROI tool と Measureコマンドを勧める。

Usage

Open "Cell_Splitter.m" and set the parameters ,run the code (F5 or RUN). Select the binary image (tif file).

Image must be the 8 or 16 bit grascale tif image. You can use binary stack tif image for 3D input.

"Cell_Splitter.m"を開いてパラメータを設定したら、F5または実行ボタンで実行する。画像選択画面が現れるので、入力の二値画像を選択する。

画像は8または16bitのグレースケールのtif画像である必要がある。3次元データを使用するときは、スタックのtif画像を入力にする。

Demos

You can use the "demo_image_2D.tif" and "Results.csv" for demos.

"demo_image_2D.tif" と"Results.csv"をデモとして使用できる。

Post processing

結果は16bit画像「CELL_<ファイル名>」で出力されます。値が同じピクセルが同じ細胞領域とされた場所です。

imageJで読み込んで、LookUp tableを「Fire」に変えるとわかりやすいです。

結果で得られた2値画像のskeltonizeにはskelton3Dがお勧めです。(https://jp.mathworks.com/matlabcentral/fileexchange/43400-skeleton3d)

Author

Takehiro Ajioka

E-mail:[email protected]

Affiliation

Division of System Neuroscience, Kobe University of Graduate School of Medicine

神戸大学医学研究科システム生理学分野

cell_splitter's People

Contributors

atakehiro 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.