Search found 20 matches

by divptl
2017-08-16T07:38:56-07:00
Forum: Users
Topic: Telling the difference between color and grayscale image
Replies: 31
Views: 36471

Re: Telling the difference between color and grayscale image

First i want to thank you for all the help. So far what i was able to do with ImageMaick is great. Is it possible to use below command and somehow exclude pixle close to gray scale pixle when averaging for color. I have jpg images [img]c:\test.jpg[/img] convert c:\images\test.jpg -colorspace HCL -ch...
by divptl
2017-08-15T07:16:37-07:00
Forum: Users
Topic: Telling the difference between color and grayscale image
Replies: 31
Views: 36471

Re: Telling the difference between color and grayscale image

how do i do this for all image in DIR and Move the file if it's > threshold ?
by divptl
2017-08-15T06:00:07-07:00
Forum: Users
Topic: Telling the difference between color and grayscale image
Replies: 31
Views: 36471

Re: Telling the difference between color and grayscale image

Picture usually has many more colors. Graphic often has only a few. The only way of getting such information is from the histogram or from the number of unique colors. This will give you a list of colors: convert logo: -depth 8 -unique-colors txt: This will give you the number of colors (unix synta...
by divptl
2017-08-09T11:32:35-07:00
Forum: Users
Topic: How to identify a grayscale image (with threshold)?
Replies: 17
Views: 13868

Re: How to identify a grayscale image (with threshold)?

will keep in mind. sorry i am new to posting.
by divptl
2017-08-09T11:06:02-07:00
Forum: Users
Topic: Telling the difference between color and grayscale image
Replies: 31
Views: 36471

Re: Telling the difference between color and grayscale image

Sorry i didnot see that message . How do i corp and check for the colors at the same time . say 2% of the picture is my border.
by divptl
2017-08-09T11:03:39-07:00
Forum: Users
Topic: Telling the difference between color and grayscale image
Replies: 31
Views: 36471

Re: Telling the difference between color and grayscale image

Is there a way to do this same logic for Border only ? I am sorry for being pain but there are way too many fallout so i am thinking to go based on border of picture.
by divptl
2017-08-09T08:26:54-07:00
Forum: Users
Topic: How to identify a grayscale image (with threshold)?
Replies: 17
Views: 13868

Re: How to identify a grayscale image (with threshold)?

is it possible to do the same thing using border of the picture say 10% of the image would be border and use that to check for % of color.
by divptl
2017-08-09T08:22:29-07:00
Forum: Users
Topic: Telling the difference between color and grayscale image
Replies: 31
Views: 36471

Re: Telling the difference between color and grayscale image

if i want to check for gray scale in border (all 4 sides of the image) of the image is it possible ?
by divptl
2017-08-08T13:07:35-07:00
Forum: Users
Topic: How to identify a grayscale image (with threshold)?
Replies: 17
Views: 13868

Re: How to identify a grayscale image (with threshold)?

i want to utilize the output to move file if it's above or below threshold.
by divptl
2017-08-08T12:58:12-07:00
Forum: Users
Topic: How to identify a grayscale image (with threshold)?
Replies: 17
Views: 13868

Re: How to identify a grayscale image (with threshold)?

On more question . do you know how would i go about implementing "convert mostly_gray.png -colorspace HCL -channel green -separate +channel -format "%[fx:100*mean]\n" info:" in c# ?
by divptl
2017-08-08T12:00:34-07:00
Forum: Users
Topic: How to identify a grayscale image (with threshold)?
Replies: 17
Views: 13868

Re: How to identify a grayscale image (with threshold)?

Thank you that works. Any way to tell if its graphic vs picture ? Unfortunately with threshold i am still getting color images in to gray scale because they only have three colors .
by divptl
2017-08-08T11:06:15-07:00
Forum: Users
Topic: Telling the difference between color and grayscale image
Replies: 31
Views: 36471

Re: Telling the difference between color and grayscale image

Thank you.

Any way to tell if its graphic vs picture ?
by divptl
2017-08-08T10:41:11-07:00
Forum: Users
Topic: Telling the difference between color and grayscale image
Replies: 31
Views: 36471

Re: Telling the difference between color and grayscale image

Sorry but i can't share images as it's company's patent . Basically i have patent of say shirt mostly in black and white but say in the pocket of it there is rose picture from IM sample. I need to separate this image from actual normal color picture.
by divptl
2017-08-08T10:20:21-07:00
Forum: Users
Topic: How to identify a grayscale image (with threshold)?
Replies: 17
Views: 13868

Re: How to identify a grayscale image (with threshold)?

Thank you it worked however my grayscale image has some colors in it and i will have to go on another rout. Is there a way to identify like Image generated out of a Patent software vs actual picture taken from camera ? i have no image property to relay on.
by divptl
2017-08-08T09:53:23-07:00
Forum: Users
Topic: Telling the difference between color and grayscale image
Replies: 31
Views: 36471

Re: Telling the difference between color and grayscale image

My Gray scale image has colors in it but i need to have some short of way to figure out it is gray scale image. For example i have gray scale patent of T-shirt but have image in middle that is color. Any idea ?>