Selected Applications of the Multi-layer Perceptrons

Abstract

weight matrices have been appropriately selected, any image can be quickly encoded using the W matrix, and then decoded (reconstructed) using the W matrix. 6.1.1 Training procedure The simplest image coding system consists of a two-layer perceptron. During training procedure data from a representative image, or a class of images is encoded into a structure of the hidden and output weight matrices. Assume that an image, F , used in training is of size R C and consists of r c blocks. 1. The first step is to convert a block matrix F into a matrix X of size p containing training vectors, x(n), formed from image blocks. Note that p = r c , and p N = R r c (n) x X p Use the following MATLAB function to perform this conversion: X = blkM2vc(F, [r c]); function vc = blkM2vc(M, blkS) [rr cc] = size(M) ; r = blkS(1) ; c = blkS(2) ; if (rem(rr, r) = 0) | (rem(cc, c) = 0) error('blocks do not fit into matrix') end nr = rr/r ; nc = cc/c ; rc = r*c ; vc = zeros(rc, nr*nc

    Similar works

    Full text

    thumbnail-image

    Available Versions