-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
import dicom2jpg not working #3
Comments
Hi,
it seems that you have an file named dicom2jpg.py in your /src folder,
so python would import(run) that .py file first, instead of importing the
dicom2jpg module.
try install dicom2jpg via pip, and rename the dicom2jpg.py in your /src
folder
hope this helps.
Donggeun Ko ***@***.***> 於 2021年11月18日 週四 下午2:30寫道:
… Hello.
First of all, I really appreciate you for making cool package.
However, it seems that dicom2jpg package is not working at all.
It says that dicom2jpg has no attribute as such found on image.
What I did was pip install dicom2jpg only.
Is there something that I should do more?
[image: image]
<https://user-images.githubusercontent.com/72428646/142364113-f02c8511-4e32-43b0-a5d7-329d0f5e4171.png>
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#3>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AI77ALJNVE476EBVOPVUALTUMSMRHANCNFSM5IIZWBXA>
.
|
Thanks for suck quick comment :). In the file, it looks like this. Thank you in advance!! |
I think I will followup the question. It seems to work when I do not add target_root for dicom2png. |
Hi,
no message means everything is fine...(i hope so)
your code converts all the dicom files in dicom_dir, to
export_location/TODAY/ directory
did you find the files there?
Donggeun Ko ***@***.***> 於 2021年11月18日 週四 下午3:20寫道:
… Hi, it seems that you have an file named dicom2jpg.py in your /src folder,
so python would import(run) that .py file first, instead of importing the
dicom2jpg module. try install dicom2jpg via pip, and rename the
dicom2jpg.py in your /src folder hope this helps. Donggeun Ko *@*.***> 於
2021年11月18日 週四 下午2:30寫道:
… <#m_4411369528139210704_>
Hello. First of all, I really appreciate you for making cool package.
However, it seems that dicom2jpg package is not working at all. It says
that dicom2jpg has no attribute as such found on image. What I did was pip
install dicom2jpg only. Is there something that I should do more? [image:
image]
https://user-images.githubusercontent.com/72428646/142364113-f02c8511-4e32-43b0-a5d7-329d0f5e4171.png
— You are receiving this because you are subscribed to this thread. Reply
to this email directly, view it on GitHub <#3
<#3>>, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AI77ALJNVE476EBVOPVUALTUMSMRHANCNFSM5IIZWBXA
.
Thanks for suck quick comment :).
I have one more question if you do not mind.
I solved the issue of the dicom2jpg.py in my src.
If I type in my command line python dcjp.py nothing happens (dcjp.py is
dicom2jpg.py . I just renamed it)
[image: image]
<https://user-images.githubusercontent.com/72428646/142369962-7f7d98e3-16c5-4df9-adb7-76200748f605.png>
In the file, it looks like this.
[image: image]
<https://user-images.githubusercontent.com/72428646/142370091-9ade69c2-1ca0-478f-8ada-b4d9141f4599.png>
Thank you in advance!!
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#3 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AI77ALPEZFXILAKJ5IAYVGLUMSSLHANCNFSM5IIZWBXA>
.
|
hi,
you can convert single file or all files in one directory in dicom2jpg /
dicom2png / dicom2bmp
Donggeun Ko ***@***.***> 於 2021年11月18日 週四 下午3:38寫道:
… I think I will followup the question. It seems to work when I do not add
target_root for dicom2png.
Does target_root only work for dicom2jpg.dicom2bmp?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#3 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AI77ALMVWFKXIA5LYNMFFSDUMSUNXANCNFSM5IIZWBXA>
.
|
Hello, Everything works fine now ! 👍 . Thanks for the great help! Love the package 💯 |
Hi,
glad to hear that :)
currently not much room for adjusting...
- you can anonymize the out put folder name by setting *anonymous=False*
- if error occurs, may try *multiprocessing=False *(which may decrease
conversion speed)
Donggeun Ko ***@***.***> 於 2021年11月18日 週四 下午4:31寫道:
… Hello,
Everything works fine now ! 👍 .
I did not realize that dicom2jpg and dicom2png both works with target_root.
Is there any other parameters that I can utilize?
Thanks for the great help! Love the package 💯
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#3 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AI77ALK3QJ4EBIX2PRPWXTLUMS2VNANCNFSM5IIZWBXA>
.
|
Hello.
First of all, I really appreciate you for making cool package.
However, it seems that dicom2jpg package is not working at all.
It says that dicom2jpg has no attribute as such found on image.
What I did was pip install dicom2jpg only.
Is there something that I should do more?
The text was updated successfully, but these errors were encountered: