Search found 46 matches

by TedBaker
2018-02-23T17:06:54-07:00
Forum: Users
Topic: -fx return raw values?
Replies: 6
Views: 941

Re: -fx return raw values?

Thanks for those, was just wondering if there was switch as it can be a bit laborious, with long fx statements.

With the precision of the value give by of u, will i get the exact value when I do 65535*u?
by TedBaker
2018-02-23T13:09:55-07:00
Forum: Users
Topic: -fx return raw values?
Replies: 6
Views: 941

-fx return raw values?

Is there a simple way to use the -fx command with raw values rather than normalised, i.e. 0-1

for example

convert rose: -fx 'debug(u)' null

I would like to work with the raw 16bit value stored, or even its 8-bit equivalent, if possible.
by TedBaker
2017-12-27T07:00:01-07:00
Forum: Developers
Topic: Discussion About New Linear and Non-linear Gray
Replies: 8
Views: 4773

Re: Discussion About New sGray

Why not leave the legacy names as is: and introduce lGray, sGray and lRGB then you have Gray, RGB, sRGB as legacy values and new values of lGray for linear Gray, sGray for Gray using the sRGB gamma lRGB for linear RGB basically make it very clear what you mean with the new terms but support the old ...
by TedBaker
2017-12-26T08:27:16-07:00
Forum: Users
Topic: Removing noise from -fx minima.r and maxima.r calculations
Replies: 3
Views: 898

Re: Removing noise from -fx minima.r and maxima.r calculations

How many pixels wide and high? The "-blur 0x7" will take time. Supplying a radius will reduce this, eg "-blur 21x7". Faster still, use integral images (see Windowed mean and standard deviation ), eg: convert in.tiff -process integim -process 'deintegim w 21x21' out.tiff some scans 3000px others 700...
by TedBaker
2017-12-26T06:01:50-07:00
Forum: Users
Topic: Removing noise from -fx minima.r and maxima.r calculations
Replies: 3
Views: 898

Removing noise from -fx minima.r and maxima.r calculations

Analysing film scans I use the values of -fx minima.r, maxima.r, minima.g, maxima.g etc. Is there a fast (these are 50mb files or more), way of calculating these values but removing outliers, (which is noise either from the scanning process or scratches on the original) I am currently using -blur 0x...
by TedBaker
2017-11-27T13:40:47-07:00
Forum: Users
Topic: input Linear RGB specifiy output RGB or sRGB
Replies: 36
Views: 8588

Re: input Linear RGB specifiy output RGB or sRGB

Were are you seeing 6.9.9.24 beta? I am using https://github.com/ImageMagick/ImageMagick.git

I didn't see that tag, or issue etc
by TedBaker
2017-11-27T12:40:14-07:00
Forum: Users
Topic: input Linear RGB specifiy output RGB or sRGB
Replies: 36
Views: 8588

Re: input Linear RGB specifiy output RGB or sRGB

Did an issue/bug reported get created for this?
by TedBaker
2017-11-25T12:24:15-07:00
Forum: Users
Topic: Heap size larger than expected
Replies: 5
Views: 1598

Re: Heap size larger than expected

Thanks fred, I will upgrade at some point. My follow up was just offered as 'way around' the 'issue' by just allocating more memory, than ideal, for grayscale images only. I assume the default limit for memory is set at the physical limit, by increasing it to some sensible amount above the amount of...
by TedBaker
2017-11-24T19:26:55-07:00
Forum: Users
Topic: Heap size larger than expected
Replies: 5
Views: 1598

Re: Heap size larger than expected

Thanks, in which case it seems to make sense to increase the memory limit beyond the physical ram, I have 12G, and

identify -list resource shows Memory: 11.445GiB, changed them convert command too:

convert -limit 20G infile outfile

and no need to for any temporary files.
by TedBaker
2017-11-24T16:23:42-07:00
Forum: Users
Topic: Heap size larger than expected
Replies: 5
Views: 1598

Heap size larger than expected

I have the following 2.3905GB grayscale file. $ identify n10_757_a_full4800_exp1_001.tif n10_757_a_full4800_exp1_001.tif TIFF 27360x43680 27360x43680+0+0 16-bit Grayscale Gray 2.3905GB 0.010u 0:00.000 a simple rotate 90 results seems to require 8.9G? convert -define registry:temporary-path=. -debug ...
by TedBaker
2017-11-13T16:41:43-07:00
Forum: Users
Topic: input Linear RGB specifiy output RGB or sRGB
Replies: 36
Views: 8588

Re: input Linear RGB specifiy output RGB or sRGB

fmw42 wrote:
2017-11-13T14:04:51-07:00
See further updates in my example above.
Thanks fred again for you assistance!
by TedBaker
2017-11-13T13:38:27-07:00
Forum: Users
Topic: input Linear RGB specifiy output RGB or sRGB
Replies: 36
Views: 8588

Re: input Linear RGB specifiy output RGB or sRGB

but which one has the bug? ... I suggest you reduce the commands to the minimum that shows the difference between versions. For example, I suspect the lines with "-poly" have no significance. When you have "-channel" in a command, you should always have a "+channel" after the operations you want re...
by TedBaker
2017-11-13T12:52:18-07:00
Forum: Users
Topic: input Linear RGB specifiy output RGB or sRGB
Replies: 36
Views: 8588

Re: input Linear RGB specifiy output RGB or sRGB

Start simple. Then when you understand that, then add your other clone processing. Which is how I discovered the bug. Tiff does not support RGB colorspace nor gamma=1 My point exactly, pick any tiff file you like, and then process it, with 6.9.7-4, 6.9.9-20 or 6.9.9-23, you would expect the same re...
by TedBaker
2017-11-13T08:29:06-07:00
Forum: Users
Topic: input Linear RGB specifiy output RGB or sRGB
Replies: 36
Views: 8588

Re: input Linear RGB specifiy output RGB or sRGB

Just following up, as there is indeed a bug somewhere. 6.9.7-4 gives a different result than 6.9.9-20, 6.9.9-24 with the use of: convert logo.tif -strip -set colorspace RGB \ -fx "u?u:1" \ -separate \ \( -clone 0 -poly ".1,-1" -poly "1,1.65" \) -swap 0,3 -delete 3 \ \( -clone 1 -poly ".1,-1" -poly "...
by TedBaker
2017-11-13T06:02:30-07:00
Forum: Users
Topic: input Linear RGB specifiy output RGB or sRGB
Replies: 36
Views: 8588

Re: input Linear RGB specifiy output RGB or sRGB

Thanks fred, but I don't think my post got the point across, and I am still confused what the rules are, or in fact if there is a bug somewhere... 6.9.7-4 The first part of my example probably caused confusion, so lets start with a tif file which I want to consider as linear. My understanding is the...