Hi Stefan,
Thank you very much for your suggestion. I am trying to figure out how to
add in a certain amount of translation for different transforms.
Thanks
Yongda
On Tuesday, June 18, 2013 12:24:46 AM UTC-7, Stefan van der Walt wrote:
>
> On Mon, Jun 17, 2013 at 8:01 PM, Yongda Chen <yongd...(a)gmail.com<javascript:>>
> wrote:
> > I am trying to do geometric transformation with warp in scikit-image,
> but I
> > cannot get the full size transformed image which has different image
> size to
> > original image. Even after setting up output_shape parameter, it still
> lost
> > part of image which is transformed to negative coordinates.
>
> I'd represent the rotation as a transformation matrix, and then also
> add in a certain amount of translation to account for the negative
> coordinates. I believe this is what Johannes also recommended, and
> what is coded up in `skimage.transform.rotate`.
>
> Stéfan
>