Unanswered Questions
From DicomObjectsWiki
If you wish to add a question or issue to this page, please create a new section with a title using ==title==. Could those answering any such questions, please post replies within the same section, indenting replies (by starting lines with a : )
If your question has "disappeared" from this page, then it means it has been moved to Answered Questions (answered questions will remain on here for a week or so to allow for follow-ups).
Any special consideration for private tag's element base?
The library allows you to add private tags to the dictionary, but the DICOM standard says a well behaving user will find an available private creator base to use rather than always assuming one (like 0x0010). So while my private data element may be at 0x0009, 0x1044 in one file, it may in fact be the same data element at 0x0009, 0x1144 in another file assuming the private creator label matches up. Is there any mechanism for the dictionary to recognize a private tag and allow queries like: 0x0009,0x0044 (effectively ignoring the private creator offset?)
Since the dictionary is global, I can't just add 0x0009, 0x1044 and hope it will work for any file I open.
"Why are the values under group element 0018 not there? (The same set of dicom tags appear without problems in matlab)"
Is there a typo in the example for "Image Position and Image Orientation?"
In http://www.medicalconnections.co.uk/wiki/Image_Orientation_Attributes, it is stated that "The y-axis is increasing to the posterior side of the patient." yet the example says "In a conventional supine CT image, ... the vector down the left side points to the patient's BACK (vector 0, -1, 0),". Assuming that BACK = posterior, I would expect that the vector should be (0,1,0). Can someone please clarify? Thank you.
How to store Overlay data in "Overlay pixel data" attribute (60xx,3000)?
I.e. if I draw a label on the image I would like to store it in the image overlay data using group (60xx,3000). Could you provide me with an example how to do it?
How to get the Visible Area coordinates of a DicomViewer Cell?
I need these coordinates to put into a subimage the visible portion of a zoomed image placed in a DicomViewer Cell, so then i could Print the portion of interest.
I try with the ScrollX and ScrollY but the resulting subimgage don't match with the visible portion:
Preview.Images.Add(SelectedImage.SubImage(SelectedImage.ActualScrollX,SelectedImage.ActualScrollY, SelectedImage.SizeX, SelectedImage.SizeY, SelectedImage.ActualZoom, 1));
How to crop rotated/flipped images?
Your cropping code in the VB6 viewer example doesn't seem to work correctly for rotated/flipped images (I use VB6 for development). E.g. I rotate some image clockwise, then crop it but the cropped image seems to be based on wrong coordinates. So, for example if correct code for cropping image with normal rotation is something like:
Set CroppedImage = DicomViewer1.Images(img_number).SubImage(CropLabel.Left, CropLabel.Top, CropLabel.Width, CropLabel.Height, czoom, 1)
what would be the correct code for image with clockwise rotation? In wiki there is an example for moving labels in case of rotating/flipping but it doesn't help.
ANSWER
Rotate/Flip or any other Display changes to a DicomImage will NOT modify the underlying pixel data, therefore you need to apply the Same Flip/Rotate to the cropped image. What do you mean by "it doesn't help"? Is the code wrong or what?
How to add labels to cropped rotated/flipped images?
Also, if we succeed in cropping rotated/flipped images, and if these rotated/flipped images have labels (for example measurements) how do we correctly position these same labels on the cropped image?
ANSWER
This is the page which shows the code for moving the labels after image has been flipped/rotated.
http://www.medicalconnections.co.uk/wiki/Move_DicomLabel_when_Image_is_Flipped/Rotated
If you still have problems with this issue, send us a small program in your preferred language and we will modify it to make it working for you.
Support email: Qian@MedicalConnections.co.uk
Use of DicomConnection BytesSent and BytesReceived property
If transmitting a single image the BytesSent property appears to jump immediately to the size of the single image, and then increments during the transmission about 3 to 7 thousand bytes more. What should I be seeing here? I would assume the BytesSent would start at zero and increment to file size.
