ios-gpuimage-plus icon indicating copy to clipboard operation
ios-gpuimage-plus copied to clipboard

ios look up table issue

Open R3l0ad3d opened this issue 6 years ago • 7 comments

I use look up table for filter image in ios objective c . but filter quality is very low . but in android device same look up table filter quality is good . how can i fix this . i provide code and screen shot please check . my code char* const rulesString = "@adjust lut 9.png"; cgeSetLoadImageCallback(loadImageCallback, loadImageOKCallback, nil); UIImage* image = cgeFilterUIImage_MultipleEffects([UIImage imageNamed:@"raw"], rulesString, 1.0f, nil); self.ivOutputImage.image = image;

raw image , raw

lookup table 1

and expected image 1a

but my output is Screenshot 2019-05-16 at 4 52 25 PM

R3l0ad3d avatar May 16 '19 10:05 R3l0ad3d

How did your expected image generated? I just tried the lut. The output is right.

wysaid avatar May 16 '19 15:05 wysaid

image

wysaid avatar May 16 '19 15:05 wysaid

I also try in your tools . its ok . but when i try to do this in ios then output quality lose .

R3l0ad3d avatar May 30 '19 07:05 R3l0ad3d

I see. My lut function skipped the blue color mix, I will fix in one or two days.

wysaid avatar May 30 '19 10:05 wysaid

thanks . if you fix please inform me . i think you know Open GL is deprecated in ios . will you convert it to Metal ?

R3l0ad3d avatar Jun 01 '19 08:06 R3l0ad3d

@R3l0ad3d Sure, but it may take me some time.

wysaid avatar Jun 01 '19 08:06 wysaid

I see. My lut function skipped the blue color mix, I will fix in one or two days.

Fixed. Please try again with the latest implementation.

wysaid avatar Jun 03 '19 17:06 wysaid