-3
Cadıda "jpg2dcm.cfg" bir özellik dosyasına sahibim, özellikler varsayılan olarak ayarlanmıştır. Bu yüzden, özellik değerlerini eklemeliyim. İçinde java ile özellik değerlerini ayarlamak için dosyayı nasıl değiştirebilirim?Özellikler dosyasında nasıl yazabilirim?
jpg2dcm.cfg:
# jpg2dcm Default Configuration for encapsulating JPEG Baseline streams into
# DICOM Secondary Capture Image objects
# (s. DICOM Part 3, A.32.7 Video Photographic Image IOD)
# Patient Module Attributes
# Patient's Name
00100010:
# Patient ID
00100020:
# Issuer of Patient ID
#00100021:
# Patient's Birth Date
00100030:
# Patient's Sex
00100040:
# General Study Module Attributes
# Study Instance UID
#0020000D:
# Study Date
00080020:
# Study Time
00080030:
# Referring Physician's Name
00080090:
# Study ID
00200010:
# Accession Number
00080050:
# Study Description
#00081030:
# General Series Module Attributes
# Modality
00080060:OT
# Series Instance UID
#0020,000E:
# Series Number
00200011:1
# General Equipment Module Attributes
# Manufacturer
00080070:
# SC Equipment Module Attributes
# Conversion Type
00080064:SI
# General Image Module Attributes
# Instance Number
00200013:1
# Image Pixel Module Attributes (detected from JPEG file, if not specified)
# Samples per Pixel
#00280002:3
# Photometric Interpretation
#00280004:YBR_FULL_422
# Planar Configuration
#00280006:0
# Rows
#00280010:
# Columns
#00280011:
# Bits Allocated
#00280100:8
# Bits Stored
#00280101:8
# High Bit
#00280102:7
# Pixel Representation
#00280103:0
# SOP Common Module Attributes
# SOP Class UID
00080016:1.2.840.10008.5.1.4.1.1.7
# SOP Instance UID
#00080018
Bir "cadı" mı diyorsunuz ?! Her neyse ... Eğer sadece bir metin dosyasıysa, neden yazma, değişiklik yapma ve kaydetme için açmıyorsunuz? – durbnpoisn
Ve zaten orada sayısız rehberlerden birini takip etmiyorsunuz çünkü .....? – redFIVE
Bu çok geniş bir soru. Hangi bölümü nasıl yapacağınızı bilmiyor musunuz? Dosyayı bir özellik nesnesine okuyun, değiştirin ya da geri mi yazınız? – Sid