Search found 8 matches

by inwelkin@gmail.com
2015-11-04T15:42:00-07:00
Forum: Users
Topic: identify -format %[mean] gives 65535 on 8-bit gray image
Replies: 4
Views: 2148

Re: identify -format %[mean] gives 65535 on 8-bit gray image

Hi,

Thanks! Yes, I use IM 6.7.8 Q16. Though when I run
identify -verbose gray.jpg ,
I got the output in desired range:
Channel statistics:
Gray:
min: 0 (0)
max: 255 (1)
mean: 5.43318 (0.0213066)
standard deviation: 16.1351 (0.0632749)
Why's the output from the two commands different? Is ...
by inwelkin@gmail.com
2015-11-04T14:44:27-07:00
Forum: Users
Topic: identify -format %[mean] gives 65535 on 8-bit gray image
Replies: 4
Views: 2148

identify -format %[mean] gives 65535 on 8-bit gray image

Hi,

I have an image with following info:
gray.jpg JPEG 12558x8776 12558x8776+0+0 8-bit PseudoClass 256c 1.937MB 0.000u 0:00.000

I am using identify to get mean gray value and standard deviation of this image:
identify -format %[mean]%[standard-deviation] gray.jpg
The results returned are ...
by inwelkin@gmail.com
2015-05-06T17:10:23-07:00
Forum: Users
Topic: -lat doesn't give binary image
Replies: 6
Views: 2022

Re: -lat doesn't give binary image

Yes, I increased the window size to 35. Looks good. Out of curiosity: why is lat not appropriately performed when input X is omitted?
by inwelkin@gmail.com
2015-05-06T16:54:57-07:00
Forum: Users
Topic: -lat doesn't give binary image
Replies: 6
Views: 2022

Re: -lat doesn't give binary image

-lat 17x17+1% gives binary output. Thanks a lot! Any suggestions why the difference?
I am using IM-6.7.8 on linux.
by inwelkin@gmail.com
2015-05-06T16:39:31-07:00
Forum: Users
Topic: -lat doesn't give binary image
Replies: 6
Views: 2022

-lat doesn't give binary image

I have a jpg image that I want to do lat on.
The command I ran is following: convert img.jpg +compress -colorspace Gray -lat 17 img_lat.tif
The output image is grayscale, instead of binary. Please see the images at the links.
https://drive.google.com/file/d/0B1YGJ15Sy2UNMGRreGNwa1lMNTg/view?usp ...
by inwelkin@gmail.com
2015-03-13T15:14:51-07:00
Forum: Users
Topic: -fill +opaque operator alters size of image (MB)
Replies: 2
Views: 1428

Re: -fill +opaque operator alters size of image (MB)

You are right. Old image has packbits compression. Removed in new image. Thank you!
by inwelkin@gmail.com
2015-03-13T14:57:16-07:00
Forum: Users
Topic: -fill +opaque operator alters size of image (MB)
Replies: 2
Views: 1428

-fill +opaque operator alters size of image (MB)

Hi,

I have a 140MB old.tif image, with 24 bit color depth. I used -fill +opaque operators to change one particular color in the image to a new one, and exported the resulting image new.tif. I saw two strange things:
(1) new.tif is 464MB, much bigger than old.tif. Why would this happen?
(2) new.tif ...