Re: [Numpy-discussion] meaning of accumulation/normalisation

2008-04-13 Thread wilson
the Frobenius norm, > Which is matlab speak for sqrt(trace(dot(X.T, X))) thanks for that one Chuck.. 1. i have seen similar normailzations in most image processing code..what exactly is the purpose of such normalization?before making images these values will have to be reprocessed to get the pix

Re: [Numpy-discussion] meaning of accumulation/normalisation

2008-04-11 Thread wilson
> > newul=ul/norm >>the java doc mentions that by the above steps ul is normalised to unit length (vector length) > Umm, not quite, it is missing a square root. You can get the same result by > using the Frobenius norm thanks Chuck.. i found the norm as you advised and then found newul=ul/norm

Re: [Numpy-discussion] meaning of accumulation/normalisation

2008-04-10 Thread Charles R Harris
On Thu, Apr 10, 2008 at 4:18 PM, wilson <[EMAIL PROTECTED]> wrote: > hi > i came across some image processing code in java and tried to > duplicate the operation on an ndarray.the array is supposed to contain > pixel values of a gryscale image generated by the program. however the > code does some

[Numpy-discussion] meaning of accumulation/normalisation

2008-04-10 Thread wilson
hi i came across some image processing code in java and tried to duplicate the operation on an ndarray.the array is supposed to contain pixel values of a gryscale image generated by the program. however the code does some accumulation operation as below to obtain a value 'norm' ul=array(([],[.