Coder Social home page Coder Social logo

automatic_lesion_detection_tool_evaluation's Introduction

Evaluation tool

A nice tool to evaluate the benefits of using an automatic lesion detection tool.

Usage

User interfaces

The mouse enables to navigate in the image (click and drag on the different slices), as the arrow keys and the Page Up / Page Down keys.

To zoom in and out, click and drag up or down with the ALT key pressed.

The "Toggle side view" button enables to choose between a side-to-side view and a single view. The image checkboxes enable to show / hide each image.

The "< Prev" and "Next >" buttons enable to navigate in the patient list.

Papaya shortcuts (help menu > show keyboard reference):

[Spacebar] Cycle the main slice view in a clockwise rotation.
[Page Up] or ['] Increment the axial slice.
[Page Down] or [/] Decrement the axial slice.
[Arrow Up] and [Arrow Down] Increment/decrement the coronal slice.
[Arrow Right] and [Arrow Left] Increment/decrement the sagittal slice.
[g] and [v] Increment/decrement main slice.
[<] or [,] Decrement the series point.
[>] or [.] Increment the series point.
[o] Navigate viewer to the image origin.
[c] Navigate viewer to the center of the image.
[a] Toggle main crosshairs on/off.

Create a task file to view a database

The task folder structure must be the following:

/path/to/session1
├── patient1
│   ├── clinical_case.txt
│   ├── flair1.nii.gz
│   ├── flair2.nii.gz
│   ├── report.pdf
│   └── segmentation.nii.gz
├── patient2
│   ├── ...

The create_patient_list.py script in this repository is an example to create a json task file.

A task file has the following structure:

{
	{
	"patients": [
		{
			"name": "patient01", 															# The patient name
			"description": "Patient: 8099YL-GMMZZO-0417OF-RMMMVC, patient: 5", 				# The patient description
			"images": [																		# The image list for this patient
				{
					"name": "time01",														# The name of the image
					"file": "8099YL-GMMZZO-0417OF-RMMMVC_flair_time01.nii.gz",				# The path of the image in the image archive or folder
					"parameters": {															# The [Papaya images options](https://github.com/rii-mango/Papaya/wiki/Configuration#image-options))
						"minPercent": 0,													# Can be min or minPercent
						"maxPercent": 1,													# Can be max or maxPercent, a nice trick is to use different max values on the same look-up table to display different label images with different colors
						"lut": "Grayscale"
					},
					"display": true 														# Wether to display the image by default or not
				},
				{
					"name": "time02",
					"file": "8099YL-GMMZZO-0417OF-RMMMVC_flair_time02.nii.gz",
					"parameters": {
						"minPercent": 0,
						"maxPercent": 1,
						"lut": "Grayscale"
					},
					"display": true
				},
				[...]
			]
		},
		[...]
	],
	"fields": [																				# The list of the custom fields in the patient table
		{
			"field": "new",																	# The field name
			"sortable": true,																# The column will be sortable
			"resizable": true,																# The column (width) will be resizable
			"filter": true,																	# Enable to filter the column
			"editable": true,																# Enable to edit values in the column
			"longiseg_type": "bool",														# Create a checkbox in the column for this boolean value
		},
		{
			"field": "growing",
			"sortable": true,
			"resizable": true,
			"filter": true,
			"editable": true,
			"longiseg_type": "bool",
		}
	]
}
}

The image archive or folder is just the place containing all images refered in the "images" attributes of the patients of a task. In the example above, the images folder must at least contain the images 8099YL-GMMZZO-0417OF-RMMMVC_flair_time01.nii.gz and 8099YL-GMMZZO-0417OF-RMMMVC_flair_time02.nii.gz. It can also contains other files.

automatic_lesion_detection_tool_evaluation's People

Contributors

arthursw avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.