rgb_to_lab Subroutine

public subroutine rgb_to_lab(rgb, lab)

Convert RGB to LAB color space (simplified implementation)

Arguments

Type IntentOptional Attributes Name
real(kind=wp), intent(in) :: rgb(3)
real(kind=wp), intent(out) :: lab(3)