MCPcopy
hub / github.com/richzhang/colorization / normalize_ab

Method normalize_ab

colorizers/base_color.py:19–20  ·  view source on GitHub ↗
(self, in_ab)

Source from the content-addressed store, hash-verified

17 return in_l*self.l_norm + self.l_cent
18
19 def normalize_ab(self, in_ab):
20 return in_ab/self.ab_norm
21
22 def unnormalize_ab(self, in_ab):
23 return in_ab*self.ab_norm

Callers 1

forwardMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected