|
FITSCodecDecodeSingleFrame Method
|
Decode first frame of FITS image.
Namespace:
Accord.Imaging.Formats
Assembly:
Accord.Imaging (in Accord.Imaging.dll) Version: 3.8.0
Syntax public Bitmap DecodeSingleFrame(
Stream stream
)
Public Function DecodeSingleFrame (
stream As Stream
) As Bitmap
Request Example
View SourceParameters
- stream
- Type: System.IOStream
Source stream, which contains encoded image.
Return Value
Type:
BitmapReturns decoded image frame.
Implements
IImageDecoderDecodeSingleFrame(Stream)Exceptions Exception | Condition |
---|
FormatException | Not a FITS image format. |
NotSupportedException | Format of the FITS image is not supported. |
ArgumentException | The stream contains invalid (broken) FITS image. |
See Also