#include "idio.h"
#include "iddicom.h"
#include "iddcm-restricted.h"
#include "iderr.h"
#include <string.h>
#include <stdlib.h>
#include <netinet/in.h>
#include "idliste.h"
Go to the source code of this file.
Defines | |
#define | LGR_ENTETE_A_LIRE 256 |
#define | DEBUG 0 |
#define | DEBUG 0 |
#define | DEBUG 0 |
#define | CHAR_BIT 8 |
Functions | |
char * | _IdStrShowTransfertSyntax (char *codeTransfSynt) |
Retourne le libelle en clair d'une TRANSFERT SYNTAX. | |
char ** | _IdDcmInquireImageInfoXXX (ID_DCM_HDR *, char **) |
ID_DCM_HDR * | IdDcmHdrAlloc () |
Alloue un ID_DCM_HDR. | |
void | IdDcmHdrFree (ID_DCM_HDR *e) |
Libere un ID_DCM_HDR. | |
short int | _IdDcmSWAP_SHORT (short int a, int sw) |
uint32_t | _IdDcmSWAP_LONG (uint32_t a, int sw) |
ID_DCM_HDR * | IdDcmGetHeader (char *filename) |
renvoie un pointeur sur le ID_DCM_HDR correspondant au fichier | |
_ID_DCM_ELEM * | _IdDcmReadNextElement (ID_DCM_HDR *e, int sw) |
lit le dicom_element suivant. (le fichier doit deja avoir ete ouvert, _IdAcrCheckSwap(ID_DCM_HDR *e) avoir ete appele) | |
_ID_DCM_ELEM * | _IdDcmReadNextElementLeonardo (ID_DCM_HDR *e, int sw) |
lit le dicom_element suivant. (le fichier doit deja avoir ete ouvert, _IdAcrCheckSwap(ID_DCM_HDR *e) avoir ete appele) | |
ID_DCM_HDR * | IdDcmGetHeaderLeonardo (char *filename) |
renvoie un pointeur sur le ID_DCM_HDR correspondant au fichier | |
char ** | IdDcmInquireImageInfoFromFile (char *filename) |
renvoie dans un tableau de chaines de caracteres la description des info pertinentes d'une image ACR /DCM (la soixantaine de champs utiles) a partir du nom du fichier | |
char ** | IdDcmInquireImageInfoFromDcmHdr (ID_DCM_HDR *e) |
renvoie dans un tableau de chaines de caracteres la description des info pertinentes d'une image ACR /DCM a partir d'un ID_DCM_HDR deja fabrique | |
char * | _IdDcmReadElementFromLabel (char *libelle, ID_DCM_HDR *e, char *vr, void *buff) |
Tente de lire un dicom_element a partir de son libelle. Le resultat est range dans buff. | |
int | IdDcmPrintImageInfo (char **TableauImageInfo) |
imprime la description des info 'pertinentes' d'une image DICOM obtenue par IdDcmInquireImageInfoFromXXX (File/DcmHdr) | |
void | IdDcmAffDcmHdr (ID_DCM_HDR *e, int npriv, int noffset) |
ID_DCM_HDR * | IdDcmIsDcmReadable (char *filename) |
Verifie le caractère Acr/Dcm/LibIdo d'un fichier. | |
int | IdDcmIsJpegLossless (ID_DCM_HDR *e) |
Verifie le caractère Jpeg Lossless d'un fichier, a partir du DCM_HDR. | |
int | IdDcmIsUncompressed (ID_DCM_HDR *e) |
Verifie le caractère non compresse d'un fichier, a partir du DCM_HDR. |
|
|
|
|
|
|
|
|
|
Definition at line 53 of file dcmutil.c. Referenced by IdDcmHdrAlloc(). |
|
Definition at line 1275 of file dcmutil.c. References _ID_dicom_info, _ID_Number_of_Items, and DICOM_INFO. Referenced by IdDcmInquireImageInfoFromDcmHdr(), and IdDcmInquireImageInfoFromFile(). |
|
Tente de lire un dicom_element a partir de son libelle. Le resultat est range dans buff.
Definition at line 1432 of file dcmutil.c. References _IdDcmReadElement(), and DEBUG. |
|
lit le dicom_element suivant. (le fichier doit deja avoir ete ouvert, _IdAcrCheckSwap(ID_DCM_HDR *e) avoir ete appele)
Definition at line 525 of file dcmutil.c. References ID_DCM_HDR::__NumeroGroupePrecedent, _IdDcmSWAP_LONG(), _IdDcmSWAP_SHORT(), DEBUG, ID_DCM_HDR::fp, _ID_DCM_ELEM::Gr, ID_DCM_HDR::grPixel, ID_DCM_HDR::grPixelTrouve, _ID_DCM_ELEM::LgrElem, _ID_DCM_ELEM::LgrLueElem, ID_DCM_HDR::nbElem, _ID_DCM_ELEM::Num, ID_DCM_HDR::numPixel, _ID_DCM_ELEM::Offset, ID_DCM_HDR::offsetCourant, ID_DCM_HDR::PixelPosition, ID_DCM_HDR::PixelsTrouves, ID_DCM_HDR::pleCourant, str2num, _ID_DCM_ELEM::Swap, ID_DCM_HDR::taille_fich, _ID_DCM_ELEM::valeurElem, _ID_DCM_ELEM::valInt, _ID_DCM_ELEM::valShort, and _ID_DCM_ELEM::VR. Referenced by IdDcmGetHeader(). |
|
lit le dicom_element suivant. (le fichier doit deja avoir ete ouvert, _IdAcrCheckSwap(ID_DCM_HDR *e) avoir ete appele)
Definition at line 765 of file dcmutil.c. References ID_DCM_HDR::__NumeroGroupePrecedent, _IdDcmSWAP_LONG(), _IdDcmSWAP_SHORT(), DEBUG, ID_DCM_HDR::fp, _ID_DCM_ELEM::Gr, ID_DCM_HDR::grPixel, ID_DCM_HDR::grPixelTrouve, _ID_DCM_ELEM::LgrElem, _ID_DCM_ELEM::LgrLueElem, ID_DCM_HDR::nbElem, _ID_DCM_ELEM::Num, ID_DCM_HDR::numPixel, _ID_DCM_ELEM::Offset, ID_DCM_HDR::offsetCourant, ID_DCM_HDR::PixelPosition, ID_DCM_HDR::PixelsTrouves, ID_DCM_HDR::pleCourant, _ID_DCM_ELEM::Swap, ID_DCM_HDR::taille_fich, _ID_DCM_ELEM::valeurElem, _ID_DCM_ELEM::valInt, _ID_DCM_ELEM::valShort, and _ID_DCM_ELEM::VR. Referenced by IdDcmGetHeaderLeonardo(). |
|
Definition at line 133 of file dcmutil.c. Referenced by _IdDcmReadNextElement(), _IdDcmReadNextElementLeonardo(), and IdDcmReadFileIntoVectorFromDcmHdr(). |
|
Definition at line 122 of file dcmutil.c. Referenced by _IdDcmReadNextElement(), and _IdDcmReadNextElementLeonardo(). |
|
Retourne le libelle en clair d'une TRANSFERT SYNTAX.
|
|
|
renvoie un pointeur sur le ID_DCM_HDR correspondant au fichier
Definition at line 168 of file dcmutil.c. References ID_DCM_HDR::__NumeroGroupePrecedent, _IdDcmReadNextElement(), DEBUG, ID_DCM_HDR::filename, ID_DCM_HDR::fp, _ID_DCM_ELEM::Gr, ID_DCM_HDR::grPixelTrouve, ID_RFILE_BIN, IdDcmHdrAlloc(), IdDcmHdrFree(), IdLstAddLast, IdLstFirst, IdLstNext, IdLstPtrObj, _ID_DCM_ELEM::Num, ID_DCM_HDR::PixelPosition, ID_DCM_HDR::PixelsTrouves, ID_DCM_HDR::plist, str2num, ID_DCM_HDR::sw, ID_DCM_HDR::taille_fich, and _ID_DCM_ELEM::valeurElem. Referenced by IdDcmInquireImageInfoFromFile(), IdDcmInquireInfoFromFile(), IdDcmIsDcmReadable(), and IdDcmReadFileIntoVector(). |
|
renvoie un pointeur sur le ID_DCM_HDR correspondant au fichier
Definition at line 982 of file dcmutil.c. References ID_DCM_HDR::__NumeroGroupePrecedent, _IdDcmReadNextElementLeonardo(), DEBUG, ID_DCM_HDR::filename, ID_DCM_HDR::fp, ID_DCM_HDR::grPixelTrouve, ID_RFILE_BIN, IdDcmHdrAlloc(), IdLstAddLast, ID_DCM_HDR::PixelsTrouves, ID_DCM_HDR::plist, ID_DCM_HDR::sw, and ID_DCM_HDR::taille_fich. |
|
Alloue un ID_DCM_HDR.
Definition at line 79 of file dcmutil.c. References ID_DCM_HDR::deb, IdLstAlloc(), LGR_ENTETE_A_LIRE, and ID_DCM_HDR::plist. Referenced by IdDcmGetHeader(), and IdDcmGetHeaderLeonardo(). |
|
Libere un ID_DCM_HDR.
Definition at line 108 of file dcmutil.c. References ID_DCM_HDR::deb, IdLstFree, and ID_DCM_HDR::plist. Referenced by IdDcmGetHeader(), IdDcmInquireInfoFromFile(), and IdDcmReadFileIntoVector(). |
|
renvoie dans un tableau de chaines de caracteres la description des info pertinentes d'une image ACR /DCM a partir d'un ID_DCM_HDR deja fabrique
Definition at line 1257 of file dcmutil.c. References _IdDcmInquireImageInfoXXX(), IDERR_NON_ACR_FILE, and IdErrno. |
|
renvoie dans un tableau de chaines de caracteres la description des info pertinentes d'une image ACR /DCM (la soixantaine de champs utiles) a partir du nom du fichier
Definition at line 1209 of file dcmutil.c. References _IdDcmInquireImageInfoXXX(), IdDcmGetHeader(), IDERR_NON_ACR_FILE, and IdErrno. |
|
Verifie le caractère Acr/Dcm/LibIdo d'un fichier.
Definition at line 1708 of file dcmutil.c. References IdDcmGetHeader(). |
|
Verifie le caractère Jpeg Lossless d'un fichier, a partir du DCM_HDR.
Definition at line 1733 of file dcmutil.c. References _IdDcmReadElement(). Referenced by IdDcmReadFileIntoVectorFromDcmHdr(). |
|
Verifie le caractère non compresse d'un fichier, a partir du DCM_HDR.
Definition at line 1773 of file dcmutil.c. References ID_DCM_HDR::__TrueDicom, and _IdDcmReadElement(). Referenced by IdDcmReadFileIntoVectorFromDcmHdr(). |
|
imprime la description des info 'pertinentes' d'une image DICOM obtenue par IdDcmInquireImageInfoFromXXX (File/DcmHdr)
Definition at line 1522 of file dcmutil.c. References _ID_dicom_info, and _ID_Number_of_Items. |