I need to add a new matrix to a pre-existing matrix, but in its dimensional coordinate. I know this is hard to understand, so let's look at an example:
I have a matrix like this:
480x640x3
And I want to add the following:
480x640x6
As a result, we get: (6 + 3 = 9)
480x640x9
As you can see, he adds, but in the third dimension.
source share