-
Notifications
You must be signed in to change notification settings - Fork 60
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
starting toolkit using API problem #25
Comments
Hi. Thanks for reporting. Tutorial 3 is a bit out of date, so that command will no longer work. The easiest thing to do is import the data using To turn that volume into a Dataset object use If I think the rest of the tutorial should work. |
hello sir,
the commands you mentioned did work on the dicom set I gave but there are
few error namely:
1. image_viewer.ViewerPanelHandle.OverlayImage = lobes;
Invalid or deleted object.
2. PTKVisualiseIn3D([], lobes, smoothing_size_mm, false);
Undefined function 'PTKVisualiseIn3D' for input arguments of type
'PTKDicomImage'.
How to rectify them.
sir, I have written some codes for 2D airway segmentation for 2D image. is
it possible for me to run this for dicom dataset i provide on this ptk
toolkit. Actually I want to test my code on 3D images. My moto is to first
remove airways then segment vessels. can i do this work with the PTK
toolkit. please guide.
thanks a lot sir for your response. you have been very kind.
Anita Khanna
PhD scholar, NIT Raipur
Asst. Prof., Electrical Dept,
Institute of technology, GGU,
Bilaspur (C.G.)
mob no: +919425280114
…On Mon, Oct 23, 2017 at 3:17 AM, Tom Doel ***@***.***> wrote:
Hi. Thanks for reporting. Tutorial 3 is a bit out of date, so that command
will no longer work.
The easiest thing to do is import the data using image_uids =
ptk_main.ImportData(source_path);.
This will group your data into one or more contiguous volumes. This
returns a cell array of UIDs, where each cell array element is a UID for
that contiguous volume. Normally a single image series will return a single
volume, so image_uids will contain just one UID.
To turn that volume into a Dataset object use
dataset = ptk_main.CreateDatasetFromUid(image_uids{1});
If image_uids contains more than one UID it means the data have grouped
into more than one volume (e.g. you have imported multiple images, or there
are scout or other images mixed in with the volume). In this case you can
examine the different volumes returned by creating a Dataset object for
each, such as dataset_2 = ptk_main.CreateDatasetFromUid(image_uids{2});
I think the rest of the tutorial should work.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#25 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AYBs91nwVojud3WOmAJKRZEa5u2gDR3Zks5su7fngaJpZM4P6cSN>
.
|
when i write ' file_infos = PTKDicomUtilities.GetListOfDicomFiles(source_path);', it says 'Undefined variable "PTKDicomUtilities" or class PTKDicomUtilities.GetListOfDicomFiles". i defined file path in source_path. please help
The text was updated successfully, but these errors were encountered: