Hello shunfu,
the formula you show goes from project internal coordinates (x,y,z) to camera pixel coordinates (u,v).
If you have a point P in world coordinates :
P= Metashape.Vector((X,Y,Z))
then to get the coordinates in chunk internal coordinate system (x,y,z) you do:
chunk.transform.matrix.inv().mulp(chunk.crs.unproject(P))
Hope this is clear,