public static void ProbC1AndSave( string sourceFilePath, byte[,,] sourceImage, List <Point> sourcePosList, List <Point> destPosList) { byte[,,] resultImage = ImageMosaicing.ApplyProjectiveTransformation( sourceImage, sourcePosList, destPosList); string newFilePath = ProbC1.NewFilePath(sourceFilePath, $"ProbC1"); Utility.SaveColorImage(resultImage, newFilePath); Console.WriteLine($"ProbC1 done and saved to \'{newFilePath}\'"); }
public static void ProbC3AndSave( string sourceFilePath, byte[,,] sourceImage, List <byte[, , ]> otherImages, List <List <Point> > baseImagePosList, List <List <Point> > otherImagePosList) { byte[,,] resultImage = ImageMosaicing.CombineImages( sourceImage, otherImages, baseImagePosList, otherImagePosList); string newFilePath = ProbC3.NewFilePath(sourceFilePath, $"ProbC3"); Utility.SaveColorImage(resultImage, newFilePath); Console.WriteLine($"ProbC3 done and saved to \'{newFilePath}\'"); }