search

Home  >  Q&A  >  body text

objective-c - ios obtains the RGB color in the photo, uses an algorithm to delineate the graphics that need to be taken out, and generates a new photo;

After the user takes a photo, the app detects the RGB on the photo and pulls out the required blocks; then it uses the RGB correction algorithm to fill in the color of the picture;

The specific requirement is that after a photo is taken, the color cast must be detected and converted from RGB to Lab. Then use Lab to find out which color has deviation, and correct each color in the photo based on the value of this deviation. Now I am having difficulty in getting each color deviation through Lab. I hope you can give me some suggestions; thank you!

迷茫迷茫2807 days ago790

reply all(3)I'll reply

  • 習慣沉默

    習慣沉默2017-05-02 09:31:03

    CIFilter or GPUImage can both be implemented

    reply
    0
  • 给我你的怀抱

    给我你的怀抱2017-05-02 09:31:03

    There is an App called Bacterial Analyzer. It is very similar to what you are talking about. It was developed by my friend. If it is similar, I can give you his contact information

    reply
    0
  • 伊谢尔伦

    伊谢尔伦2017-05-02 09:31:03

    Owner, has the problem been solved? I am also encountering this problem now. I want to get the RGB of UIimage and then operate its pixels, but I cannot get the RGB!

    reply
    0
  • Cancelreply