Conversion between the angles
A help is needed, I have some data given by the clients and I am trying to convert the omega, phi and Kappa to Head, Roll and pitch how may I do it?
You've provided three Greek letter variable names. I can assume they're rotation angles but without any information about your coordinate system or rotation order, they're entirely meaningless.
As discussed in #1114, Pannellum uses Euler angles with a YXZ order, where pitch is X, yaw is Y, and roll is Z. This is for if you're trying to set the view direction in Pannellum. And you're already commented on #1124, which may or may not be the same thing, since, again, you haven't defined your variables.
If instead you're trying to set the orientation of the panorama itself using the horizonPitch and horizonRoll parameters to level the horizon, Pannellum uses the same convention as Photo Sphere XMP metadata.