Hope you all are very good. i am a new babie in MATLAB world but learning very well. i am working in medical physics field. i have 55 jpg images and every image has its dose file which is in excel. i made a GUI. the aim of work is to calculate the mean, maximum doses inside the contour region.
what i have done:
Now, first i open the jpg image then i zoom the image then i contour the zoom image by imfreehand and used poly2mask and use find to calculate the coordinates inside the contoured region. i can find these [Y,X] coordinates on a excel sheet but i dont need a excel sheet, i need these should be on a table. i dont know what unit these [Y,X] have but the 3rd coodinate is Z (Z will be the thickness of the image??) is in centimeter (cm). then how can i change this to the same coodinate as [Y,X] have. this cxecl file contains 2 columns [Y,X] and have lot of rows depending on the contour region.
Problem (Question) i want to calculate the dose of these [Y,X,Z] coodinates using that dose file which is in excel and one excel sheet contaions 127 rows,127 columns and 55 excel sheets for every image.How can i do this? if i do this then i will caclulate the maximum, median, mean doses in that region. dimension of dose file are also different from the [Y,X,Z]. Hope for a positive and early and explained answer. Help is appreciated in advance.