Skip to content
Discussion options

You must be logged in to vote

Hi @cwenge,
So glad to hear you're finding valis useful! I put together a function that will summarize the transformations for each image, to help you gauge how much each image was warped. For the non-rigid transformations, it provides the minimum, mean, and maximum displacements, but you could edit the code to do a more detailed analysis. One thing is sometimes the really large displacements are outside the area you're interested in, so the image may not be as distorted as the summary values suggest.

from valis import registration, warp_tools, viz


def transform_M(M, transformation_src_shape_rc, transformation_dst_shape_rc, src_shape_rc, out_shape_rc):
    """Transform M to work on scal…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by cwenge
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants