Computes the red channel histogram of a GdPicture image.
public GdPictureStatus HistogramGetRed( int ImageID, ref int arHistoR );
Public Function HistogramGetRed( ByVal ImageID As Integer, ByRef arHistoR() As Integer ) As GdPictureStatus
|
Parameters |
Description |
|
ImageID |
GdPicture Image Identifier. |
|
arHistoR |
Output parameter. Array of 256 entries containing the red channel histogram data. |
A member of the GdPictureStatus enumeration.
Dim oGdPictureImaging As New GdPictureImaging Dim arHistoR(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.HistogramGetRed(ImageID, arHistoR) oGdPictureImaging.ReleaseGdPictureImage(ImageID)
|
What do you think about this topic? Send feedback!
|
|
Copyright (c) 2009-2011 www.gdpicture.com. All rights reserved.
|