GithubHelp home page GithubHelp logo

Bitmaps as masks...? about pivlab HOT 8 CLOSED

shrediquette avatar shrediquette commented on May 30, 2024
Bitmaps as masks...?

from pivlab.

Comments (8)

Shrediquette avatar Shrediquette commented on May 30, 2024 1

More and more people are requesting this feature. The problem from my point if view is that it will be hard to properly display bitmap masks in Matlab. Transparent overlays will not be possible anymore.

I think the best solution would be to allow for two types of masks simultaneously: the polygon mask as it is now, and an additional bitmap mask that has limited display features (it will just be multiplied with the original image, so masked regions appear black).

I will simply add an extra input variable to all relevant functions containing the bitmap mask.

The bitmap masks should be generated outside Matlab. But maybe I can add an extra small GUI that allows to apply several steps of imopen, imerode etc. to the images. And functionality to calculate the average intensity and process that etc. Would be awesome if the user could drag and drop and rearrange processing items to a list... Is that possible with the "new" app designer?

Or even automatic functions from other contributors like this one:
https://de.mathworks.com/matlabcentral/fileexchange/59655-pod-based-background-removal-for-particle-image-velocimetry

from pivlab.

Shrediquette avatar Shrediquette commented on May 30, 2024

Displaying two pixel images with transparency seems to be possible:
https://de.mathworks.com/company/newsletters/articles/image-overlay-using-transparency.html

from pivlab.

Shrediquette avatar Shrediquette commented on May 30, 2024

Gabor filters for automatic masks:
https://de.mathworks.com/content/dam/mathworks/tag-team/Objects/p/88395_93008v00_Texture_Gabor_Filters_2016.pdf

All this would be possible with pixel masks...

from pivlab.

Shrediquette avatar Shrediquette commented on May 30, 2024

https://de.mathworks.com/help/images/Segment-Image-By-Drawing-Regions.html

Maybe use preexisting Matlab Apps?

from pivlab.

Shrediquette avatar Shrediquette commented on May 30, 2024

Texture filters:
https://de.mathworks.com/help/images/texture-segmentation-using-texture-filters.html

from pivlab.

Shrediquette avatar Shrediquette commented on May 30, 2024

I should definitely use the built-in ROI tools of Matlab. These may already combine pixel masks and polygon masks if I get it correctly:

https://de.mathworks.com/help/images/subsample-or-simplify-roi.html

from pivlab.

Shrediquette avatar Shrediquette commented on May 30, 2024

https://de.mathworks.com/help/images/use-freehand-rois-to-refine-segmentation-masks.html

from pivlab.

Shrediquette avatar Shrediquette commented on May 30, 2024

Implemented in 3.0

from pivlab.

Related Issues (20)

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.