Giter VIP home page Giter VIP logo

pectoral-muscle-removal-from-mammograms's Introduction

Pectoral Muscle Removal from Mammograms

Pectoral segmentation is important as the pectoral muscle region and the breast region may have similar intensity or texture appearance. Both the the tumor cells and pectoral muscle region tend to be brighter (more dense) than the breast region in the mammogram. Thus, including the pectoral muscle region into breast density quantification may lead to inaccurate breast density estimation.

algorithm-screenshot

Trending in #computervision

algorithm-screenshot

This was my first post on LinkedIn displaying a project. I woke up to this amazing notification on May 26, 2020. I would like to thank all those in my LinkedIn network for showing their support.

Glossary

Mammograms

A mammogram is an X-ray picture of the breast. Doctors use a mammogram to look for early signs of breast cancer. The one shown above is called a mediolateral mammogram.

Pectoral muscle

Pectoral muscles (colloquially referred to as "pecs") are the muscles that connect the front of the human chest with the bones of the upper arm and shoulder.

Canny edge detection

Canny Edge Detection is a popular edge detection algorithm. Using Canny Edge Detector solely for pectoral muscle segmentation produces quite unsatisfactory results. Thus, we use hough transform line detection.

Hough Transfrom

The Hough transform is a technique which can be used to isolate features of a particular shape within an image. Because it requires that the desired features be specified in some parametric form, the classical Hough transform is most commonly used for the detection of regular curves such as lines, circles, ellipses, etc.

Algorithm

algorithm-screenshot

Scope for improvement

  • The algorithm seems to produce satisfactory result on the images. However, not so much on the last image, mammo_5.jpg. This is so because the pectoral region here can not simply be modelled by a single line.
  • We can repeatedly apply this algorithm on such images, and try to chisel away remaining parts of the pectoral muscle in each iteration.
  • The parameters for the shortlisting lines have been chosen manually. However, they can be easily learned given a bigger dataset.

Give me a place to stand, and I shall move the earth. - Archimedes

Give me more data, and I shall learn the parameters. - Me :)

Please refer pectoral-segmentation.ipynb for the complete code. I have tried to explain each step as clearly as I could.

Consider giving a star if you like the documentation. ๐ŸŒŸ๐ŸŒŸ

PRs welcome. โค๏ธ๐Ÿ˜ƒ

Resources and references
  1. Github repo by @anoo6527
  2. Assignment by Suven Consultants and Technology Pvt. Ltd.
  3. Paper: https://www.ncbi.nlm.nih.gov/pmc/articles/PMC6510623/
  4. Paper: https://core.ac.uk/download/pdf/82133766.pdf
  5. Tutorial on Youtube: Computer Vision Basics: Hough Transform | By Dr. Ry @Stemplicity
  6. Scikit-Image Hough Transform tutorial
  7. Science Direct article: https://www.sciencedirect.com/science/article/pii/S1361841518301129

pectoral-muscle-removal-from-mammograms's People

Contributors

gsunit avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

pectoral-muscle-removal-from-mammograms's Issues

List Index Out of Range

At "pectoral_line = shortlisted_lines[0]" line, the error occuring. All graph displayed well but last graph is not.

git

Issues in removing pectoral muscle for my dataset

Hey there.
I have tried your code but it is making some error. it's not giving me correct output as like your input images. I am using the mini-MIMA dataset. can you please help me out.

Error is:
IndexError: list index out of range

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.