How to add a segmentation to an image

Add a segmentation to a dataset

1.Login and go to the Upload page, upload your dataset

2.Go to MyVSD->Unvalidated Data

1_unvalidated

3.Deselect the data you don’t want to validate

2_unselect

4.Select the segmentation and press the validate button

3_select_validate

5.Now edit the file information, make sure you add the anatomical region

4_fileinformation

6.Now go the the related data tab and search for the source dataset of your segmentation: eg 559 and add it. This creates the relation (link) between the uploaded segmentation and the source dataset

7_link

7.Fill permission/license if needed and go to the Publish tab.

8_publish

8.Click on publish. Once finished, your segmentation is now in the system and in your MyVSD-MyData folder

API: Linking

Linking Example

In this example, we use Fiddler to execute the commands.

  1. We want to first check the existing links of a object
  2. Then we create a new link
  3. We can check the existance of the new link
  4. Delete the link

Preparation

Header:

This it the header configuration: Put it in the composer tab -> Parser: in the field below the GET / URL input.

Check existing links

First get the object

GET https://demo.virtualskeleton.ch/api/objects/110

We get the 200 Http response code in the Session List and click on the entry in the list to view the JSON output. We check if the desired object is already linked.

if not, we can send the URLs of both objects to create a link using POST

Create a link:

  1. Add this line to the header Content-Type: application/json

  1. The POST endpoint to create the link is

POST https://demo.virtualskeleton.ch/api/object-links

with the Request Body containing both selfUrl’s of the objects (eg. 110, 86):

you get back the object-links id selfURL in the response:

selfUrl=https://demo.virtualskeleton.ch/api/object-links/102

check if the link is present in object 110 using again

GET https://demo.virtualskeleton.ch/api/objects/110

Deleting an existing link

You need to identify the ID of the link. This information is in the object as linkedObjectRelations. To delete to link just use:

DELETE https://demo.virtualskeleton.ch/api/object-links/102

API: Copy object to a folder

How to add an object to an existing folder

Object

I want to put this object with the ID 110 into the folder test1

Folder

To get the list of my folders (there is a way to filter them…i cant remember)

Or just search for the name eg test1 using the oData conventions:

test1 folder has id: 53

Response

Copy the object to the folder

Now to add the object we add to selfUrl of the object into the filled body of the folder and do a PUT folders. IMPORTANT add the content-type to the header:

Shape 2015 Challenge

SMIR is hosting the Shape 2015 Challenge

Participants are given 49 trainingsets + 10 surface models with the goal to obtain the best possible reconstruction (shape completion) for the 10 given partial livers.

Please visit the Shape 2015 Challenge page to read the instructions and rules.

And visit the Website of the Shape 2015, the conference about Statistical Models, the host of the Shape 2015 Challenge.