Réponse apportée
reshape and sum multi-dimensional matrix
Hi, I think what you're trying to do can be accomplished without reshaping the multi-dimensional matrix. % Initializing 20x...

environ 6 ans il y a | 1

Réponse apportée
How to change pixel value to "1" on the pixels of the background (from "0") neighboring the pixels of the object?
Hi, I'm assuming that the dilation operation you want to accomplish will be modeled with the structuring element 'diamond' of pi...

environ 6 ans il y a | 0

| A accepté