Search found 88 matches

by imaggie
2012-07-08T02:30:38-07:00
Forum: Users
Topic: crash while freeing memory
Replies: 9
Views: 14202

Re: crash while freeing memory

Just built the new beta and it now behaves as expected.

Thanks for the quick bugfix.
:D
by imaggie
2012-07-07T06:28:30-07:00
Forum: Users
Topic: crash while freeing memory
Replies: 9
Views: 14202

Re: crash while freeing memory

BTW where are download instructions for beta ? I'm running for lastest distro tarballs now.
by imaggie
2012-07-07T06:24:49-07:00
Forum: Users
Topic: crash while freeing memory
Replies: 9
Views: 14202

Re: crash while freeing memory

Hey fast work. Thanks.

Glad I was able to help you locate the problem.
by imaggie
2012-07-07T02:15:52-07:00
Forum: Users
Topic: crash while freeing memory
Replies: 9
Views: 14202

Re: crash while freeing memory

A similar snip from the same source image gets processed without problems. ./cepstrum -G cygale-eye.png cygale-eye_cep.gif ... Region: 47 out of 49 Region: 48 out of 49 Region: 49 out of 49 variable dump before last operation:\n 10000 ./fftcepstrum_1_31215.pfm 10000 117x117 -58-58 cygale-eye_cep.gif...
by imaggie
2012-07-07T02:08:31-07:00
Forum: Users
Topic: crash while freeing memory
Replies: 9
Views: 14202

Re: crash while freeing memory

Here is a pfm generated by cepstrum script that causes the crash http://piments.com/tmp/fftcepstrum_1_30628.pfm convert ./fftcepstrum_1_30628.pfm \( -size 75x75 xc:black \) +ift $outfile Now whatever the script has put into that file I would suggest IM should handle it better than the crash. This do...
by imaggie
2012-07-07T00:48:14-07:00
Forum: Users
Topic: crash while freeing memory
Replies: 9
Views: 14202

Re: crash while freeing memory

irrespective of what Fred's script is doing, there seems to be an attempt to free something that has already been freed or not malloced in the first place.

This should be fixed.
Here is the image in question.

http://i47.tinypic.com/j76fli.png
by imaggie
2012-07-06T02:54:47-07:00
Forum: Users
Topic: crash while freeing memory
Replies: 9
Views: 14202

crash while freeing memory

Hi, I have been using ceptstrum script from http://www.fmwconcepts.com/imagemagick/ It usually works but some images cause imagemagick to dump out: ... Region: 46 out of 49 Region: 47 out of 49 Region: 48 out of 49 Region: 49 out of 49 *** glibc detected *** convert: free(): invalid next size (norma...
by imaggie
2012-02-02T08:47:56-07:00
Forum: Users
Topic: fft of linear array
Replies: 10
Views: 19535

Re: fft of linear array

Thanks magick, that was indeed where I was going wrong. While we're here I should flag that this usage seems to be displaying a significant memory leak. I have a script doing the above on an "image" of about 1994x1 grey pixels. It seems to be producing the correct results as verified again...
by imaggie
2012-01-31T09:25:49-07:00
Forum: Users
Topic: fft of linear array
Replies: 10
Views: 19535

Re: fft of linear array

That is the first value 341380 is TOO BIG! However even on my machine I get NO error!!! I did not spot that but it's irrelevant to this issue. Spec says to be as flexible as possible on input and IM seems to be complying and making a sensible truncation. OK , it looks like I messed up trying to ext...
by imaggie
2012-01-29T10:12:49-07:00
Forum: Users
Topic: fft of linear array
Replies: 10
Views: 19535

Re: fft of linear array

Hi Anthony, there is definitely a problem with a spurious error on PGM input. I thought it was me before since I had let lines go beyond 70 chars, which I found is not strictly applying the spec. However, having checked it all over and put one datum on each line I still get the error about headers. ...
by imaggie
2012-01-25T13:33:22-07:00
Forum: Users
Topic: fft of linear array
Replies: 10
Views: 19535

Re: fft of linear array

Thanks for the hints, Anthony. The PGM error was my bad, sorry. I'm using HDRI and built everything using ASCII so it was easier to debug. Since absolute accuracy is probably not critical it'll probably stay like that now. But thanks for pointing out PG format , I was unaware of that and thought PGM...
by imaggie
2012-01-20T19:31:47-07:00
Forum: Users
Topic: fft of linear array
Replies: 10
Views: 19535

Re: fft of linear array

Thanks Fred, that script did not do really what I wanted . Just for reference I did manage to get IM to do my FFT on some time series data by convincing it it was one pixel high grey-scale image. I had to scale the data to 65535 first (echo "P2 ${w} 1 65535 " && cat $DATA) | conver...
by imaggie
2012-01-18T11:43:31-07:00
Forum: Users
Topic: fft of linear array
Replies: 10
Views: 19535

fft of linear array

Hi, I am trying to use IM to produce the frequency spectrum of a linear array. w=`wc -l <$DATA` mid=$(($w/2)) (echo "P2 ${w} 1 65535 " && cat $INTDATA) | \ convert - -scale ${w}x${w}! -fft -delete 1 -crop ${w}x1+0+$(($w/2)) +repage PGM: - | pnmtopnm -plain this produces credible ou...
by imaggie
2012-01-07T14:13:58-07:00
Forum: Digital Image Processing
Topic: proper scaling of the Jinc filter for EWA use
Replies: 234
Views: 610456

Re: proper scaling of the Jinc filter for EWA use

Are the internal jinc zero-crossing available anywhere ?

Fred sent me a link with the first 5 but I'd like at least 6 or even 7.
by imaggie
2012-01-07T10:49:22-07:00
Forum: Digital Image Processing
Topic: proper scaling of the Jinc filter for EWA use
Replies: 234
Views: 610456

Re: proper scaling of the Jinc filter for EWA use

thanks I'll take a look.