Usuário com melhor resposta
Ajustar RGB de um bitmap

Pergunta
-
Respostas
-
Talvez eu tenha dado o exemplo errado. Use este daqui:
http://www.aforgenet.com/framework/features/color_correction_filters.html
dai voce usa o slider mais ou menos desta forma:
/ create filter LevelsLinear filter = new LevelsLinear( ); // set ranges filter.InRed = new IntRange( 0, sliderRed.Value ); filter.InGreen = new IntRange( 0, sliderGreen.Value); filter.InBlue = new IntRange( 0, sliderBlue.Value ); // apply the filter filter.ApplyInPlace( Image );
att
William John Adam Trindade
Analyste-programmeur
----------------------------------------------------------
- Marcado como Resposta William John Adam TrindadeModerator terça-feira, 2 de junho de 2015 14:20
Todas as Respostas
-
Use essa biblioteca:
http://www.aforgenet.com/framework/samples/image_processing.html
e aqui como manipular as cores usando essa biblioteca:
http://www.aforgenet.com/framework/features/color_channels_manipulation.html
Ela é open source (c#). Voce tem duas possibilidades, usa a biblioteca inteira ou analiza o codigo e extrai somente a parte que te interessa.
att
William John Adam Trindade
Analyste-programmeur
----------------------------------------------------------
-
-
Talvez eu tenha dado o exemplo errado. Use este daqui:
http://www.aforgenet.com/framework/features/color_correction_filters.html
dai voce usa o slider mais ou menos desta forma:
/ create filter LevelsLinear filter = new LevelsLinear( ); // set ranges filter.InRed = new IntRange( 0, sliderRed.Value ); filter.InGreen = new IntRange( 0, sliderGreen.Value); filter.InBlue = new IntRange( 0, sliderBlue.Value ); // apply the filter filter.ApplyInPlace( Image );
att
William John Adam Trindade
Analyste-programmeur
----------------------------------------------------------
- Marcado como Resposta William John Adam TrindadeModerator terça-feira, 2 de junho de 2015 14:20