Skip to main content
Solved

colored-jpg to grayscale-jpg


Hi, I am new here,

 

I tried to convert a colored „jpg“ raster image to „grayscale".

 

Until now i used the programm „IrfanView“, where I set the saturation-value to „-255“,

 

but i had to do it for every image seperatly.

 

Now I want to use FME for conversion of multiple pictures at once.

 

Could you help me to find the correct transformer for this work?

 

Or is there any other simply way to convert a various number of colored jpeg images into grayscale?

 

Thanks for answers ……

Best answer by takashi

Hi @chrst, the RasterExpressionEvaluator might help you. See the example 4 in this article to learn more: Simple Examples Using the RasterExpressionEvaluator Transformer

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

3 replies

jdh
Contributor
Forum|alt.badge.img+28
  • Contributor
  • July 16, 2018

I personally use the RasterExpressionEvaluator to perform a weighted band conversion,

 

ex. 0.2989*A[0] + 0.5870*A[1] + 0.1140*A[2]

 

These values come from Rec.601, but there are several other standards.

takashi
Influencer
  • Best Answer
  • July 16, 2018

Hi @chrst, the RasterExpressionEvaluator might help you. See the example 4 in this article to learn more: Simple Examples Using the RasterExpressionEvaluator Transformer


  • Author
  • July 16, 2018

Wouh, super, very helpful

 

Thank You

 

Greetings from our Dolomite Alps .......

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