Answered Finding band of a pixel

  • Sunday, January 06, 2013 3:38 PM
     
     
    i need to write a function in C#, with an existing Java-Code-Fragment. In these, Raster.getSample(int x, int y, int b) is used. The 3rd Parameter is the band, of the Pixel. I'm using biamp class. How can i extract the band? Is there any other Class or Method i can use?

All Replies

  • Monday, January 07, 2013 3:00 PM
     
     

    Hi,

    whats meant by "band"? The plane/colorchannel as int?

    Regards,

      Thorsten

  • Wednesday, January 09, 2013 3:40 PM
     
     Answered

    I suggest you investigate using the System.Drawing.Bitmap class for this purpose, just as recommended by Microsoft here.

    Kind regards,

    wizend