I am using image_slicer to split and join the tiff image. I split the tiff in 9 parts and after getting the prediction I joined this 9 parts into a single png image but this joined image is showing the vertical and horizontal line on the image. Below is my code that I using to split and join the tiff. Size of my tiff file is around 450 MB.
img = 'test.tif'
num_tiles = 16
tiles = image_slicer.slice(img, num_tiles)
for tile in tiles:
name = tile.filename
print('Processing file',name)
out = model.predict(inp=name,out_fname=name,class_names = class_names,
colors = class_colors,overlay_img = True,show_legends = False)
tile.image = Image.open(name)
image = join(tiles)
image.save('join.png')
I am using image_slicer to split and join the tiff image. I split the tiff in 9 parts and after getting the prediction I joined this 9 parts into a single png image but this joined image is showing the vertical and horizontal line on the image. Below is my code that I using to split and join the tiff. Size of my tiff file is around 450 MB.
Here I upload the sample image.
How can I remove this lines from an image?