Skip to content

[Bug] Loading .tif image produces image artifact #1017

@KronosTheLate

Description

@KronosTheLate

The original image looks like this:
image

I then load the image with the following command:
Images.load(joinpath(pwd(), "above_focal_sum", "113mm.tif"))

The resulting image looks like this (imprecise cropping, color and lines are of interest)
image
, where the image is displayed in a pluto notebook

There is now an artifact in the image, with vertical lines across the entire thing. The artifact is very visible in a plot of the values of two slices of the image, where the RGB values have been converted to Gray and then to float:
image

As can be seen from the path, the image is a .tif file. The original image is grayscale, whereas the read in image has RGB values and visually a warmer tone.
The original image file can be found at https://drive.google.com/file/d/1dIhkYY5C7EumgCZaLI0TqPlorRjL1BX0/view?usp=sharing

Can anyone help me on how to correctly read the image?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions