tahereh zare
tahereh zare

Reputation: 19

Promblem to use iradon on image with the shape of (168,400)

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.

Upvotes: 0

Views: 609

Answers (1)

Robbie
Robbie

Reputation: 4882

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

Upvotes: 1

Related Questions