Vous avez reçu un message "Your GitLab account has been locked ..." ? Pas d'inquiétude : lisez cet article https://docs.gricad-pages.univ-grenoble-alpes.fr/help/unlock/

Commit fbad6269 authored by Edward Andò's avatar Edward Andò
Browse files

Connecting up PhiInit in spam-reg

parent 65710e44
Pipeline #53504 passed with stages
in 26 minutes and 16 seconds
......@@ -70,10 +70,14 @@ if args.PHIFILE is not None:
#print("\tI read a registration from a file in binning {} at centre {} at this scale".format(args.PHIFILE_BIN_RATIO, regCentre) )
print("\tI read a registration from a file in binning {}".format(args.PHIFILE_BIN_RATIO))
decomposedPhiInit = spam.deformation.decomposePhi(PhiInit)
print("\tTranslations (px)")
print("\t\t", spam.deformation.decomposePhi(PhiInit)['t'])
print("\t\t", decomposedPhiInit['t'])
print("\tRotations (deg)")
print("\t\t", spam.deformation.decomposePhi(PhiInit)['r'])
print("\t\t", decomposedPhiInit['r'])
print("\tZoom")
print("\t\t", decomposedPhiInit['z'])
# If the read F-file contains multiple lines it's an F field!
else:
......@@ -92,6 +96,7 @@ regReturns = spam.DIC.correlate.registerMultiscale(im1,
im2,
args.BIN_BEGIN, binStop=args.BIN_END,
margin=args.MARGIN,
PhiInit=PhiInit,
PhiRigid=args.RIGID,
im1mask=im1mask,
interpolationOrder=args.INTERPOLATION_ORDER,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment