Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
/ UNET Public

A package to generate and train a UNET deep convolutional network for 2D and 3D image segmentation

License

Notifications You must be signed in to change notification settings

mfroeling/UNET

Repository files navigation

UNET

DOI contributions welcome Hits

Notice

This package will no longer be developed!

Its main functionality generating UNETs has been integrated in QMRITools in the SegmentationTools package. The last update included a more flexible down sampling schedule for and some other customizations for UNET generation. It has been a playground for development learning and testing.

A package to generate and train a UNET deep convolutional network for 2D and 3D image segmentation

Information

UNET is developed for Mathematica. It contains the following toolboxes:

  • UnetCore
  • UnetSupport

Documentation of all functions and their options is fully integrated in the Mathematica documentation. The toolbox always works within the latest version of Mathematica and does not support any backward compatibility.

Install toolbox

Install the toolbox in the Mathematica UserBaseDirectory > Applications.

FileNameJoin[{$UserBaseDirectory, "Applications"}]

Using the toolbox

The toolbox can be loaded by using <<UNET`

The notebook UNET.nb shows examples of how to use the toolbox on artificially generated 2D data. There are also examples how to visualize the layer of your trained network and how to visualize the training itself.

Functionality

The network supports multi channel inputs and multi class segmentation.

  • UNET generates a UNET convolutional network.

  • Convolution blocks: The toolbox contains five different convolution blocks that build up the network: UNET, UResNet, RestNet, UDenseNet, DensNet.
    split data

  • Network complexity for each of the blocks and for 2D and 3D UNET. UNET complexity

  • SplitTrainData splits the data and labels into training, validation and test data.
    split data

  • TrainUNET trains the network.
    Train Unet

  • Training is done with random batch selection that allows for on the fly data augmentation.
    Train Unet

Visualization

Example

*Example: 3D segmentation of lower leg muscles using MRI data.
Automated 3D muscle segmentation using UNET / RESNET using DIXON MRI data

License

MIT

Some code was based on this blog post

About

A package to generate and train a UNET deep convolutional network for 2D and 3D image segmentation

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

AltStyle によって変換されたページ (->オリジナル) /