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
474 Views Asked by Rohit Rajagopal At
1
There are 1 best solutions below
Related Questions in JAVA
- I need the BIRT.war that is compatible with Java 17 and Tomcat 10
- Creating global Class holder
- No method found for class java.lang.String in Kafka
- Issue edit a jtable with a pictures
- getting error when trying to launch kotlin jar file that use supabase "java.lang.NoClassDefFoundError"
- Does the && (logical AND) operator have a higher precedence than || (logical OR) operator in Java?
- Mixed color rendering in a JTable
- HTTPS configuration in Spring Boot, server returning timeout
- How to use Layout to create textfields which dont increase in size?
- Function for making the code wait in javafx
- How to create beans of the same class for multiple template parameters in Spring
- How could you print a specific String from an array with the values of an array from a double array on the same line, using iteration to print all?
- org.telegram.telegrambots.meta.exceptions.TelegramApiException: Bot token and username can't be empty
- Accessing Secret Variables in Classic Pipelines through Java app in Azure DevOps
- Postgres && statement Error in Mybatis Mapper?
Related Questions in IMAGE
- Golang lambda upload image into s3 static website
- Put an image behind the title in a WP, WooCommerce "shop" page
- How to create an JSOUP element from byte array image (Load from Database)
- Cloudflare not respecting Cache-Control
- Sending multiple images and data in a single angular observable
- Create and combine several images into a single image for my react native App
- Should I compress images in java backend before sending to frontend?
- Javascript Place Image Where User Clicks
- Whitespace in document has a bottom border remnant or some other line at the bottom of the whitespace
- Sony Spresense Camera Board
- After completely installation and done all the work i am getting Permission denied error do any one have solution
- HTML page on NAS server image not showing on mobile phone
- mouse coordinates in image go below 0 and above width
- Why are the css images or js not loading in my laravel project?
- Python pillow library text align center
Related Questions in IMAGEMAGICK
- ImageMagick / Bash : pipe ignored(?) when filename format variable used
- imagemagick for extracting the fewest continuous clockwise external boundary points from black and white image
- Converting Kodak PCD Files to TIF?
- How can I install ImageMagick and Imagick latest in a Plesk server
- How to remove grey/black artifacts at the edges of a png with transparent background image using ImageMagick
- How to retrieve the "Title" field from Lightroom on a JPEG using ImageMagick?
- Image Magick: insert image in another image: preserving aspect ratio with minimum instead of maximum size
- How to remove ringing/anti-aliasing/gradients from PNG with ImageMagick?
- flatten layers aligned by centers instead of aligned by top-left corners
- How to composite more than 2 images with imagemagick?
- How to stop gravity option screwing up imagemagick parenthesised inputs?
- ImageMagick convert composite many crops from the same image?
- using caret ^ with imagemagick on m1 mac, zsh: no matches found
- How to convert Magick::Image from ImageMagick 7 to QImage?
- Why is the use-Tag from SVG in ImageMagick ignored?
Related Questions in DICOM
- How can I turn multiple jpegs into a Dicom file?
- Convert Images into Dicom with python
- Why my DICOM MWL SCP only sends SUCCESS response without dataset?
- Use DCMTK to read a JSON-formatted DICOM dataset
- Import standard tags to a DICOM file with pydicom
- Receive private SOPClassUID images in pydicom
- Are DICOM attributes always sorted by tag?
- Create a new private tags in a DICOM file
- How can I fix "unable to convert dataset from 'JPEG Baseline' transfer syntax to 'Little Endian Explicit'" while using DCMTK-Toolkit?
- Pydicom error while resizing dicom file - ValueError: The length of the pixel data in the dataset doesn't match the expected length
- How do I decompress/unencapsulate Pixel Data fragments using dcm4che?
- How to get the Study Instance UID (0020,000d) from DOS and display it in a memo with Delphi/Delphi 5 correctly? (DICOM)
- get scale of image (px/cm^2) in pydicom
- DICOM images displaying strangely
- Range of Pixel Data for a Dicom File
Related Questions in IM4JAVA
- Getting org.im4java.core.CommandException: java.io.FileNotFoundException: convert exception
- im4java: is possible create a final image using others different images?
- Does Img4j place the text as per the resolution?
- How generate tiles 3x3 with im4java?
- magick command gives unable to open image error
- Compare two images using imagemagic-im4java and show differences with original image
- How to perform "tile:" command with im4java?
- when i use imagemagic montage by im4java,the -tile row x clos option throws a file unable to open exception
- Create Solid color rectangle with ImageMagick
- Applitools: How to implement it?
- I need help in replacing white background of a png image to transparent using im4java API not by using the command line
- Imagemagick Im4Java - How to have a caption at one size, on an image of a larger size
- Unable to access folder location war!\WEB-INF\classes\ in packaged war with Spring boot
- ImageMagick unable to find the path of convert.exe in packed WAR of Spring boot
- ImageMagick: Im4Java Running from eclipse from MacBook is showing the exception
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 # Hahtags
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.