Click or drag to resize
Accord.NET (logo)

FITSCodecDecodeSingleFrame Method

Decode first frame of FITS image.

Namespace:  Accord.Imaging.Formats
Assembly:  Accord.Imaging (in Accord.Imaging.dll) Version: 3.7.0
Syntax
public Bitmap DecodeSingleFrame(
	Stream stream
)
Request Example View Source

Parameters

stream
Type: System.IOStream
Source stream, which contains encoded image.

Return Value

Type: Bitmap
Returns decoded image frame.

Implements

IImageDecoderDecodeSingleFrame(Stream)
Exceptions
ExceptionCondition
FormatExceptionNot a FITS image format.
NotSupportedExceptionFormat of the FITS image is not supported.
ArgumentExceptionThe stream contains invalid (broken) FITS image.
See Also