Search found 9 matches
- 2017-11-17T00:23:34-07:00
- Forum: Users
- Topic: Compare -FUZZ <- how it is calculated
- Replies: 20
- Views: 31831
Re: Compare -FUZZ <- how it is calculated
The -metric AE is completely different to PAE. AE only returns a boolean (error or not-error) result, and a find count of the number of pixels. So normally is ANY pixel is different it is different! [b]compare xc:black xc:cyan -metric AE null:[/b] 1 However AE is one of the few metrics effected by ...
- 2017-11-15T00:55:13-07:00
- Forum: Users
- Topic: Compare -FUZZ <- how it is calculated
- Replies: 20
- Views: 31831
Re: Compare -FUZZ <- how it is calculated
You can set the output depth with -depth or +depth, but: JPEG is always 8 bits/channel. GIF is up to 256 colours, each of which is 8 bits/channel. PNG is either 8 or 16. TIFF is anything. Within those limits, the output depth is often set to the input depth. For PNG files, IM may reduce the bit ...
- 2017-11-13T11:47:10-07:00
- Forum: Users
- Topic: Compare -FUZZ <- how it is calculated
- Replies: 20
- Views: 31831
Re: Compare -FUZZ <- how it is calculated
So by default IM write output as Q16?
And if i use:
magick compare -metric PAE -fuzz 0% 1px1st.png 1px2nd.png -depth 16 1pxDiff.png
This should output Q8 number not Q16?
And if i use:
magick compare -metric PAE -fuzz 0% 1px1st.png 1px2nd.png -depth 16 1pxDiff.png
This should output Q8 number not Q16?
- 2017-11-13T10:55:53-07:00
- Forum: Users
- Topic: Compare -FUZZ <- how it is calculated
- Replies: 20
- Views: 31831
Re: Compare -FUZZ <- how it is calculated
Using Windows, in properties in Bit Depth there is 24bit (8bit per channel).
In Photoshop/Gimp there is also 8bit per channel when i'm using color sample tool.
What about function?
In Photoshop/Gimp there is also 8bit per channel when i'm using color sample tool.
What about function?
- 2017-11-13T10:20:36-07:00
- Forum: Users
- Topic: Compare -FUZZ <- how it is calculated
- Replies: 20
- Views: 31831
Re: Compare -FUZZ <- how it is calculated
I don't know what formula gives you 6502500. I used this formula: "%[fx:(100)*sqrt( ( (u.r-v.r)^2 + (u.g-v.g)^2 + (u.b-v.b)^2 )*u.a*v.a/3 + (u.a-v.a)^2 ) ]%%" I thought that 100 = fuzz 100%. I think here i might have error. I just want to put for example -fuzz 3% and then i know that this is equal ...
- 2017-11-13T09:28:01-07:00
- Forum: Users
- Topic: Compare -FUZZ <- how it is calculated
- Replies: 20
- Views: 31831
Re: Compare -FUZZ <- how it is calculated
I used GIMP to creat 1x1 image. Then i fill one image with 0,0,0 (RGB). Second image i fill with 255,255,255. To compare i used: magick compare -metric PAE -fuzz 0% 1px1st.png 1px2nd.png 1pxdiff.png 65535 (1) As output i get 65535 (1). So with 100% fuzz or with fuzz 65535 i should get both pixels ...
- 2017-11-13T08:18:04-07:00
- Forum: Users
- Topic: Compare -FUZZ <- how it is calculated
- Replies: 20
- Views: 31831
Re: Compare -FUZZ <- how it is calculated
For my Excel file i used:
fx:(100)*sqrt( ( (u.r-v.r)^2 + (u.g-v.g)^2 + (u.b-v.b)^2 )*u.a*v.a/3 + (u.a-v.a)^2 )
For IM i used: magick compare -metric PAE -fuzz 0% 1px1st.png 1px2nd.png 1pxdiff.png
This is 1x1px image.
fx:(100)*sqrt( ( (u.r-v.r)^2 + (u.g-v.g)^2 + (u.b-v.b)^2 )*u.a*v.a/3 + (u.a-v.a)^2 )
For IM i used: magick compare -metric PAE -fuzz 0% 1px1st.png 1px2nd.png 1pxdiff.png
This is 1x1px image.
- 2017-11-13T07:09:24-07:00
- Forum: Users
- Topic: Compare -FUZZ <- how it is calculated
- Replies: 20
- Views: 31831
Re: Compare -FUZZ <- how it is calculated
Hi again, Thank You both for explaining all things but... Unfortunately it mismatch with my excel file witch i did based on Formula used in IM. I made 1x1 image. For px 0,0,0,255 and 255,255,255,255 i've got 6 502,5 with Fuzz 1% and 6 502 500 with Fuzz 100%. Based on above from black to white range ...
- 2017-11-10T05:51:13-07:00
- Forum: Users
- Topic: Compare -FUZZ <- how it is calculated
- Replies: 20
- Views: 31831
Compare -FUZZ <- how it is calculated
Hi everyone, I need to know what does some values mean. For example: 1) magick compare -metric AE -fuzz 0% -extract 350x200+459+175 Org.png Compare.png OrgDiff00.png 2) magick compare -metric AE -fuzz 0.5% -extract 350x200+459+175 Org.png Compare.png OrgDiff05.png 3) magick compare -metric AE -fuzz ...