Hyperspectrum

Constant Summary

Qualifier and Type

Constant Field

Description

int

MAX_DETECT_TIME

最大检测时间。

int

RAW_DATA_POS

强度信息数据位。

int

WAVE_LENGTH_POS

波长数据位。

int

DATA_ARRAY_SIZE

数据数组大小。

int

MODEL_INPUT_SIZE

输入模型大小。

Constants

MAX_DETECT_TIME

Constant

private static final int MAX_DETECT_TIME

最大检测时常,超过时常则返回超时。

Constant Value: 1000

RAW_DATA_POS

Constant

private static final int RAW_DATA_POS

用于标识高光谱数据的强度信息数据位。

Constant Value: 0

WAVE_LENGTH_POS

Constant

private static final int WAVE_LENGTH_POS

用于标识高光谱数据的波长信息数据位。

Constant Value: 1

DATA_ARRAY_SIZE

Constant

private static final int DATA_ARRAY_SIZE

高光谱数据所存放的数组个数。

Constant Value: 2

MODEL_INPUT_SIZE

Constant

private static final int MODEL_INPUT_SIZE

光谱模型输入的大小。

Constant Value: 301

Public Constructor Summary

Constructor Name

Hyperspectrum(Context context)

使用默认的高光谱配置信息构造对象实例构造对象实例。

Public Method Summary

Qualifier and Type

Method Name

int

mapping(List<VisionData> visionData, HyperspectralResult hyperspectralResult,final VisionCallback<HyperspectralResult> hyperspectralCallback)

基于输入的低精度光谱数据进行高精度映射。

void

setConfiguration(HyperspectralConfiguration hyperspectralConfiguration)

设置高光谱配置信息。

HyperspectralConfiguration

getConfiguration()

获取高光谱配置信息。

void

loadPlugin(ILoadPluginCallback loadPluginCallback)

触发懒加载,下载插件包。

Public Constructors

Hyperspectrum

Constructor

public Hyperspectrum(Context context)

使用默认的高光谱配置信息构造对象实例。

Parameters

Name

Description

context

应用上下文。

Hyperspectrum(Context context, , HyperspectralConfiguration mVisionConfiguration)

Constructor

public Hyperspectrum(Context context, , HyperspectralConfiguration mVisionConfiguration)

使用输入的高光谱配置信息构造对象实例。

Parameters

Name

Description

context

应用上下文。

mVisionConfiguration

高光谱配置信息。

Public Methods

mapping

Method

public int mapping(List<VisionData> visionData, HyperspectralResult hyperspectralResult,

final VisionCallback<HyperspectralResult> hyperspectralCallback)

基于输入的低精度光谱数据进行高精度映射。

Parameters

Name

Description

visionData

输入的高光谱数据。

hyperspectralResult

格式化的运行结果。

hyperspectralCallback

高光谱回调。

Return

Type

Description

int

高光谱检测结果码。

setConfiguration

Method

public void setConfiguration(HyperspectralConfiguration hyperspectralConfiguration)

设置高光谱配置信息。

Parameters

Name

Description

hyperspectralConfiguration

高光谱配置信息。

getConfiguration

Method

public HyperspectralConfiguration getConfiguration()

获取高光谱配置信息。

Return

Type

Description

HyperspectralConfiguration

高光谱配置信息。

loadPlugin

Method

public void loadPlugin(ILoadPluginCallback loadPluginCallback)

触发懒加载,下载插件包。

Parameters

Name

Description

loadPluginCallback

懒加载回调。

搜索
请输入您想要搜索的关键词