SlideShare a Scribd company logo
1 of 13
U-Net: Convolutional
Network for Segmentation
Malaika Arshad(21PWCSE2086)
Alina khewal(21PWCSE2060)
What does a U-Net do?
Input Image Output Segmentation Map
Learns Segmentation
WHAT IS U-NET ARCHITECTURE?
UNET stands for U-network
UNET is a U shaped encoder-decoder network architecture which consists of four enoder -decoder blocks
and four decoder blocks that are connected via a bridge. U-Net is a deep learning architecture for image
segmentation. It consists of an encoder network, which down samples the input image, and a decoder
network, which up samples the encoded features to the original image size while learning to segment the
image into different classes. The two networks are connected by "skip connections" that concatenate the
encoder features with the corresponding decoder features, allowing the decoder to recover fine-grained
details lost during the down sampling process. U-Net is popular in medical imaging and is widely used
for tasks such as cell segmentation, tissue segmentation, and organ segmentation.
U-NET USAGE FOR DIFFERENT TASKS
• U-Net is a popular deep learning architecture that is primarily used for image
segmentation tasks, but it can also be used for various other tasks such as
1. Medical Image Analysis
2. Computer Vision
3. Generative Models
4. Anomaly Detection
5. Time-series Forecasting
6. Sentiment Analysis
U-Net Architecture
Ronneberger et al. (2015) U-net Architecture
U-Net Architecture
Ronneberger et al. (2015) U-net Architecture
- Increases field of view
- Lose Spatial Information
“Contraction” Phase
U-Net Architecture
Ronneberger et al. (2015) U-net Architecture
- Create High Resolution
Mapping
“Expansion” Phase
U-Net Architecture
Ronneberger et al. (2015) U-net Architecture
Concatenate with high-resolution feature
maps from the Contraction Phase
IMAGE SEGMENTATION
• Image segmentation is commonly used technique in digital image processing
and analytic to partition an image into multiple parts or region often based on
the characteristics of the pixels in the image
• The goal of segmentation is to simplify or change the representation of an image
into something that is more meaningful and easier to analyze.
OOP USED IN DEFINING THE DATA SET IN THE
IMAGE SEGMENTATION
• This code defines a UNet class which is a subclass of nn.Module from PyTorch's Neural Network library. The class has the following
attributes:num_classes - number of classes in the target outputcontracting_11, contracting_21, contracting_31, and contracting_41 - the
1st convolutional layer in each of the 4 contracting path blockscontracting_12, contracting_22, contracting_32, and contracting_42 - the
2nd max pooling layer in each of the 4 contracting path blocksmiddle - the middle convolutional layer of the Unet.
• expansive_11, expansive_21, expansive_31, and expansive_41 - the 1st transposed convolutional layer in each of the 4 expanding path
blocksexpansive_12, expansive_22, expansive_32, and expansive_42 - the 2nd convolutional layer in each of the 4 expanding path
blocksoutput - the final output layer with a convolutional operationThe class has a _init_ method which initializes the UNet class and
sets the number of classes. It also creates the contracting and expanding path blocks using the conv_block method which creates a
sequence of 2 consecutive convolutional layers followed by a ReLU activation function and a batch normalization layer.
• The class has a forward method which implements the forward pass of the UNet. This method passes the input image X through the
contracting path blocks to get the middle layer output and then passes this output through the expanding path blocks to get the final
output. The forward method uses the nn module to perform the required operations
OOP USED IN DEFINING THE MODEL IN THE
IMAGE SEGMENTATION
U-Net Summary
• Contraction Phase
• Reduce spatial dimension, but increases the “what.”
• Expansion Phase
• Recovers object details and the dimensions, which is the “where.”
• Concatenating feature maps from the Contraction phase helps the Expansion
phase with recovering the “where” information.

More Related Content

What's hot

Convolution Neural Network (CNN)
Convolution Neural Network (CNN)Convolution Neural Network (CNN)
Convolution Neural Network (CNN)Suraj Aavula
 
Image Segmentation Using Deep Learning : A survey
Image Segmentation Using Deep Learning : A surveyImage Segmentation Using Deep Learning : A survey
Image Segmentation Using Deep Learning : A surveyNUPUR YADAV
 
Convolutional neural network
Convolutional neural networkConvolutional neural network
Convolutional neural networkMojammilHusain
 
Convolutional Neural Network Models - Deep Learning
Convolutional Neural Network Models - Deep LearningConvolutional Neural Network Models - Deep Learning
Convolutional Neural Network Models - Deep LearningMohamed Loey
 
Image classification using CNN
Image classification using CNNImage classification using CNN
Image classification using CNNNoura Hussein
 
Convolutional Neural Network - CNN | How CNN Works | Deep Learning Course | S...
Convolutional Neural Network - CNN | How CNN Works | Deep Learning Course | S...Convolutional Neural Network - CNN | How CNN Works | Deep Learning Course | S...
Convolutional Neural Network - CNN | How CNN Works | Deep Learning Course | S...Simplilearn
 
Image Segmentation (D3L1 2017 UPC Deep Learning for Computer Vision)
Image Segmentation (D3L1 2017 UPC Deep Learning for Computer Vision)Image Segmentation (D3L1 2017 UPC Deep Learning for Computer Vision)
Image Segmentation (D3L1 2017 UPC Deep Learning for Computer Vision)Universitat Politècnica de Catalunya
 
Digital image processing img smoothning
Digital image processing img smoothningDigital image processing img smoothning
Digital image processing img smoothningVinay Gupta
 
"Semantic Segmentation for Scene Understanding: Algorithms and Implementation...
"Semantic Segmentation for Scene Understanding: Algorithms and Implementation..."Semantic Segmentation for Scene Understanding: Algorithms and Implementation...
"Semantic Segmentation for Scene Understanding: Algorithms and Implementation...Edge AI and Vision Alliance
 
Introduction to object detection
Introduction to object detectionIntroduction to object detection
Introduction to object detectionBrodmann17
 
Point processing
Point processingPoint processing
Point processingpanupriyaa7
 
Convolutional Neural Network (CNN) - image recognition
Convolutional Neural Network (CNN)  - image recognitionConvolutional Neural Network (CNN)  - image recognition
Convolutional Neural Network (CNN) - image recognitionYUNG-KUEI CHEN
 
Chapter 9 morphological image processing
Chapter 9   morphological image processingChapter 9   morphological image processing
Chapter 9 morphological image processingAhmed Daoud
 
Autoencoder
AutoencoderAutoencoder
AutoencoderHARISH R
 
Convolutional Neural Networks : Popular Architectures
Convolutional Neural Networks : Popular ArchitecturesConvolutional Neural Networks : Popular Architectures
Convolutional Neural Networks : Popular Architecturesananth
 
Perceptron (neural network)
Perceptron (neural network)Perceptron (neural network)
Perceptron (neural network)EdutechLearners
 
CNN and its applications by ketaki
CNN and its applications by ketakiCNN and its applications by ketaki
CNN and its applications by ketakiKetaki Patwari
 

What's hot (20)

Convolution Neural Network (CNN)
Convolution Neural Network (CNN)Convolution Neural Network (CNN)
Convolution Neural Network (CNN)
 
Image Segmentation Using Deep Learning : A survey
Image Segmentation Using Deep Learning : A surveyImage Segmentation Using Deep Learning : A survey
Image Segmentation Using Deep Learning : A survey
 
Convolutional neural network
Convolutional neural networkConvolutional neural network
Convolutional neural network
 
Convolutional Neural Network Models - Deep Learning
Convolutional Neural Network Models - Deep LearningConvolutional Neural Network Models - Deep Learning
Convolutional Neural Network Models - Deep Learning
 
Image classification using CNN
Image classification using CNNImage classification using CNN
Image classification using CNN
 
Convolutional Neural Network - CNN | How CNN Works | Deep Learning Course | S...
Convolutional Neural Network - CNN | How CNN Works | Deep Learning Course | S...Convolutional Neural Network - CNN | How CNN Works | Deep Learning Course | S...
Convolutional Neural Network - CNN | How CNN Works | Deep Learning Course | S...
 
Image Segmentation (D3L1 2017 UPC Deep Learning for Computer Vision)
Image Segmentation (D3L1 2017 UPC Deep Learning for Computer Vision)Image Segmentation (D3L1 2017 UPC Deep Learning for Computer Vision)
Image Segmentation (D3L1 2017 UPC Deep Learning for Computer Vision)
 
Digital image processing img smoothning
Digital image processing img smoothningDigital image processing img smoothning
Digital image processing img smoothning
 
"Semantic Segmentation for Scene Understanding: Algorithms and Implementation...
"Semantic Segmentation for Scene Understanding: Algorithms and Implementation..."Semantic Segmentation for Scene Understanding: Algorithms and Implementation...
"Semantic Segmentation for Scene Understanding: Algorithms and Implementation...
 
Introduction to object detection
Introduction to object detectionIntroduction to object detection
Introduction to object detection
 
IMAGE SEGMENTATION.
IMAGE SEGMENTATION.IMAGE SEGMENTATION.
IMAGE SEGMENTATION.
 
Point processing
Point processingPoint processing
Point processing
 
Convolutional Neural Network (CNN) - image recognition
Convolutional Neural Network (CNN)  - image recognitionConvolutional Neural Network (CNN)  - image recognition
Convolutional Neural Network (CNN) - image recognition
 
Chapter 9 morphological image processing
Chapter 9   morphological image processingChapter 9   morphological image processing
Chapter 9 morphological image processing
 
Autoencoder
AutoencoderAutoencoder
Autoencoder
 
Densenet CNN
Densenet CNNDensenet CNN
Densenet CNN
 
Convolutional Neural Networks : Popular Architectures
Convolutional Neural Networks : Popular ArchitecturesConvolutional Neural Networks : Popular Architectures
Convolutional Neural Networks : Popular Architectures
 
Perceptron (neural network)
Perceptron (neural network)Perceptron (neural network)
Perceptron (neural network)
 
CNN and its applications by ketaki
CNN and its applications by ketakiCNN and its applications by ketaki
CNN and its applications by ketaki
 
Mask R-CNN
Mask R-CNNMask R-CNN
Mask R-CNN
 

Similar to U-Netpresentation.pptx

Pres Tesi LM-2016+transcript_eng
Pres Tesi LM-2016+transcript_engPres Tesi LM-2016+transcript_eng
Pres Tesi LM-2016+transcript_engDaniele Ciriello
 
DEEP LEARNING BASED BRAIN STROKE DETECTION
DEEP LEARNING BASED BRAIN STROKE DETECTIONDEEP LEARNING BASED BRAIN STROKE DETECTION
DEEP LEARNING BASED BRAIN STROKE DETECTIONIRJET Journal
 
intro-to-cnn-April_2020.pptx
intro-to-cnn-April_2020.pptxintro-to-cnn-April_2020.pptx
intro-to-cnn-April_2020.pptxssuser3aa461
 
Devanagari Digit and Character Recognition Using Convolutional Neural Network
Devanagari Digit and Character Recognition Using Convolutional Neural NetworkDevanagari Digit and Character Recognition Using Convolutional Neural Network
Devanagari Digit and Character Recognition Using Convolutional Neural NetworkIRJET Journal
 
Handwritten Digit Recognition(Convolutional Neural Network) PPT
Handwritten Digit Recognition(Convolutional Neural Network) PPTHandwritten Digit Recognition(Convolutional Neural Network) PPT
Handwritten Digit Recognition(Convolutional Neural Network) PPTRishabhTyagi48
 
Modern Convolutional Neural Network techniques for image segmentation
Modern Convolutional Neural Network techniques for image segmentationModern Convolutional Neural Network techniques for image segmentation
Modern Convolutional Neural Network techniques for image segmentationGioele Ciaparrone
 
Classification of Images Using CNN Model and its Variants
Classification of Images Using CNN Model and its VariantsClassification of Images Using CNN Model and its Variants
Classification of Images Using CNN Model and its VariantsIRJET Journal
 
Image Classification using Deep Learning
Image Classification using Deep LearningImage Classification using Deep Learning
Image Classification using Deep LearningIRJET Journal
 
Real Time Sign Language Recognition Using Deep Learning
Real Time Sign Language Recognition Using Deep LearningReal Time Sign Language Recognition Using Deep Learning
Real Time Sign Language Recognition Using Deep LearningIRJET Journal
 
Garbage Classification Using Deep Learning Techniques
Garbage Classification Using Deep Learning TechniquesGarbage Classification Using Deep Learning Techniques
Garbage Classification Using Deep Learning TechniquesIRJET Journal
 
Introduction to Convolutional Neural Networks
Introduction to Convolutional Neural NetworksIntroduction to Convolutional Neural Networks
Introduction to Convolutional Neural NetworksParrotAI
 
Analysis of image compression algorithms using wavelet transform with gui in ...
Analysis of image compression algorithms using wavelet transform with gui in ...Analysis of image compression algorithms using wavelet transform with gui in ...
Analysis of image compression algorithms using wavelet transform with gui in ...eSAT Journals
 
Analysis of image compression algorithms using wavelet transform with gui in ...
Analysis of image compression algorithms using wavelet transform with gui in ...Analysis of image compression algorithms using wavelet transform with gui in ...
Analysis of image compression algorithms using wavelet transform with gui in ...eSAT Publishing House
 
A Survey on Image Processing using CNN in Deep Learning
A Survey on Image Processing using CNN in Deep LearningA Survey on Image Processing using CNN in Deep Learning
A Survey on Image Processing using CNN in Deep LearningIRJET Journal
 
Machine Learning - Convolutional Neural Network
Machine Learning - Convolutional Neural NetworkMachine Learning - Convolutional Neural Network
Machine Learning - Convolutional Neural NetworkRichard Kuo
 
IMAGE SEGMENTATION AND ITS TECHNIQUES
IMAGE SEGMENTATION AND ITS TECHNIQUESIMAGE SEGMENTATION AND ITS TECHNIQUES
IMAGE SEGMENTATION AND ITS TECHNIQUESIRJET Journal
 
Object detection with deep learning
Object detection with deep learningObject detection with deep learning
Object detection with deep learningSushant Shrivastava
 

Similar to U-Netpresentation.pptx (20)

Pres Tesi LM-2016+transcript_eng
Pres Tesi LM-2016+transcript_engPres Tesi LM-2016+transcript_eng
Pres Tesi LM-2016+transcript_eng
 
DEEP LEARNING BASED BRAIN STROKE DETECTION
DEEP LEARNING BASED BRAIN STROKE DETECTIONDEEP LEARNING BASED BRAIN STROKE DETECTION
DEEP LEARNING BASED BRAIN STROKE DETECTION
 
Mnist report
Mnist reportMnist report
Mnist report
 
intro-to-cnn-April_2020.pptx
intro-to-cnn-April_2020.pptxintro-to-cnn-April_2020.pptx
intro-to-cnn-April_2020.pptx
 
Devanagari Digit and Character Recognition Using Convolutional Neural Network
Devanagari Digit and Character Recognition Using Convolutional Neural NetworkDevanagari Digit and Character Recognition Using Convolutional Neural Network
Devanagari Digit and Character Recognition Using Convolutional Neural Network
 
Handwritten Digit Recognition(Convolutional Neural Network) PPT
Handwritten Digit Recognition(Convolutional Neural Network) PPTHandwritten Digit Recognition(Convolutional Neural Network) PPT
Handwritten Digit Recognition(Convolutional Neural Network) PPT
 
Modern Convolutional Neural Network techniques for image segmentation
Modern Convolutional Neural Network techniques for image segmentationModern Convolutional Neural Network techniques for image segmentation
Modern Convolutional Neural Network techniques for image segmentation
 
Classification of Images Using CNN Model and its Variants
Classification of Images Using CNN Model and its VariantsClassification of Images Using CNN Model and its Variants
Classification of Images Using CNN Model and its Variants
 
Mnist report ppt
Mnist report pptMnist report ppt
Mnist report ppt
 
Image Classification using Deep Learning
Image Classification using Deep LearningImage Classification using Deep Learning
Image Classification using Deep Learning
 
Real Time Sign Language Recognition Using Deep Learning
Real Time Sign Language Recognition Using Deep LearningReal Time Sign Language Recognition Using Deep Learning
Real Time Sign Language Recognition Using Deep Learning
 
Garbage Classification Using Deep Learning Techniques
Garbage Classification Using Deep Learning TechniquesGarbage Classification Using Deep Learning Techniques
Garbage Classification Using Deep Learning Techniques
 
B.tech_project_ppt.pptx
B.tech_project_ppt.pptxB.tech_project_ppt.pptx
B.tech_project_ppt.pptx
 
Introduction to Convolutional Neural Networks
Introduction to Convolutional Neural NetworksIntroduction to Convolutional Neural Networks
Introduction to Convolutional Neural Networks
 
Analysis of image compression algorithms using wavelet transform with gui in ...
Analysis of image compression algorithms using wavelet transform with gui in ...Analysis of image compression algorithms using wavelet transform with gui in ...
Analysis of image compression algorithms using wavelet transform with gui in ...
 
Analysis of image compression algorithms using wavelet transform with gui in ...
Analysis of image compression algorithms using wavelet transform with gui in ...Analysis of image compression algorithms using wavelet transform with gui in ...
Analysis of image compression algorithms using wavelet transform with gui in ...
 
A Survey on Image Processing using CNN in Deep Learning
A Survey on Image Processing using CNN in Deep LearningA Survey on Image Processing using CNN in Deep Learning
A Survey on Image Processing using CNN in Deep Learning
 
Machine Learning - Convolutional Neural Network
Machine Learning - Convolutional Neural NetworkMachine Learning - Convolutional Neural Network
Machine Learning - Convolutional Neural Network
 
IMAGE SEGMENTATION AND ITS TECHNIQUES
IMAGE SEGMENTATION AND ITS TECHNIQUESIMAGE SEGMENTATION AND ITS TECHNIQUES
IMAGE SEGMENTATION AND ITS TECHNIQUES
 
Object detection with deep learning
Object detection with deep learningObject detection with deep learning
Object detection with deep learning
 

More from NoorUlHaq47

Amazon EC2 is a web service provided by Amazon Web Services (AWS) that offers...
Amazon EC2 is a web service provided by Amazon Web Services (AWS) that offers...Amazon EC2 is a web service provided by Amazon Web Services (AWS) that offers...
Amazon EC2 is a web service provided by Amazon Web Services (AWS) that offers...NoorUlHaq47
 
outcomebasededucation-191011150604.pptx
outcomebasededucation-191011150604.pptxoutcomebasededucation-191011150604.pptx
outcomebasededucation-191011150604.pptxNoorUlHaq47
 
confusion-matrix-180121133502.pptx
confusion-matrix-180121133502.pptxconfusion-matrix-180121133502.pptx
confusion-matrix-180121133502.pptxNoorUlHaq47
 
UNetEliyaLaialy (2).pptx
UNetEliyaLaialy (2).pptxUNetEliyaLaialy (2).pptx
UNetEliyaLaialy (2).pptxNoorUlHaq47
 
ImageSegmentation (1).ppt
ImageSegmentation (1).pptImageSegmentation (1).ppt
ImageSegmentation (1).pptNoorUlHaq47
 

More from NoorUlHaq47 (6)

Amazon EC2 is a web service provided by Amazon Web Services (AWS) that offers...
Amazon EC2 is a web service provided by Amazon Web Services (AWS) that offers...Amazon EC2 is a web service provided by Amazon Web Services (AWS) that offers...
Amazon EC2 is a web service provided by Amazon Web Services (AWS) that offers...
 
outcomebasededucation-191011150604.pptx
outcomebasededucation-191011150604.pptxoutcomebasededucation-191011150604.pptx
outcomebasededucation-191011150604.pptx
 
confusion-matrix-180121133502.pptx
confusion-matrix-180121133502.pptxconfusion-matrix-180121133502.pptx
confusion-matrix-180121133502.pptx
 
UNetEliyaLaialy (2).pptx
UNetEliyaLaialy (2).pptxUNetEliyaLaialy (2).pptx
UNetEliyaLaialy (2).pptx
 
ImageSegmentation (1).ppt
ImageSegmentation (1).pptImageSegmentation (1).ppt
ImageSegmentation (1).ppt
 
SVM (2).ppt
SVM (2).pptSVM (2).ppt
SVM (2).ppt
 

Recently uploaded

Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Educationpboyjonauth
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxthorishapillay1
 
History Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptxHistory Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptxsocialsciencegdgrohi
 
ENGLISH5 QUARTER4 MODULE1 WEEK1-3 How Visual and Multimedia Elements.pptx
ENGLISH5 QUARTER4 MODULE1 WEEK1-3 How Visual and Multimedia Elements.pptxENGLISH5 QUARTER4 MODULE1 WEEK1-3 How Visual and Multimedia Elements.pptx
ENGLISH5 QUARTER4 MODULE1 WEEK1-3 How Visual and Multimedia Elements.pptxAnaBeatriceAblay2
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxSayali Powar
 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Celine George
 
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfEnzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfSumit Tiwari
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionSafetyChain Software
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentInMediaRes1
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Celine George
 
Biting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdfBiting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdfadityarao40181
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Sapana Sha
 
Final demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptxFinal demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptxAvyJaneVismanos
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxNirmalaLoungPoorunde1
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsanshu789521
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdfssuser54595a
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application ) Sakshi Ghasle
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxpboyjonauth
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTiammrhaywood
 

Recently uploaded (20)

Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Education
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptx
 
History Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptxHistory Class XII Ch. 3 Kinship, Caste and Class (1).pptx
History Class XII Ch. 3 Kinship, Caste and Class (1).pptx
 
ENGLISH5 QUARTER4 MODULE1 WEEK1-3 How Visual and Multimedia Elements.pptx
ENGLISH5 QUARTER4 MODULE1 WEEK1-3 How Visual and Multimedia Elements.pptxENGLISH5 QUARTER4 MODULE1 WEEK1-3 How Visual and Multimedia Elements.pptx
ENGLISH5 QUARTER4 MODULE1 WEEK1-3 How Visual and Multimedia Elements.pptx
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
 
Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17
 
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfEnzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory Inspection
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media Component
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
 
Biting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdfBiting mechanism of poisonous snakes.pdf
Biting mechanism of poisonous snakes.pdf
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
 
Final demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptxFinal demo Grade 9 for demo Plan dessert.pptx
Final demo Grade 9 for demo Plan dessert.pptx
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptx
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha elections
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application )
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptx
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
 

U-Netpresentation.pptx

  • 1. U-Net: Convolutional Network for Segmentation Malaika Arshad(21PWCSE2086) Alina khewal(21PWCSE2060)
  • 2. What does a U-Net do? Input Image Output Segmentation Map Learns Segmentation
  • 3. WHAT IS U-NET ARCHITECTURE? UNET stands for U-network UNET is a U shaped encoder-decoder network architecture which consists of four enoder -decoder blocks and four decoder blocks that are connected via a bridge. U-Net is a deep learning architecture for image segmentation. It consists of an encoder network, which down samples the input image, and a decoder network, which up samples the encoded features to the original image size while learning to segment the image into different classes. The two networks are connected by "skip connections" that concatenate the encoder features with the corresponding decoder features, allowing the decoder to recover fine-grained details lost during the down sampling process. U-Net is popular in medical imaging and is widely used for tasks such as cell segmentation, tissue segmentation, and organ segmentation.
  • 4. U-NET USAGE FOR DIFFERENT TASKS • U-Net is a popular deep learning architecture that is primarily used for image segmentation tasks, but it can also be used for various other tasks such as 1. Medical Image Analysis 2. Computer Vision 3. Generative Models 4. Anomaly Detection 5. Time-series Forecasting 6. Sentiment Analysis
  • 5. U-Net Architecture Ronneberger et al. (2015) U-net Architecture
  • 6. U-Net Architecture Ronneberger et al. (2015) U-net Architecture - Increases field of view - Lose Spatial Information “Contraction” Phase
  • 7. U-Net Architecture Ronneberger et al. (2015) U-net Architecture - Create High Resolution Mapping “Expansion” Phase
  • 8. U-Net Architecture Ronneberger et al. (2015) U-net Architecture Concatenate with high-resolution feature maps from the Contraction Phase
  • 9. IMAGE SEGMENTATION • Image segmentation is commonly used technique in digital image processing and analytic to partition an image into multiple parts or region often based on the characteristics of the pixels in the image • The goal of segmentation is to simplify or change the representation of an image into something that is more meaningful and easier to analyze.
  • 10. OOP USED IN DEFINING THE DATA SET IN THE IMAGE SEGMENTATION
  • 11. • This code defines a UNet class which is a subclass of nn.Module from PyTorch's Neural Network library. The class has the following attributes:num_classes - number of classes in the target outputcontracting_11, contracting_21, contracting_31, and contracting_41 - the 1st convolutional layer in each of the 4 contracting path blockscontracting_12, contracting_22, contracting_32, and contracting_42 - the 2nd max pooling layer in each of the 4 contracting path blocksmiddle - the middle convolutional layer of the Unet. • expansive_11, expansive_21, expansive_31, and expansive_41 - the 1st transposed convolutional layer in each of the 4 expanding path blocksexpansive_12, expansive_22, expansive_32, and expansive_42 - the 2nd convolutional layer in each of the 4 expanding path blocksoutput - the final output layer with a convolutional operationThe class has a _init_ method which initializes the UNet class and sets the number of classes. It also creates the contracting and expanding path blocks using the conv_block method which creates a sequence of 2 consecutive convolutional layers followed by a ReLU activation function and a batch normalization layer. • The class has a forward method which implements the forward pass of the UNet. This method passes the input image X through the contracting path blocks to get the middle layer output and then passes this output through the expanding path blocks to get the final output. The forward method uses the nn module to perform the required operations
  • 12. OOP USED IN DEFINING THE MODEL IN THE IMAGE SEGMENTATION
  • 13. U-Net Summary • Contraction Phase • Reduce spatial dimension, but increases the “what.” • Expansion Phase • Recovers object details and the dimensions, which is the “where.” • Concatenating feature maps from the Contraction phase helps the Expansion phase with recovering the “where” information.