U-net for image segmentation

80 ビュー (過去 30 日間)
Joseph Stember
Joseph Stember 2017 年 8 月 22 日
コメント済み: Yi-shan 2023 年 7 月 18 日
I was wondering if it is possible to download U-net (https://lmb.informatik.uni-freiburg.de/people/ronneber/u-net/) for use as a pretrained convolutional neural network for Matlab for medical image segmentation.
  2 件のコメント
Christopher Thomas
Christopher Thomas 2018 年 6 月 25 日
Hi Joseph Stember, did you get U-net downloaded and working in Matlab?
HARADHAN CHEL 2020 年 3 月 6 日
In matlab documentation, it is clearly written how to build and train a U-net network when the input image and corresponding labelled images are stored into two different folders. But Surprisingly it is not described how to test an image for segmentation on the trained network. For testing images, which command we need to use? is it semanticseg? . Unfortunately this method is not working and not producing any result.


回答 (3 件)

Moucheng Xu
Moucheng Xu 2018 年 8 月 16 日
I think you can look at this one: https://www.mathworks.com/matlabcentral/answers/uploaded_files/107430/createUnet.m
This is a function I found online by mathworks for a modified version U net, I reproduced my own implementation of U net referring to this function so I could make other versions.
  3 件のコメント
Yan Ma
Yan Ma 2019 年 9 月 10 日
HI Moucheng, I have downloaded the code from the Internet.It generated a U-net network.I want to know how can I ues the LayerGraph to train the dataset?
mohd akmal masud
mohd akmal masud 2021 年 8 月 12 日
編集済み: mohd akmal masud 2021 年 8 月 12 日
Hi Moucheng Xu,
Is it this code can run in Matlab?


Kris Fedorenko
Kris Fedorenko 2017 年 8 月 25 日
Hi Joseph,
According to the documentation of u-net, you can download the ready trained network, the source code, the matlab binaries of the modified caffe network, all essential third party libraries and the matlab-interface for overlap-tile segmentation. Best bet would be to use the same setup as recommended by u-net, i.e. Ubuntu Linux 14.04 and Matlab 2014b (x64).
You might also find of interest the image segmentation functionality in the Image Processing Toolbox:
Hope this helps!
  3 件のコメント
Ahmed 2020 年 10 月 7 日
Hi Chris,
I want to apply UNet to segment weed plants, how can I label the images?
Yi-shan 2023 年 7 月 18 日
use the image labeler


Birju Patel
Birju Patel 2022 年 6 月 9 日
The network you pointed to was trained in Caffe. You can use importCaffeNetwork to import this pretrained U-Net network:


Help Center および File ExchangeImage Data Workflows についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by