0

I want to implement iradon. Radon image shape is (168,400). But when I implement iradon on it the image shape become (168,168)!!! I want to have an image with (168,400) shape. Where is the problem?

Image = iradon (radon_image, filter_name=None)

I read the instruction on: https://scikit-image.org/docs/stable/api/skimage.transform.html#skimage.transform.iradon ; but I did not understand the problem. I really appreciate if anyone can help me.

1 Answers1

1

I think you might be mis-understanding how the Radon (and inverse Radon) transform work.

The size of your radon_image is (number of pixels in original image, number of projections). So in your example, the image is 168 pixels across with 400 different projections (see image below from the scikit-image website). Therefore, when you perform the inverse Radon transform you will get an image with a size of 168 pixels.

Perhaps if you explain further why you want the resulting image with a particular size, it will be possible to help further.

img

Robbie
  • 4,672
  • 1
  • 19
  • 24
  • Actually I want to multiply the out put of iradon to the original image whose dimensions are (168x400)(iterative reconstruction). But I get the following error: ValueError: operands could not be broadcast together with shapes (168,400) (168,168) – tahereh zare Sep 02 '22 at 07:00
  • @taherehzare the output of `iradon` and `radon` should be different sizes, mostly. Are you multiplying the right thing? – Ander Biguri Sep 02 '22 at 15:04
  • Yes. I sure that I multiply the right things. But I don't know what the problem really is. I have to check more closely. – tahereh zare Sep 03 '22 at 03:11