radmedres / clmedview

An attempt to create a cross-platform medical image viewer specialized in drawing "regions of interests".
GNU General Public License v3.0
3 stars 2 forks source link

Feature Change: Path of file when saving a mask. #14

Closed minovations closed 9 years ago

minovations commented 9 years ago

Feature Change: When you hit the save button, all masks are stored on disk. Currently the mask is stored in the execution path of the application (clmedview is in /home/stuupke/clmedview, so the masks are stored in /home/stuupke/x_clone_x.nii)

Changes: Files are now stored in the directory of the original image. The clone is replaced with mask. The masks are numbered with preceding zero's. The file path is stored in the serie struct at creation of the struct. If the file exisist, the file will be regardless overwritten.

include/lib-memory-serie.h

lib/lib-memory/lib-memory-io.c source/gui/mainwindow.c

include/lib-memory-serie.c