Skip to content
This repository has been archived by the owner on Mar 31, 2023. It is now read-only.

Joined image showing vertical and horizontal line on image #40

Open
sandeepdahake opened this issue Oct 14, 2020 · 0 comments
Open

Joined image showing vertical and horizontal line on image #40

sandeepdahake opened this issue Oct 14, 2020 · 0 comments

Comments

@sandeepdahake
Copy link

sandeepdahake commented Oct 14, 2020

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')

Here I upload the sample image.

ZidyP

How can I remove this lines from an image?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant