答案 0 :(得分:1)
您可以将图像对齐与功能匹配配合使用,例如:
//Load 2 Slices with Body Region
img1 = LoadImageBody("Slice01");
img2 = LoadImageBody("Slice02");
//Calculate Keypoints&Descriptors
KeyPt1 = SURF(img1);
KeyPt2 = SURF(img2);
//Find Corresponding Point Pairs
Pairs = FindPairs(KeyPt1, KeyPt2);
//Find Homography Matrix
H = FindHomography(Pairs);
//Calculate Image Transformation
imgWarp =WarpPerspective(img2, H);
//Save Transformation Result
SaveImg("Warp.png", imgWarp);
//Calculate Two Images Difference
imgDiff = AbsDiff(img1, imgWrp);
//Save Difference Result
SaveImg("Diff.png", imgDiff);
但是我没有解决不同的照度和颜色变化的方法。.我也在寻找..