IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)
Navigation

Inscrivez-vous gratuitement
pour pouvoir participer, suivre les réponses en temps réel, voter pour les messages, poser vos propres questions et recevoir la newsletter

MATLAB Discussion :

[imshow] "Invalid input arguments"


Sujet :

MATLAB

  1. #1
    Membre à l'essai
    Profil pro
    Inscrit en
    Février 2009
    Messages
    21
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Février 2009
    Messages : 21
    Points : 13
    Points
    13
    Par défaut [imshow] "Invalid input arguments"
    bonsoir
    voila , je rencontre un problème d'affichage d'une image dicom(je débute) ...
    vous en pensez quoi !!!c 'est une histoire de mise à jour de imshow??!!de la toolbox....
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
     
    I=dicomread('CD-16.dcm');
    imshow(I,'DisplayRange',[]);
     
    ??? Error using ==> imshow (ParseInputs)
    Invalid input arguments; see HELP IMSHOW
     
    Error in ==> C:\MATLAB6p5\toolbox\images\images\imshow.m
    On line 90  ==> [imtype, cdata, cdatamapping, clim, map, xdata, ydata, filename, ...
    merci

  2. #2
    Rédacteur/Modérateur

    Avatar de Jerome Briot
    Homme Profil pro
    Freelance mécatronique - Conseil, conception et formation
    Inscrit en
    Novembre 2006
    Messages
    20 316
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France, Haute Garonne (Midi Pyrénées)

    Informations professionnelles :
    Activité : Freelance mécatronique - Conseil, conception et formation

    Informations forums :
    Inscription : Novembre 2006
    Messages : 20 316
    Points : 52 951
    Points
    52 951
    Par défaut
    Que retourne ceci ?

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    f = dicominfo('CD-16.dcm')

  3. #3
    Membre à l'essai
    Profil pro
    Inscrit en
    Février 2009
    Messages
    21
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Février 2009
    Messages : 21
    Points : 13
    Points
    13
    Par défaut
    les informations liées à l'image:
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    54
    55
    56
    57
    58
    59
    60
    61
    62
    63
    64
    65
    66
    67
    68
    69
    70
    71
    72
    73
    74
    75
    76
    77
    78
    79
    80
    81
    82
    83
    84
    85
    86
    87
    88
    89
    90
    91
    92
    93
    94
    95
    96
    97
    98
    99
    100
    101
    102
    103
     
     Filename: 'CD-16.dcm'
                                   FileModDate: '05-Dec-2008 15:23:00'
                                      FileSize: 2493342
                                        Format: 'DICOM'
                                 FormatVersion: 3
                                         Width: 64
                                        Height: 64
                                      BitDepth: 16
                                     ColorType: 'grayscale'
                                SelectedFrames: []
                                    FileStruct: [1x1 struct]
                              StartOfPixelData: 265106
                        MetaElementGroupLength: 194
                    FileMetaInformationVersion: [2x1 double]
                       MediaStorageSOPClassUID: '1.2.840.10008.5.1.4.1.1.20'
                    MediaStorageSOPInstanceUID: '2.16.840.1.113662.5.8796823242730.3.121.1059665469'
                             TransferSyntaxUID: '1.2.840.10008.1.2.1'
                        ImplementationClassUID: '1.2.276.0.7230010.3.0.3.5.2'
                     ImplementationVersionName: 'OFFIS_DCMTK_352'
                        IdentifyingGroupLength: 456
                          SpecificCharacterSet: 'ISO_IR 100'
                                     ImageType: 'ORIGINAL\PRIMARY\GATED TOMO\EMISSION'
                            InstanceCreatorUID: '2.16.840.1.113662.5.8796823242730'
                                   SOPClassUID: '1.2.840.10008.5.1.4.1.1.20'
                                SOPInstanceUID: '2.16.840.1.113662.5.8796823242730.3.121.1059665469'
                                     StudyDate: '20030731'
                               AcquisitionDate: '20030731'
                                     ImageDate: '20030731'
                                     StudyTime: '162219'
                               AcquisitionTime: '162219'
                                     ImageTime: '162219'
                               AccessionNumber: ''
                                      Modality: 'NM'
                                  Manufacturer: 'Marconi Medical Systems, NM Division'
                               InstitutionName: 'CH GIRAC'
                            InstitutionAddress: 'ANGOULEME'
                       ReferringPhysiciansName: [1x1 struct]
                                   StationName: 'AXIS418'
                              StudyDescription: 'REPOS'
                             SeriesDescription: 'Raw Data'
                  NameOfPhysiciansReadingStudy: [1x1 struct]
                        ManufacturersModelName: 'AXIS'
                            PatientGroupLength: 56
                                  PatientsName: [1x1 struct]
                                     PatientID: ''
                             PatientsBirthDate: '19530929'
                                   PatientsSex: 'F'
                        AcquisitionGroupLength: 100
                              BodyPartExamined: 'COEUR ECG'
                             CountsAccumulated: 0
               AcquisitionTerminationCondition: 'TRIG'
                            DeviceSerialNumber: '418'
                              SoftwareVersions: '8.9.0 1.7'
                           TriggerSourceOrType: 'EKG'
                                     SkipBeats: 0
                            ProcessingFunction: ''
                              ImageGroupLength: 148
                              StudyInstanceUID: '2.16.840.1.113662.5.8796823242730.1.1119998746'
                             SeriesInstanceUID: '2.16.840.1.113662.5.8796823242730.3.121.1059665469'
                                       StudyID: ''
                                  SeriesNumber: 21
                                InstanceNumber: 21
                                 ImageComments: ''
                  ImagePresentationGroupLength: 246
                               SamplesPerPixel: 1
                     PhotometricInterpretation: 'MONOCHROME2'
                                NumberOfFrames: 272
                         FrameIncrementPointer: [6x2 double]
                                          Rows: 64
                                       Columns: 64
                                  PixelSpacing: [2x1 double]
                                CorrectedImage: 'COR'
                                 BitsAllocated: 16
                                    BitsStored: 16
                                       HighBit: 15
                           PixelRepresentation: 0
                       SmallestImagePixelValue: 0
                        LargestImagePixelValue: 122
                                  WindowCenter: 61
                                   WindowWidth: 122
                              RescaleIntercept: 0
                                  RescaleSlope: 1
                    NuclearMedicineGroupLength: 13926
                            EnergyWindowVector: [272x1 double]
                         NumberOfEnergyWindows: 1
               EnergyWindowInformationSequence: [1x1 struct]
        RadiopharmaceuticalInformationSequence: [1x1 struct]
                                DetectorVector: [272x1 double]
                             NumberOfDetectors: 1
                   DetectorInformationSequence: [1x1 struct]
                                RotationVector: [272x1 double]
                             NumberOfRotations: 1
                   RotationInformationSequence: [1x1 struct]
                              RRIntervalVector: [272x1 double]
                           NumberOfRRIntervals: 1
                      GatedInformationSequence: [1x1 struct]
                                TimeSlotVector: [272x1 double]
                             NumberOfTimeSlots: 8
                             AngularViewVector: [272x1 double]
                          TypeOfDetectorMotion: 'STEP AND SHOOT'
                                       ImageID: 'Raw Data'
    ......

  4. #4
    Rédacteur/Modérateur

    Avatar de Jerome Briot
    Homme Profil pro
    Freelance mécatronique - Conseil, conception et formation
    Inscrit en
    Novembre 2006
    Messages
    20 316
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France, Haute Garonne (Midi Pyrénées)

    Informations professionnelles :
    Activité : Freelance mécatronique - Conseil, conception et formation

    Informations forums :
    Inscription : Novembre 2006
    Messages : 20 316
    Points : 52 951
    Points
    52 951
    Par défaut
    Tu peux attacher une de ces images (dans une archive zip) ?

  5. #5
    Membre à l'essai
    Profil pro
    Inscrit en
    Février 2009
    Messages
    21
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Février 2009
    Messages : 21
    Points : 13
    Points
    13
    Par défaut
    voila !!
    Fichiers attachés Fichiers attachés

  6. #6
    Expert éminent sénior
    Avatar de Caro-Line
    Profil pro
    Inscrit en
    Mars 2007
    Messages
    9 458
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Mars 2007
    Messages : 9 458
    Points : 14 828
    Points
    14 828
    Par défaut
    Je vais peut-être dire une bêtise mais tu sembles avoir la version 6.5, or la syntaxe que tu utilises semble n'exister que depuis la R14.

    The imshow syntax in which you specify the display range of the imageimshow(I,[LOW HIGH])
    has been augmented to use a parameter/value pair syntax
    imshow(...,'DisplayRange',[LOW HIGH])
    lien

    Donc essayes simplement :

  7. #7
    Membre à l'essai
    Profil pro
    Inscrit en
    Février 2009
    Messages
    21
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Février 2009
    Messages : 21
    Points : 13
    Points
    13
    Par défaut
    effectivement j'ai la version 6.5....
    et ça marche mnt merci !!

    par contre je rencontre un autre problème avec d 'autres images :

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
     
    I=dicomread('CD-18.dcm');
    imshow(I,[]);
     
    ??? Error using ==> imshow (ParseInputs)
    Unsupported dimension
     
    Error in ==> C:\MATLAB6p5\toolbox\images\images\imshow.m
    On line 90  ==> [imtype, cdata, cdatamapping, clim, map, xdata, ydata, filename, ...

Discussions similaires

  1. Echappement de quote dans input/value
    Par pc.bertineau dans le forum Balisage (X)HTML et validation W3C
    Réponses: 2
    Dernier message: 10/09/2007, 14h27
  2. Réponses: 6
    Dernier message: 21/10/2005, 18h59
  3. Oracle 7 -> Oracle 8 : "Invalid Row Id"
    Par gmartintin dans le forum Bases de données
    Réponses: 4
    Dernier message: 20/10/2004, 11h39

Partager

Partager
  • Envoyer la discussion sur Viadeo
  • Envoyer la discussion sur Twitter
  • Envoyer la discussion sur Google
  • Envoyer la discussion sur Facebook
  • Envoyer la discussion sur Digg
  • Envoyer la discussion sur Delicious
  • Envoyer la discussion sur MySpace
  • Envoyer la discussion sur Yahoo