Search found 8887 matches

by anthony
2016-08-10T23:03:37-07:00
Forum: Users
Topic: Min and max values of LAB channels
Replies: 6
Views: 7459

Re: Min and max values of LAB channels

"identify" is a 'simplified' command for quick use, and when it comes down to it is equivalent to convert image options info: Basically you can do a lot more with "convert" (or in IMv7 "magick"), for example process the image in some way before getting information about...
by anthony
2016-08-10T16:27:27-07:00
Forum: Users
Topic: Min and max values of LAB channels
Replies: 6
Views: 7459

Re: Min and max values of LAB channels

The -channel values refer to the channels for colorspaces RGBA or CMYKA. Thus 'A' in the original example refers to the alpha channel (which is probably pure white or opaque) and not the 'A' channel of "LAB". To get the 'A' channel of 'LAB' you would need to use name for the second RGB cha...
by anthony
2016-07-12T16:29:19-07:00
Forum: Users
Topic: How to check image color or back and white
Replies: 45
Views: 135938

Re: How to check image color or back and white

I can see that the stddev of saturation basically halved in the two images with red mid-tones. There were also a reduction in both color images showing that they had overall more red colors than blue-green colors. Judging by the sudden jump in 'color counts' (N) in the 'lq' I can see you did apply t...
by anthony
2016-07-11T16:46:06-07:00
Forum: Users
Topic: How to check image color or back and white
Replies: 45
Views: 135938

Re: How to check image color or back and white

Beware of the standard deviation of the hue, as this wraps around at 360 degrees. Yes, but these image colorizations are often centered around a particular degree distant from 0° and 360°, in addition (I think) the exclusion of the first and last hue values from the histogram should attenuate this ...
by anthony
2016-06-30T19:19:51-07:00
Forum: Users
Topic: How to check image color or back and white
Replies: 45
Views: 135938

Re: How to check image color or back and white

Hmm yes you are right. it is essentially a greyscale image with color highlight. or perhaps with a parabolic curve so mid-greys -> some highlight color. So colors would generally all lie in a plane (or curved path), rather than as a line. The same sort of vector test (planar rather than linear) woul...
by anthony
2016-06-30T17:54:20-07:00
Forum: Users
Topic: How to check image color or back and white
Replies: 45
Views: 135938

Re: How to check image color or back and white

Image 3 can only be separated by doing a test that looks to see if the color form a line in 3D colorspace. That is a color gradient. I have done this though it is tricky. I talk about it in.. http://www.imagemagick.org/Usage/compare/#type_linear The script was written in perl, and uses the perl Math...
by anthony
2016-05-31T20:36:19-07:00
Forum: Users
Topic: False positive for grayscale images using the "saturation test"
Replies: 11
Views: 14834

Re: False positive for grayscale images using the "saturation test"

The break up method is interesting. You are basically looking for the average saturation of a area that is appreciable to the 50x50 tile. In other words you want a largish spot of color and not just a single pixel of color. Hmmm, How about this. Take your image and resize it to 1:50 of the original ...
by anthony
2016-05-29T18:12:35-07:00
Forum: Users
Topic: Paint bucket tool
Replies: 20
Views: 20865

Re: Paint bucket tool

Examples of using Flood Fill (both Draw and Operator)
http://www.imagemagick.org/Usage/color_ ... dfill_draw
by anthony
2016-05-29T17:52:14-07:00
Forum: Users
Topic: False positive for grayscale images using the "saturation test"
Replies: 11
Views: 14834

Re: False positive for grayscale images using the "saturation test"

One of the things mentioned was about "linear scale". Thanks for all the options. I'm trying to classify scanned manga/comics images on grayscale and color. The grayscale can be "linear scale" from yellowed/not balanced scans. This is not pure grayscale, but a image in which the ...
by anthony
2016-05-09T16:16:44-07:00
Forum: Users
Topic: how do I make a multi resolution .ico file?
Replies: 18
Views: 58489

Re: how do I make a multi resolution .ico file?

To extend look at IM Examples, Thumbnails, Square Padding or Cropping
http://www.imagemagick.org/Usage/thumbnails/#square

Of course as you have a specific size (or sizes) you have other options
http://www.imagemagick.org/Usage/thumbn ... it_summery
by anthony
2016-03-16T18:53:34-07:00
Forum: Digital Image Processing
Topic: Pixel Art Scaling Algorithm
Replies: 19
Views: 101935

Re: Pixel Art Scaling Algorithm

Hmm seems to work well convert -size 8x8 pattern:CrossHatch30 -magnify -magnify -magnify show: compare to direct scaling... convert -size 8x8 pattern:CrossHatch30 -scale 800% show: A little wonky near the edges, but then that should be expected, unless more appropriate -virtual-pixel tile is used fo...
by anthony
2016-03-14T21:10:27-07:00
Forum: Digital Image Processing
Topic: Pixel Art Scaling Algorithm
Replies: 19
Views: 101935

Re: Pixel Art Scaling Algorithm

Unless someone volunteers to add it to the library, no.
by anthony
2016-03-10T19:16:55-07:00
Forum: Users
Topic: Remove background
Replies: 13
Views: 20285

Re: Remove background

The reason green screen is used in move making is they can only take one image for sequences involving live actors. The perfect solution requires 2 images with different backgrounds, which is impossible in real time. Some 'space opera' movies (starwars some to mind) use two separate shots with diffe...
by anthony
2016-03-10T18:11:11-07:00
Forum: Users
Topic: Remove background
Replies: 13
Views: 20285

Re: Remove background

But if your software can't generate transparency (alpha mask), all is not lost in getting a perfect transparency. Generate the same image on 2 complementary colored backgrounds. For example black-white, green-purple, blue-yellow. Black-white is the easiest as the mathematics simplifies, thus avoidin...
by anthony
2016-03-09T17:10:19-07:00
Forum: Users
Topic: Creating a blank REFERENCE IMAGE from several images that have objects
Replies: 5
Views: 10820

Re: Creating a blank REFERENCE IMAGE from several images that have objects

You will need to becareful with video as the image quality (on individual frames) is typically quite low. That is why snibgo used a very high threshold for the difference comparison. Also remember that outdoor cameras tend to have very wide ranging global changes. For example a cloud does past, and ...