cruxopen / openISP

Image Signal Processor
MIT License
1.09k stars 397 forks source link

[blc.py] maybe a bug in execute function in blc.py #7

Closed duanyayong closed 3 years ago

duanyayong commented 3 years ago

"elif bayer_pattern == 'bggr'" ====> "elif self.bayer_patter == 'bggr'" "elif bayer_pattern == 'gbrg'" ====> "elif self.bayer_patter == 'gbrg'" "elif bayer_pattern == 'grbg'" ====> "elif self.bayer_patter == 'grbg'"

Hi Crux,

According the context, I think you maybe want to get the value of "self.bayer_pattern" to decide which way to do blc rather than "bayer_pattern".

Thanks! Yayong

cruxopen commented 3 years ago

Noted with thanks. Fixed in latest commit.