Exercise:Convolution and Pooling
From Ufldl
(→Step 2a: Implement convolution) |
(→Step 2a: Implement convolution) |
||
Line 62: | Line 62: | ||
im = squeeze(images(:, :, channel, imageNum)); | im = squeeze(images(:, :, channel, imageNum)); | ||
- | % Convolve "filter" with "im", adding the result | + | % Convolve "filter" with "im", adding the result to convolvedImage |
- | + | % ---- YOUR CODE HERE ---- | |
+ | |||
+ | |||
+ | % ------------------------ | ||
end | end |