INNER CODE UNIT · Python
InpaintState
BrokenSource/DepthFlow · depthflow/state.py:44
class InpaintState(_BaseModel):
limit: float = Field(default=0.0, ge=0.0)
"""The threshold for the steepness of the regions (heuristic)"""
def pipeline(self) -> Iterable[Uniform]:
yield Uniform("float", "iInpaint", self.limit)
# ---------------------------------------------------------------------------- #
class BlurState(_BaseModel):
intensity: float = Field(default=0.00, ge=0.0, le=2.0)
"""The intensity of the effect (blur radius)"""
start: float = Field(default=0.60, ge=0.0, le=1.0)
"""The effect starts at this depth value"""