ImageGear for Java
ImGearChannelStatistics Class Members
Methods 

The following tables list the members exposed by ImGearChannelStatistics.

Public Constructors
 NameDescription
Public ConstructorImGearChannelStatistics ConstructorDefault constructor.  
Top
Public Methods
 NameDescription
Public MethodgetAverageReturns average value of the image channel.

 
Public MethodgetMaxReturns a 32-bit integer, representing max value of the channel.

This value represents the 32-bit integer maximum value of the image channel. Internal value is stored as a 64-bit integer. If the stored number exceeds the 32-bit integer range, an attempt to get the getMax() method throws com.accusoft.imagegear.core.ImGearErrorCodes.PARAMETER_HAS_INVALID_VALUE exception.

Use getMax64 method if you are working with 32-bit per channel images.

com.accusoft.imagegear.core.ImGearErrorCodes

 
Public MethodgetMax64Returns a 64-bit integer, representing maximum value of the image channel.

 
Public MethodgetMinReturns a 32-bit integer, representing min value of the channel.

Use getMin64 method if you are working with 32-bit per channel images.

com.accusoft.imagegear.core.ImGearErrorCodes

 
Public MethodgetMin64Returns a 64-bit integer, representing minimum value of the image channel.

 
Public MethodsetAverageSets average value of the image channel.

 
Public MethodsetMaxSets a 32-bit integer, representing max value of the channel.

This value represents the 32-bit integer maximum value of the image channel. Internal value is stored as a 64-bit integer. If the stored number exceeds the 32-bit integer range, an attempt to get the Max property throws com.accusoft.imagegear.core.ImGearErrorCodes.PARAMETER_HAS_INVALID_VALUE exception.

Use setMax64 method if you are working with 32-bit per channel images.

com.accusoft.imagegear.core.ImGearErrorCodes

 
Public MethodsetMax64Sets a 64-bit integer, representing maximum value of the image channel.

 
Public MethodsetMinSets a 32-bit integer, representing min value of the channel.

This value represents the 32-bit integer minimum value of the image channel. Internal value is stored as a 64-bit integer. If the stored number exceeds the 32-bit integer range, an attempt to get the setMin() value throws com.accusoft.imagegear.core.ImGearErrorCodes.PARAMETER_HAS_INVALID_VALUE exception.

Use getMin64 method if you are working with 32-bit per channel images.

com.accusoft.imagegear.core.ImGearErrorCodes

 
Public MethodsetMin64Sets a 64-bit integer, representing minimum value of the image channel.

 
Top
See Also

Reference

ImGearChannelStatistics Class
com.accusoft.imagegear.processing Package

 

 


©2016. Accusoft Corporation. All Rights Reserved.

Send Feedback