Solved

Change from RGB to HSV or Ycbcr

  • 17 July 2015
  • 3 replies
  • 32 views

Looking to do histogram matching. From research, the preference is to be in a color space with intensity, therefore HSV or YCbCr. I've tried RGB matching but on the darker sets of satellite images, it does not match well when its 'brightness' increases. 

 

 

Is there something I can do/use in FME to convert from RGB to HSV ?

 

Can I do this in python? Read in a feature and output a HSV image?
icon

Best answer by helmoet 4 August 2017, 15:41

View original

3 replies

Badge +8

hi @pat8037, may be you get some inspiration from this website: http://www.rapidtables.com/convert/color/rgb-to-hsv.htm. I also attached a workbench implementation. Just a bunch of AttributeCreators, basically.

transformcolorrgb-hsv.fmw

hi @pat8037, may be you get some inspiration from this website: http://www.rapidtables.com/convert/color/rgb-to-hsv.htm. I also attached a workbench implementation. Just a bunch of AttributeCreators, basically.

transformcolorrgb-hsv.fmw

Hi, can You republish this workbench?

Userlevel 4
Badge +25

Hi, can You republish this workbench?

@kdrygalski - Here it is: 9912-transformcolorrgb-hsv.fmw

Tip: If you find a bad link like this, use right click > download and it should work.

Reply