scaramallion
scaramallion
I'd like to be able to perform JPEG2K encoding of medical images using Pillow, particularly 16-bit signed greyscale (commonly used with CT and MR). Because of the limited supported `modes`...
**Operating system**: Ubuntu 20.04 **wxPython version & source**: 4.1.1 **Python version & source**: CPython 3.9.12 **Description of the problem**: When adding and binding more than 26 `FloatCanvas.Object` instances the application...
#### Describe the changes * Adds `pixels` module * Moves `encoders` to `pixels.encoders`, deprecates old path * Moves pixel data utility functions to `pixels.utils`, deprecates old path * Deprecates `pixel_data_handlers`...
We should add a VR type check on setting element values to ensure they're valid. This should help users when an invalid value is used and with maintenance as it...
[SQ elements always have a VM of 1](http://dicom.nema.org/medical/dicom/current/output/chtml/part05/sect_7.5.html), however: ```python >>> from pydicom import Dataset >>> ds = Dataset() >>> ds.BeamSequence = [Dataset(), Dataset()] >>> ds["BeamSequence"].VM 2 ``` From what...
Typing issues that require broader changes: - [x] ~`iter(Dataset)` is `Iterator[BaseTag]` instead of `Iterator[DataElement]`~ - [ ] `DicomBytesIO` gives a type of `Union[TextIO, BinaryIO, BytesIO]`. Suggest refactoring to inherit BytesIO...
[We have code](https://github.com/pydicom/pydicom/blob/bd82f01faf4212f6e43f55a1cc6da17956122d8f/pydicom/valuerep.py#L115) in the DA class that allow invalidly formatted values: ```python >>> from pydicom.valuerep import DA >>> DA('2000.01.01') "2000.01.01" ``` I suggest we force conformance on these values...
**Describe the bug** Attempting to associate as the Requestor with SSL/TLS and OpenSSL 1.1.1 causes the association to hang before any data is sent to the peer. **Expected behavior** The...
At the moment when creating an SCP all requestors see the same presentation contexts. It would be nice if the supported contexts could be defined on a per-requestor basis (filtered...
The interface for the QR Move SCP could use some work: * ~The code itself is fairly spaghettied (as is Get) which makes changes harder than they should be~ *...