Fellow Oak DICOM
Search Results for

    Show / Hide Table of Contents

    Class DicomJpegLosslessDecoder

    This class provides the conversion of a byte buffer containing a JPEGLossless to an MemoryBuffer. Therefore it uses a.Net port of the rii-mango JPEGLosslessDecoder Library written in Java(https://github.com/rii-mango/JPEGLosslessDecoder ) By Hermann Kroll

    Take care, that only the following lossless formats are supported 1.2.840.10008.1.2.4.57 JPEG Lossless, Nonhierarchical (Processes 14) 1.2.840.10008.1.2.4.70 JPEG Lossless, Nonhierarchical (Processes 14[Selection 1])

    Currently the following conversions are supported

    • 24Bit, RGB -> BufferedImage.TYPE_INT_RGB
    • 8Bit, Grayscale -> BufferedImage.TYPE_BYTE_GRAY
    • 16Bit, Grayscale -> BufferedImage.TYPE_USHORT_GRAY
    Inheritance
    System.Object
    DicomJpegCodec
    DicomJpegLosslessDecoder
    JpegLosslessDecoderWrapperProcess14
    JpegLosslessDecoderWrapperProcess14SV1
    Implements
    IDicomCodec
    Inherited Members
    DicomJpegCodec.Name
    DicomJpegCodec.TransferSyntax
    DicomJpegCodec.GetDefaultParameters()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: FellowOakDicom.Imaging.Codec.JpegLossless
    Assembly: fo-dicom.core.dll
    Syntax
    public abstract class DicomJpegLosslessDecoder : DicomJpegCodec, IDicomCodec

    Methods

    Decode(DicomPixelData, DicomPixelData, DicomCodecParams)

    Declaration
    public override void Decode(DicomPixelData oldPixelData, DicomPixelData newPixelData, DicomCodecParams parameters)
    Parameters
    Type Name Description
    DicomPixelData oldPixelData
    DicomPixelData newPixelData
    DicomCodecParams parameters
    Overrides
    DicomJpegCodec.Decode(DicomPixelData, DicomPixelData, DicomCodecParams)

    Encode(DicomPixelData, DicomPixelData, DicomCodecParams)

    Declaration
    public override void Encode(DicomPixelData oldPixelData, DicomPixelData newPixelData, DicomCodecParams parameters)
    Parameters
    Type Name Description
    DicomPixelData oldPixelData
    DicomPixelData newPixelData
    DicomCodecParams parameters
    Overrides
    DicomJpegCodec.Encode(DicomPixelData, DicomPixelData, DicomCodecParams)

    Implements

    IDicomCodec

    Extension Methods

    LinqExtensions.IsOneOf<T>(T, T[])
    In This Article
    Back to top Copyright (c) 2012-2025 fo-dicom contributors