search

Home  >  Q&A  >  body text

objective-c - ios获取照片中的RGB颜色,通过算法划定需要取出的图形,生成新的照片;

用户在拍摄一张照片后,app检测照片上的RGB把需要的图块抠出来;之后通过RGB校正算法补齐图片的颜色;

具体需求是一张照片在拍摄完成后,先检测偏色通过RGB转换为Lab。再通过Lab得出具体哪个颜色上有偏差,更具这个偏差的值修正照片上的每一个颜色。现在就是通过Lab得到每个颜色偏差的地方遇到困难了,望大家给点建议;谢谢!

迷茫迷茫2753 days ago747

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