Giter VIP home page Giter VIP logo

Comments (5)

dgvai avatar dgvai commented on August 25, 2024

I also have found the same problem, the solution till I have figured out is to change the image resolution below 500px of width sorts of solving the issue as well as needed to change the sigma value inside apply_canny() function. By doing this changes, I could have removed pectoral muscles of 70% of my dataset. 30% still gives IndexError: list index out of range.

from pectoral-muscle-removal-from-mammograms.

lolo1994a avatar lolo1994a commented on August 25, 2024

i face the same problem with mini mias,any one find the solution for it?

from pectoral-muscle-removal-from-mammograms.

MudasserAfzal avatar MudasserAfzal commented on August 25, 2024

This problem is still not solved. So I used a different approach to my dataset where I split it into grids and only select those grids of the image which has a tumour or segmented ground truth. So through this way, I bypass this process and it helps me to decrease image dimensions as well.

from pectoral-muscle-removal-from-mammograms.

lolo1994a avatar lolo1994a commented on August 25, 2024

Can I know how you split to grid and get tumor or ground truth ?I try to use threshold segmented but not work and i use mini mias dataset

from pectoral-muscle-removal-from-mammograms.

MudasserAfzal avatar MudasserAfzal commented on August 25, 2024

sorry for being late. so basically you can do it by your choice, lets i choose a grid of 500x500 so now i start taking first grid then adding stride of 500 i keep convolving and divide the image. so after that i only select the ones in which pixel values are 1 otherwise i discard. similarly i do the same with the original feature image where i consider the same grid size and select the one where there exist 1 in corresponding ground truth.

from pectoral-muscle-removal-from-mammograms.

Related Issues (3)

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.