Search found 7 matches

by Andi34
2018-11-04T17:24:42-07:00
Forum: Users
Topic: convert -alpha off creates strange TIFF
Replies: 2
Views: 3573

Re: convert -alpha off creates strange TIFF

It seems that Mac OS' Finder cannot deal with large TIFFs (in my case > 5000x3000) that are LZW compressed. The "enfuse" utility creating the original file produced an LZW compressed 4-channel 16-bit TIFF (despite called with --compression=none ) which is a bad choice. identify -verbose is...
by Andi34
2018-10-31T11:35:03-07:00
Forum: Users
Topic: convert -alpha off creates strange TIFF
Replies: 2
Views: 3573

convert -alpha off creates strange TIFF

I completely remove the alpha channel of a TIFF resulting from a tool that will only output 4-channel TIFFs by convert inputimg -alpha off outputimg (It seems to work well with the same file as input and output.) The problem is that Mac OS' (10.11) Finder preview will only show a completely black fi...
by Andi34
2018-10-29T13:56:39-07:00
Forum: Users
Topic: Find areas of interest in an image
Replies: 6
Views: 5243

Re: Find areas of interest in an image

To complete my command - example:

Code: Select all

convert inputimg -colorspace Gray -auto-gamma -sharpen 2x1 -statistic StandardDeviation 3x3 outputimg
It's useful to append -contrast-stretch 0x0 or -normalize after -statistic ..., else the highest luminance will be very low for smaller geometries.
by Andi34
2018-10-28T12:35:45-07:00
Forum: Users
Topic: Find areas of interest in an image
Replies: 6
Views: 5243

Re: Find areas of interest in an image

Yes, this is what I tested some hours ago:

Code: Select all

convert ... -colorspace Gray -auto-gamma -sharpen 2x1 -statistic StandardDeviation
Your post is very helpful to find a performant solution, thank you for sharing!
by Andi34
2018-10-28T11:01:11-07:00
Forum: Users
Topic: Find areas of interest in an image
Replies: 6
Views: 5243

Find areas of interest in an image

Is there a special command to get areas of interest (e. g. by finding clusters of high contrast) in ImageMagick?
I imagine a command like this

Code: Select all

convert -interest 3 image
where -interest is the maximum number of areas with the highest interest to be found, the output would be a crop geometry.
by Andi34
2018-10-28T07:14:06-07:00
Forum: Users
Topic: convert with 2-dimensional "append" does nothing
Replies: 1
Views: 2474

Re: convert with 2-dimensional "append" does nothing

In the meantime it works in the way described here. My post could be deleted.
by Andi34
2018-10-28T06:57:35-07:00
Forum: Users
Topic: convert with 2-dimensional "append" does nothing
Replies: 1
Views: 2474

convert with 2-dimensional "append" does nothing

I'm building a little script that should combine clips from different positions from a large image. First, I build several clips like this: convert "$infile" -crop "${box_w}x${box_h}+${x}+${y}" "$clipFile" Along with this I build the final command that appends all those...