Assignment 14.1.3: Blobs

Disclaimer: Dieser Thread wurde aus dem alten Forum importiert. Daher werden eventuell nicht alle Formatierungen richtig angezeigt. Der ursprüngliche Thread beginnt im zweiten Post dieses Threads.

Assignment 14.1.3: Blobs
In 14.1.3 one is tasked with computing the Euclidian loss between two blobs.

For this I would like to access all values stored in that blob but I can’t figure out how to retrieve them from the blob. There is obviously a function getValue but to use this properly I would have to know of what dimension the blob is and what the bounds for each dimension are.

Can someone help please?


You can just access the sizes:

        print(blob.width)
        print(blob.height)
        print(blob.channels)
        print(blob.numSize)

Ok thanks!