Click or drag to resize
Accord.NET (logo)

FITSCodecDecodeFrame Method

Decode specified frame.

Namespace:  Accord.Imaging.Formats
Assembly:  Accord.Imaging (in Accord.Imaging.dll) Version: 3.8.0
Syntax
public Bitmap DecodeFrame(
	int frameIndex,
	out ImageInfo imageInfo
)
Request Example View Source

Parameters

frameIndex
Type: SystemInt32
Image frame to decode.
imageInfo
Type: Accord.Imaging.FormatsImageInfo
Receives information about decoded frame.

Return Value

Type: Bitmap
Returns decoded frame.

Implements

IImageDecoderDecodeFrame(Int32, ImageInfo)
Exceptions
ExceptionCondition
NullReferenceExceptionNo image stream was opened previously.
ArgumentOutOfRangeExceptionStream does not contain frame with specified index.
ArgumentExceptionThe stream contains invalid (broken) FITS image.
See Also