SkillAgentSearch skills...

DABS

[Tool] Diagnosis and analysis of osteocyte structure, 2019 SRTP Project

Install / Use

/learn @ImKeTT/DABS
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

What is it ?

2019 Student Reaserch Training Program (SRTP) project: Diagnosis and analysis of bone structure. Supervised by Prof.Wenxi Liu ,Fuzhou University. Osteocyte images provieded by Dr.Junning Chen , Biomedical engineering ,University of Exeter.

What we've done ?

The purpose is to do the segmentation of osteocyte cell images. Since the similar work hasn't been conducted using neural network. We initialy planned to apply U-net to do the segmentation. After that, we did some modification (add neurals to fill the iconic U gap between encoder layers and decoder layers) to the network structure to strengthen the connection and see what may happen to the results. And surprisingly results were not bad consider the number of our mini data set.

  • Stage1: Label raw osteocyte images using TINA and Amira manually. Since our mini data set only contain 135 images(here), it's not hard to draw the labels. Then we started training for 20 epochs (2000 iterations per epoch), thats total 40000 times iterations. And our training loss came to a fair 0.5816 with average error rate 2.635%.
  • Stage 2: Continue with the training until the training epochs reached 65. That's total $1.3\times10^5$ times iterations, with average training loss 0.4024. Applying the latest weights and parameters the error rate declined to 2.560% .
  • Stage 3: Apply the modification, and continue training.

What can you see?

Here are some examples of our outcomes, just take a look ! ( use ImageChops.difference() to compare)

Label Prediction Distinction

<img src="result/compare-pic/compare_2/0.png">

Want to have a more intuitive look?

<img src="result/loss-error-curve/intuitive.gif">

​ Loop (Label$\to$Prediction$\to$Distinction)

You can always have a try !

  • Want to see how the segmentation is generated ? Apply model.ckpt from train-saver/dataresult9 to src/demo_ratio_data.ipynb to get the result segmentation immediately .
  • Want to train the network on your own ? Change path in src/network/unet.py as well as the corresponding ones in src/demo_ratio_data.ipynb click the run bottom and have a try !
  • What about data visualization and analysis processes ? All in src/demo_ratio_data.ipynb.

What should be improved ?

More work need to be done.

  • Our dataset is limited in number.
  • We didn't consider how deep the ConvNet may be most suitable for the segmentation result.
  • The modification is in processing.

PS: The reporitory has NOT completed for now.

Related Skills

View on GitHub
GitHub Stars5
CategoryEducation
Updated1y ago
Forks0

Languages

Jupyter Notebook

Security Score

60/100

Audited on Feb 22, 2025

No findings