How to resize binary matrix
Ältere Kommentare anzeigen
If there is a n x m binary matix with multiple blobs, how do I resize the blobs while still remaining a n x m matrix and such that every individual resized blob's center is at the same pixel location of its previous original sized blob's center?
8 Kommentare
Walter Roberson
am 12 Dez. 2019
What should change about the blobs? What must stay the same?
Ronald Smith
am 12 Dez. 2019
Bearbeitet: Ronald Smith
am 12 Dez. 2019
Walter Roberson
am 12 Dez. 2019
When they are to be enlarged or shrunk, then by how much?
Ronald Smith
am 12 Dez. 2019
Walter Roberson
am 12 Dez. 2019
What should be done if the enlargened blob would merge with another blob?
Ronald Smith
am 12 Dez. 2019
Walter Roberson
am 12 Dez. 2019
figuring out the maximum expansion before merging would happen is a bit complicated -- unless, that is, you are willing to restrict so you would stop expanding as soon as the first merger would happen, with each blob growing by the same rate; the complicated part would be if each blob was to grow independently as much as possible without merging.
Ronald Smith
am 12 Dez. 2019
Antworten (0)
Kategorien
Mehr zu Resizing and Reshaping Matrices finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!