Transform a labelmap with a transorm and save it

Resample Scalar Volume worked.
https://discourse.slicer.org/t/resample-scalar-volumes-scripting-in-python/19736/11?u=s_arbabi