Skip to main content
Question

Issue reading Geotiff


eric_armitage
Contributor
Forum|alt.badge.img+10

See attached images. I'm trying to read a Geotiff of an engineering drawing. When I view it in 3Dpaint the pixel values vary between black, grey and white. But when I read it in FME all the pixel values are either black (0,0,0) or white (255,255,255). I want to sharpen the image by filtering out the grey pixels. But how do I read the file to expose the "grey" pixel values?

4 replies

danilo_fme
Evangelist
Forum|alt.badge.img+44
  • Evangelist
  • October 1, 2021

Hi @eric_armitage​ 

 

I'm using the FME 2021.1 and I can see the values of gray:

Image_ 

Do you want to turrn these information in attributes?

 

 

Thanks in Advance,

Danilo

 

 


eric_armitage
Contributor
Forum|alt.badge.img+10
  • Author
  • Contributor
  • October 1, 2021

Hi. I think you can see to grey values because you are reading the image created with 3Dpaint. When I read the tiff with FME there is no grey. I think 3Dpaint may be applying some kind of filter to the tiff rather than displaying the original file.


redgeographics
Celebrity
Forum|alt.badge.img+49
eric_armitage wrote:

Hi. I think you can see to grey values because you are reading the image created with 3Dpaint. When I read the tiff with FME there is no grey. I think 3Dpaint may be applying some kind of filter to the tiff rather than displaying the original file.

If 3DPaint is really adding that anti-aliasing then I'm afraid FME won't be able to read those grey pixels on account of them not actually being in the file. Any chance you can share (a small part) of that original GeoTiff here?


eric_armitage
Contributor
Forum|alt.badge.img+10
  • Author
  • Contributor
  • October 8, 2021

I managed to clean up the image using the rasterconvolver and the raster expression evaluator. I think FME was reading the file correctly and 3D paint was automatically applying a blur filter which was confusing me.


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings