Skip to main content
Solved

Extact RGB value from RAster imagery

  • November 29, 2017
  • 3 replies
  • 31 views

Forum|alt.badge.img

I need to extract from a raster imagery (Geotiff ) only the pixel with a specific range of values

I mean I need to return points that corresponding to the pixels with these values

Red between 245-255

Green between 245-255

Blue between 245-255

Best answer by jdh

I would use a RasterCellValueReplacer to replace values <245 with 0, and then a RasterBandNoDataSetter (0) followed by a RasterCellCoercer with extract NoData set to no.

View original
Did this help you find an answer to your question?

3 replies

Forum|alt.badge.img
  • Author
  • November 29, 2017

HY all

I need to extract from a raster imagery (Geotiff ) only the pixel with a specific range of values

I mean I need to return points that corresponding to the pixels with these values

Red between 245-255

Green between 245-255

Blue between 245-255

 

thx

 

Francesco


jdh
Contributor
Forum|alt.badge.img+28
  • Contributor
  • Best Answer
  • November 29, 2017

I would use a RasterCellValueReplacer to replace values <245 with 0, and then a RasterBandNoDataSetter (0) followed by a RasterCellCoercer with extract NoData set to no.


danilo_fme
Evangelist
Forum|alt.badge.img+45
  • Evangelist
  • November 30, 2017
jdh wrote:

I would use a RasterCellValueReplacer to replace values <245 with 0, and then a RasterBandNoDataSetter (0) followed by a RasterCellCoercer with extract NoData set to no.

Great solution.

 

 


Reply


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