|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface WADORequest
The interface defines all the possible parameters that can be transmitted in a single WADO request.
| Field Summary | |
|---|---|
static java.lang.String |
DICOM_MIME_TYPE
The MIME type for DICOM objects |
static java.lang.String |
JPEG_MIME_TYPE
The MIME type for JPEG images |
| Method Summary | |
|---|---|
java.lang.String |
generateWadoUrl(java.lang.String wadoServerPath)
The method takes a WADORequest object and generates a valid WADO URL that contain all the parameters defined in the request. |
int |
getFrameNumber()
|
int |
getImageQuality()
|
int |
getNumberOfPixelColumns()
|
int |
getNumberOfPixelRows()
|
java.lang.String |
getObjectUID()
|
java.lang.String |
getPresentationObjectUID()
|
java.lang.String |
getPresentationSeriesUID()
|
ImageRegion |
getRegionOfTheImage()
|
java.lang.String |
getResponseCharset()
|
java.lang.String |
getResponseMimeType()
|
java.lang.String |
getSeriesUID()
|
java.lang.String |
getStudyUID()
|
java.lang.String |
getTransferSyntaxUID()
|
double |
getWindowCenterOfTheImage()
|
double |
getWindowWidthOfTheImage()
|
boolean |
isAnnonymizeObject()
|
boolean |
isPatientAnnotation()
|
boolean |
isTechniqueAnnotation()
|
void |
setAnnonymizeObject(boolean annonymizeObject)
Sets the removal of all patient identification information from within the DICOM object, if not already done, as defined in PS 3.15. |
void |
setFrameNumber(int frameNumber)
Specifies that the single frame with that number within a multi-frame image object, as defined in PS 3.3 that shall be returned. |
void |
setImageQuality(int imageQuality)
If the requested MIME type is for a lossy compressed image (e.g. |
void |
setNumberOfPixelColumns(int columns)
Sets the image width to be returned. |
void |
setNumberOfPixelRows(int rows)
Sets the image height to be returned. |
void |
setObjectUID(java.lang.String objectUID)
Set the SOP Instance UID of the requested DICOM object. |
void |
setPatientAnnotation(boolean patient)
Sets the requested annotation of an object retrieved and displayed as an image. |
void |
setPresentationObjectUID(java.lang.String presentationUID)
Sets the SOP Instance UID of the presentation state storage object to be applied to the image. |
void |
setPresentationSeriesUID(java.lang.String presentationSeriesUID)
Sets the Series Instance UID of the series containing the presentation state storage object to be applied on the image. |
void |
setRegionOfTheImage(ImageRegion imageRegion)
Allows selection of a rectangular region of an image matrix to be retrieved. |
void |
setResponseCharset(java.lang.String charset)
Sets the character set with which the returned object is to be encoded, as defined in the IETF RFC2616. |
void |
setResponseMimeType(java.lang.String contentType)
MIME type(s) desired for the response from the Server, as defined in the IETF RFC2616. |
void |
setSeriesUID(java.lang.String seriesUID)
Set the series Instance UID of the requested DICOM object. |
void |
setStudyUID(java.lang.String studyUID)
Set the study Instance UID of the requested DICOM object. |
void |
setTechniqueAnnotation(boolean technique)
Sets the requested annotation of an object retrieved and displayed as an image. |
void |
setTransferSyntaxUID(java.lang.String transferSyntax)
Sets the Transfer Syntax to be used within the DICOM image object, as specified in PS 3.6. |
void |
setWindowCenterOfTheImage(double windowCenter)
Controls the luminosity of the image as defined in PS 3.3. |
void |
setWindowWidthOfTheImage(double windowWidth)
Controls the contrast of the image as defined in PS 3.3. |
java.util.List<java.lang.String> |
validateWADORequest()
The method will go over the parameters in the WADORequest object and make sure that they are valid and no contradictions between them. |
| Field Detail |
|---|
static final java.lang.String DICOM_MIME_TYPE
static final java.lang.String JPEG_MIME_TYPE
| Method Detail |
|---|
void setStudyUID(java.lang.String studyUID)
studyUID - The study Instance UIDvoid setSeriesUID(java.lang.String seriesUID)
seriesUID - The series Instance UIDvoid setObjectUID(java.lang.String objectUID)
objectUID - The SOP Instance UIDvoid setResponseMimeType(java.lang.String contentType)
contentType - List of MIME types, separated by a "," character,
and potentially associated with relative degree of preference, as
specified in IETF RFC2616. Default is any content type.void setResponseCharset(java.lang.String charset)
charset - List of character sets, separated by a "," character, and
potentially associated with relative degree of preference, as
specified in IETF RFC2616. Default is no charset conversion.void setAnnonymizeObject(boolean annonymizeObject)
annonymizeObject - Whether to anonymize or not. Default is false.void setPatientAnnotation(boolean patient)
patient - For displaying patient information on the image (e.g. patient name,
birth date,…)setTechniqueAnnotation(boolean)void setTechniqueAnnotation(boolean technique)
technique - For displaying technique information of the image (e.g. image number,
study date, image position,…)setPatientAnnotation(boolean)void setNumberOfPixelRows(int rows)
rows - The number of pixel rowsvoid setNumberOfPixelColumns(int columns)
columns - The number of pixel columnsvoid setRegionOfTheImage(ImageRegion imageRegion)
imageRegion - The region to be retrievedvoid setWindowCenterOfTheImage(double windowCenter)
WindowWidthOfTheImage has been set.
This parameter shall not be present if the PresentationObjectUID parameter
has been set. It shall not be present if ResponseMimeType is application/dicom.
windowCenter - The desired luminosity of the imagevoid setWindowWidthOfTheImage(double windowWidth)
WindowCenterOfTheImage has been set.
This parameter shall not be present if the PresentationObjectUID parameter
has been set. It shall not be present if ResponseMimeType is application/dicom.
windowWidth - The desired contrast of the imagevoid setFrameNumber(int frameNumber)
frameNumber - The desired single frame numbervoid setImageQuality(int imageQuality)
imageQuality - The required quality of the image to be returned within the
range 1 to 100, 100 being the best quality.void setPresentationObjectUID(java.lang.String presentationUID)
presentationUID - The SOP Instance UID of the presentation state storage object.void setPresentationSeriesUID(java.lang.String presentationSeriesUID)
presentationSeriesUID - The Series Instance UID of the series containing the
presentation state storage object.void setTransferSyntaxUID(java.lang.String transferSyntax)
transferSyntax - The Transfer Syntax to be used within the DICOM image object.java.lang.String generateWadoUrl(java.lang.String wadoServerPath)
wadoServerPath - The URL prefix for the WADO server
java.util.List<java.lang.String> validateWADORequest()
toValidate - The WADORequest object that holds the parameters to be validated
RequestParametersValidationException - The first invalid parameter is being thrown
as an exceptionboolean isAnnonymizeObject()
int getFrameNumber()
int getImageQuality()
int getNumberOfPixelColumns()
int getNumberOfPixelRows()
java.lang.String getObjectUID()
boolean isPatientAnnotation()
java.lang.String getPresentationObjectUID()
java.lang.String getPresentationSeriesUID()
ImageRegion getRegionOfTheImage()
java.lang.String getResponseCharset()
java.lang.String getResponseMimeType()
java.lang.String getSeriesUID()
java.lang.String getStudyUID()
boolean isTechniqueAnnotation()
java.lang.String getTransferSyntaxUID()
double getWindowWidthOfTheImage()
double getWindowCenterOfTheImage()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||