You are here: GdPicture.NET > Documentation > Classes > GdPictureImaging Class > GdPictureImaging Methods > Histogram Computing > HistogramGetBlue Method
logo.gif
ContentsIndexHome
PreviousUpNext
GdPictureImaging.HistogramGetBlue Method

Computes the blue channel histogram of a GdPicture image.

C#
public GdPictureStatus HistogramGetBlue(
    int ImageID, 
    ref int arHistoB
);
Visual Basic
Public Function HistogramGetBlue(
    ByVal ImageID As Integer, 
    ByRef arHistoB() As Integer
) As GdPictureStatus
Parameters
Parameters 
Description 
ImageID 
GdPicture Image Identifier.  
arHistoB 
Output parameter. Array of 256 entries containing the blue channel histogram data.  
Returns

A member of the GdPictureStatus enumeration.

Dim oGdPictureImaging As New GdPictureImaging
Dim arHistoB(0 To 255) As Integer
Dim ImageID As Integer
 
oGdPictureImaging.SetLicenseNumber("XXX") 'Replace XXX by a demo or commercial license key
ImageID = oGdPictureImaging.CreateGdPictureImageFromFile("image.tif")
oGdPictureImaging.HistogramGetBlue(ImageID, arHistoB)
oGdPictureImaging.ReleaseGdPictureImage(ImageID)
What do you think about this topic? Send feedback!
Copyright (c) 2009-2011 www.gdpicture.com. All rights reserved.