Analysis Color

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
ctkhai

Analysis Color

Post by ctkhai »

Hi

I am using C++ and ImageMagick-6.3.6 to do some image function. Now I have an image from CCTV with red color background and a few white rectangles. Those rectangles white color some bright and some dark. How can I find out the color value on those rectangles?


Thanks
User avatar
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Re: Analysis Color

Post by anthony »

In IM, crop a single pixel and output it using txt:-

Better method would probably involve some image viewer, like XV, Gimp, or whatever you like to use.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
ctkhai

Re: Analysis Color

Post by ctkhai »

thank you. i will try on it.
Post Reply