Ask Your Question

dzvrt's profile - activity

2020-08-13 03:10:45 -0600 received badge  Taxonomist
2017-11-02 05:43:10 -0600 received badge  Notable Question (source)
2015-08-10 15:17:28 -0600 received badge  Popular Question (source)
2012-10-29 12:18:53 -0600 commented answer How does rotation in OpenCV work

I am familiar with them, but the problem is that I have an object on the image (my ROI) that I want to rotate. If I rotate the image using the above mentioned functions, the object on the rotated image is rotated as well for some strange angle, and not the desired one. This happens because because I'm rotating the image, but how can I achieve to rotate the object for a specific angle? I guess not by rotating the entire image?

2012-10-28 20:01:30 -0600 commented answer Affine transform image outside of view

Thanks for the ideas, I'll think about them.

2012-10-28 19:59:58 -0600 commented answer Affine transform image outside of view

Thanks for the code. I'll analyze it to understand how it works.

2012-10-28 17:58:09 -0600 received badge  Editor (source)
2012-10-28 17:57:37 -0600 asked a question How does rotation in OpenCV work

How does rotation in OpenCV work? I have a ROI in the image that I would like to rotate for a certain angle, and I move it to the top left corner of the image as a center of rotation. Then I move ROI back to the old position to see its new position. But the result I get is ROI under some strange angle. Can someone explain me how the rotation works?

2012-10-25 16:51:24 -0600 commented answer Affine transform image outside of view

I think that my problem is that once I start working with a big image, I apply the affine transform on the entire image, and then as I result I obtain another big image. Then if I continue applying transformations on the big image, I consider the coordinate system of the big image and that's why the problem happens. Is there a way to translate the coordinate system to the image (or the image is translated to the coordinate system) so that the image can be visible? The problem is that after the affine transform, I don't have any control of the position of the translated image.

2012-10-24 10:09:57 -0600 commented answer Affine transform image outside of view

I applied all your suggestions and after I reset the ROI, I apply the transformation on the big image. Then, I display the new image which now has the same size as the big image, but I still can't see the results of my transformation (the image is black).

2012-10-23 20:06:30 -0600 asked a question Affine transform image outside of view

I have an image on which I apply affine transforms (several of them in a row). The problem is that after executing them, sometimes happens that parts of the transformed image go outside of the view window and are not visible (as a result of the transformation). To make things worse, I use the transformed image to apply other affine transforms on it, but since the invisible part is lost, these transforms are not applied on it. Any suggestions how to recover the lost image part due to affine transformation? Thanks

2012-10-23 19:22:02 -0600 received badge  Scholar (source)
2012-10-11 14:58:59 -0600 commented answer Extract patch from image

Thanks! :)

2012-10-11 06:00:59 -0600 commented answer Extract patch from image

If I apply your suggestion, then will the color of the pixels within the shape, correspond to the color of the original image pixels? It is very important to preserve this information.

2012-10-10 19:25:43 -0600 commented answer Extract patch from image

Thanks, it was a good starting point. Actually I was thinking about something like this http://nashruddin.com/OpenCV_Circular_ROI , where the region of interest can be a circle, ellipse or any shape. The only thing in this solution not suitable for my case, is that the extracted circle patch has a color, and I would like to be just an image part. Do you have any suggestions for this?

2012-10-10 13:13:31 -0600 received badge  Student (source)
2012-10-10 11:32:29 -0600 asked a question Extract patch from image

Hi,

How can I extract a patch from an image, by knowing the image file to which it belongs? The patch is given with its center (the patch has the shape of an ellipse), its orientation, its scale, and its affine transformation with respect to a unit circle, and a set of descriptors.Any hints or code sample? Thanks!