class_docstr: Kannala Brandt K3 Camera Model.
class_docstr_tok: ["Kannala","Brandt","K3","Camera","Model","."]
docstr: Constructor method for KannalaBrandtK3 class.
  
  Args:
      image_size: Image size
      params: Camera parameters of shape :math:`(B, 8)` of the form :math:`(fx, fy, cx, cy, kb0, kb1, kb2, kb3)`.
code: def __init__(self, image_size: ImageSize, params: Tensor) -> None:
      """Constructor method for KannalaBrandtK3 class.
  
      Args:
          image_size: Image size
          params: Camera parameters of shape :math:`(B, 8)` of the form :math:`(fx, fy, cx, cy, kb0, kb1, kb2, kb3)`.
      """
      if params.shape[-1] != 8 or len(params.shape) > 2:
          raise ValueError(
              "params must be of shape B, 8 for KANNALA_BRANDT_K3 Camera"
          )
      super().__init__(
          KannalaBrandtK3Transform(), Z1Projection(), image_size, params
      )
  
imports: from __future__ import annotations
  from enum import Enum
  from typing import Any, Union
  from kornia.core import Tensor, stack, zeros_like
  from kornia.geometry.vector import Vector2, Vector3
  from kornia.image import ImageSize
  from kornia.sensors.camera.distortion_model import AffineTransform, BrownConradyTransform, KannalaBrandtK3Transform
  from kornia.sensors.camera.projection_model import OrthographicProjection, Z1Projection
label_desc: Use image node_id 1 to create a new KannalaBrandtK3 object from inherited base classes: CameraModelBase with example: obj = KannalaBrandtK3(image_size, params)