Skip to content
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

How to specify image dimensions for reconstructed images #8

Open
roshtha opened this issue Sep 30, 2020 · 6 comments
Open

How to specify image dimensions for reconstructed images #8

roshtha opened this issue Sep 30, 2020 · 6 comments
Assignees
Labels
help wanted Extra attention is needed

Comments

@roshtha
Copy link

roshtha commented Sep 30, 2020

Hello,

I run SART algorithm for reconstructing images. I understand that the function dataPreprocess resizes the projection data to contain only the needed object and SART algorithm reconstructs images to this projection data size. I have a few questions:

How can I set image dimensions (widthxheight) for reconstructed images? For example I have detector panel pixel density as

parameter.nu = 2816;    
parameter.nv = 3584;

But want to get reconstructed images in dimenstions of 803x1127 (WidthxHeight). How can I specify image dimensions?

Second question is regarding function dataPreprocess. The segmentation crops projection data and we loose information from the removed part. How can we get information from this part for the reconstructed images?

It would be very helpful if you can provide some inputs on this.

Drawing1

Thanks.

@rodrigovimieiro rodrigovimieiro added the help wanted Extra attention is needed label Sep 30, 2020
@rodrigovimieiro rodrigovimieiro self-assigned this Sep 30, 2020
@rodrigovimieiro
Copy link
Member

Hello

Regarding your questions:

  1. You might change these parameters for volume configuration:
% Breast voxels density
parameter.nx = 803;    % number of voxels (columns)
parameter.ny = 1127;    % number of voxels (rows)

% Single voxel real size (mm)
parameter.dx = 0.112;   % Change this parameter according to your equipment configuration
parameter.dy = 0.112;
  1. You can change this part from your dataPreprocess code:
% data_mod = data(:,Ind:end,:);
data_mod = data(:,:,:);

This cropping is just for speed purposes.

Let me know if it works for you.

@roshtha
Copy link
Author

roshtha commented Oct 1, 2020

Thanks for the reply. I could reconstruct images in specified image dimensions.

Now regarding the segmentation part, I also want to crop the projection data to reduce reconstruction time. But also want background information from the removed part to have a more realistic image view in the reconstructed images.

Is it a correct approach to run a one-iteration SART on removed projection data and then blend the images of segmented and cropped out projection parts for final images?

@rodrigovimieiro
Copy link
Member

It depends what you call "correct". This approach seems reasonable to me because we don't care that much with this background information. You could also set it all to 0.

Good luck :)

@fettahyildizz
Copy link

Hi @roshtha , could you please share your e-mail with me? We have some problems that we are unable to find answers. Thanks in advance.

@fettahyildizz
Copy link

or you can just e-mail me: [email protected]

@rodrigovimieiro
Copy link
Member

or you can just e-mail me: [email protected]

Hello Fettah, I just answered your e-mail.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants