I am currently working with a DICOM project in java. I am calculating the dicom values such as depth, off-axis ratio, width and height. I want to create a sample image with the calculated width and height. I should be a gray scale image, with varying densities of gray color in appropriate area. I have created a sample image with imagemagick, using concentric circles. Bit am not getting the exact image. It does not look like an actual dicom image. The variation of gray color does not have a linear behavior. Sample image is attached. Please suggest any other method to create dicom image. The density values are available in a list. depending upon the distance from the center, the gray color also changes according to the density value provided. 
Create a Dicom image
472 Views Asked by Rohit Rajagopal At
1
There are 1 best solutions below
Related Questions in JAVA
- Add image to JCheckBoxMenuItem
- How to access invisible Unordered List element with Selenium WebDriver using Java
- Inheritance in Java, apparent type vs actual type
- Java catch the ball Game
- Access objects variable & method by name
- GridBagLayout is displaying JTextField and JTextArea as short, vertical lines
- Perform a task each interval
- Compound classes stored in an array are not accessible in selenium java
- How to avoid concurrent access to a resource?
- Why does processing goes slower on implementing try catch block in java?
- Redirect inside java interceptor
- Push toolbar content below statusbar
- Animation in Java on top of JPanel
- JPA - How to query with a LIKE operator in combination with an AttributeConverter
- Java Assign a Value to an array cell
Related Questions in IMAGE
- Add image to JCheckBoxMenuItem
- Display images on Django Template Site
- How to resize images with PHP PARSE SDK
- Animation in Java on top of JPanel
- Slow performance on ipad erasing image
- What are the pros and cons of the picture element?
- Carrierwave file upload with different file types
- How to use annotorious with angular
- Images not showing when uploaded to server
- ImageView doesn't show up
- Image Resizing adjusts ratio
- Displaying bitmap image on Android (OpenCV)
- Class 'Imagick' not found - PHP and Windows
- Image position - randomly select position
- Replace image 1 with image 2 after 5 sec
Related Questions in IMAGEMAGICK
- Imagemagick crop while keeping size
- Why is the following convert command resulting in Segmentation fault?
- Use GM in node.js to crop to a circled image
- JMagick: Can't Find Dependent Libraries
- PHP ImageMagick - readimage not working for certain pdfs
- How to find the brightest pixel?
- Error converting PDF to PNG Imagemagick: unable to create temporary file
- How to process each pixel of the image use Magick.NET maximally quickly?
- Create two sizes of an image using one ImageMagick command
- Protecting against user injection, running imagemagik from through command line
- Weird Behaviour with New Lines Using grunt-exec
- rake db:setup -> rake aborted! Errno::ENOENT: No such file or directory - identify
- bad access in a simple multi-thread programm on MAC OS X Yosemite
- I can't convert with ImageMagick
- Use ImageMagick to extend canvas and not have transparent section become the background colour of the new image
Related Questions in DICOM
- Correct display of DICOM images ITK-VTK (images too dark)
- Tomosynthesis image : Determining orientation
- dcm4che query at SOP instance level
- DICOM and the Image Position Patient
- A histogram using a DICOM file?
- Distorted Image in Secondary Capture DICOM file
- Issues with Imebra Dicom SDK
- Mid line through a set of dicom images in matlab
- ITK/SimpleITK DICOM Series Loaded in wrong order / slice spacing incorrect
- WARN -- DICOM: Decompressing pixel values has failed
- How to create (DICOM) .dcm file in iOS Objective - C?
- Xamarin with Fellow-oak DICOM doesn't not create DicomNative.dll in bin folder
- how to modify image pixels in DICOM files using Imebra library?
- Adding random numbers in dicom images using Matlab
- Modality work list - Which items are returned for C-FIND request of a sequence?
Related Questions in IM4JAVA
- batch combine multiple tif in a directory
- ImageMagick: How can I cut out round from image?
- Best way to compare 2 images in Java jUnit?
- Compare two images using imagemagic-im4java and show differences with original image
- magick command gives unable to open image error
- Getting org.im4java.core.CommandException: java.io.FileNotFoundException: convert exception
- I need help in replacing white background of a png image to transparent using im4java API not by using the command line
- Benchmarking the performance of im4java
- im4java Convert svg to png, keep transparent background
- Error in im4java, Cannot run program "convert": error=2, No such file or directory
- im4java: is possible create a final image using others different images?
- Image comparison using im4java
- Im4Java - How to make transparent PNG based watermark in corner sized proportionally
- How to pass multiple image input-streams to im4java?
- How to perform "tile:" command with im4java?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Pixel Data or image in DICOM data set is always rectangular and image is described using Rows (0028, 0010) and Columns (0028, 0011) attributes. So the best way to implement this is to draw your circular image on a rectangular background. Fill the background with a color that is not present in your image. Use the Pixel Padding Value (0028,0120) to specify the color used to pad grayscale images (those with a Photometric Interpretation of MONOCHROME1 or MONOCHROME2) to rectangular format.
If you do not have any color to spare (with-in the bit stored), you can add Overlay Plane or Display Shutter to the data set to mask the area that is not part of image.