nroduit / Weasis

Weasis is a DICOM viewer available as a desktop application or as a web-based application.
https://nroduit.github.io
Other
828 stars 294 forks source link

dicomizer import picture problem #523

Open py-coco opened 8 months ago

py-coco commented 8 months ago

Describe the bug. What happened?

When I tried to convert jpg to dicom using dicomizer, the following problem occurred: Select the image, click import, the page appears a pop-up box, but there is no response, no error reported in the log. image

What version of Weasis are you running?

4.3.0

On which system the problem occurs?

Windows

Relevant log output

13.03.2024 16:40:22.659 *INFO* [FelixStartLevel] org.apache.sling.commons.log.internal.LogManager: LogManager: Logging set up from context
13.03.2024 16:40:23.144 *INFO* [FelixStartLevel] org.weasis.core.internal.cv.NativeOpenCVCodec: Native OpenCV is activated
13.03.2024 16:40:23.145 *INFO* [FelixStartLevel] org.weasis.core.internal.Activator: Register Image Codec Plug-in: OpenCV imgcodecs
13.03.2024 16:40:23.158 *INFO* [FelixStartLevel] org.weasis.core.internal.Activator: Register Image Codec Plug-in: JDK ImageIO
13.03.2024 16:40:23.172 *INFO* [FelixStartLevel] org.weasis.dicom.codec.DicomCodec: Activate DicomCodec
13.03.2024 16:40:23.174 *INFO* [FelixStartLevel] org.weasis.core.internal.Activator: Register Image Codec Plug-in: dcm4che
13.03.2024 16:40:23.477 *INFO* [AWT-EventQueue-0] org.weasis.core.internal.Activator: Register series viewer plug-in: 默认系统应用
13.03.2024 16:40:23.596 *DEBUG* [AWT-EventQueue-0] org.weasis.base.ui.gui.WeasisWin: Max main screen bound: java.awt.Rectangle[x=0,y=0,width=1536,height=824]
13.03.2024 16:40:23.652 *INFO* [AWT-EventQueue-0] org.weasis.base.ui.gui.WeasisWin: End of loading the GUI...
13.03.2024 16:40:23.722 *INFO* [FelixStartLevel] org.weasis.base.ui.gui.WeasisWinListener: Activate the main window PropertyChangeListener
13.03.2024 16:40:24.188 *INFO* [AWT-EventQueue-0] org.weasis.base.ui.gui.WeasisWinListener: Register data explorer Plug-in: Acquisition
13.03.2024 16:40:24.194 *INFO* [AWT-EventQueue-0] org.weasis.core.ui.docking.ExtToolFactory: Activate the Photo Editor panel
13.03.2024 16:40:24.245 *INFO* [AWT-EventQueue-0] org.weasis.core.internal.Activator: Register series viewer plug-in: 影像查看器
13.03.2024 16:40:24.309 *DEBUG* [Thumbnail Cache-pool-4-thread-1] org.weasis.core.api.media.data.ImageElement: Asking for reading image: file:/C:/Users/Administrator/Desktop/PACS/ecg.jpg
13.03.2024 16:40:35.425 *DEBUG* [Thumbnail Cache-pool-4-thread-1] org.weasis.core.api.media.data.ImageElement: Asking for reading image: file:/C:/Users/Administrator/Desktop/ECG/ecg1.jpg
13.03.2024 16:40:35.640 *DEBUG* [Thumbnail Cache-pool-4-thread-1] org.weasis.core.api.media.data.ImageElement: Asking for reading image: file:/C:/Users/Administrator/Desktop/ECG/ecg2.jpg

Additional contextual elements

No response

nroduit commented 8 months ago

Can you share an example of an image that cannot be imported?

py-coco commented 8 months ago

Well, thank you for taking the time to answer my questions,It's not entirely a problem, and occasionally you can import it. example:It's a jpg from a photo ecg1

nroduit commented 8 months ago

I have tried several times on several systems and have not been able to reproduce the problem.

¨I'm not sure what the problem could be, as there are no errors in the logs. When this window is opened, there's just a call to the preferences. Can you open the preferences window (File > Preferences)?

Could other files in this directory can't be read (but we should see this in the logs)?

Alternatively, you can drag and drop or double-click on the thumbnail to import images.

Unfortunately, I'm not going to be able to correct this without a way to reproduce it.

py-coco commented 8 months ago

Ok, maybe there is something wrong with my computer environment. I will try it on another computer. Thank you very much!