image processing - Green channel from bitmap c# -


how can extract green channel alone rgb image (bmp) ? tried using channelexrtract (aforge) , analysed data dimensions in mathematica, still 2592x1944x3; 3 representing still not 2d array.

2592x1944x3

  • x1 red
  • x2 green
  • x3 blue

green green channel in 2592x1944 array:

int[][] green;  for(int = 0; < 2592; i++) {      for(int j = 0; j < 1944; j++)     {         green[i][j] = bitmap[i][j][1];     } } 

Comments

Popular posts from this blog

python - No exponential form of the z-axis in matplotlib-3D-plots -

php - Best Light server (Linux + Web server + Database) for Raspberry Pi -

c# - "Newtonsoft.Json.JsonSerializationException unable to find constructor to use for types" error when deserializing class -