Hi,
I'm looking for a way to fix perspective. I think skewing the image would fix it. I have an object which goes like \ / and I want to straighten it out to | | I'm guessing stretching the entire image outwards by the bottom left and right corners by some degree will fix the perspective. Is there any way I could do this in imageJ? Are there any keywords you can tell me where I cold find a formula or algorithm that does this? Thanks. -Gautam Shankar |
Hello Gautam,
You can manually do it using Stephan Saalfeld plugin: http://pacific.mpi-cbg.de/wiki/index.php/Interactive_Perspective <http://pacific.mpi-cbg.de/wiki/index.php/Interactive_Perspective>Cheers, ignacio On Wed, Jun 23, 2010 at 12:27 PM, GAUTAM SHANKAR <[hidden email]>wrote: > Hi, > > I'm looking for a way to fix perspective. I think skewing the image would > fix it. > > I have an object which goes like \ / and I want to straighten it out to > | | > > I'm guessing stretching the entire image outwards by the bottom left and > right corners by some degree will fix the perspective. > > Is there any way I could do this in imageJ? Are there any keywords you can > tell me where I cold find a formula or algorithm that does this? Thanks. > > -Gautam Shankar > -- Ignacio Arganda-Carreras, Ph.D. Seung's lab, 46-5065 Department of Brain and Cognitive Sciences Massachusetts Institute of Technology 43 Vassar St. Cambridge, MA 02139 USA Phone: (001) 617-452-4976 Website: http://bioweb.cnb.csic.es/~iarganda/index_EN.html |
is there no way to write a macro/script to move the points? The macro
recorder doesn't pick up anything when I move the control points for transform perspective. thank you so much Ignacio. -Gautam Shankar On Wed, Jun 23, 2010 at 9:38 AM, Ignacio Arganda-Carreras < [hidden email]> wrote: > Hello Gautam, > > You can manually do it using Stephan Saalfeld plugin: > > http://pacific.mpi-cbg.de/wiki/index.php/Interactive_Perspective > > <http://pacific.mpi-cbg.de/wiki/index.php/Interactive_Perspective>Cheers, > > ignacio > > On Wed, Jun 23, 2010 at 12:27 PM, GAUTAM SHANKAR <[hidden email] > >wrote: > > > Hi, > > > > I'm looking for a way to fix perspective. I think skewing the image would > > fix it. > > > > I have an object which goes like \ / and I want to straighten it out > to > > | | > > > > I'm guessing stretching the entire image outwards by the bottom left and > > right corners by some degree will fix the perspective. > > > > Is there any way I could do this in imageJ? Are there any keywords you > can > > tell me where I cold find a formula or algorithm that does this? Thanks. > > > > -Gautam Shankar > > > > > > -- > Ignacio Arganda-Carreras, Ph.D. > Seung's lab, 46-5065 > Department of Brain and Cognitive Sciences > Massachusetts Institute of Technology > 43 Vassar St. > Cambridge, MA 02139 > USA > > Phone: (001) 617-452-4976 > Website: http://bioweb.cnb.csic.es/~iarganda/index_EN.html<http://bioweb.cnb.csic.es/%7Eiarganda/index_EN.html> > |
Hello again Gautam,
Not an easy way at least. You should go further into the code and see how Stephan applies the transformation when you click ENTER: http://pacific.mpi-cbg.de/cgi-bin/gitweb.cgi?p=mpicbg.git;a=blob;f=mpicbg/ij/InteractiveInvertibleCoordinateTransform.java;h=23b3a236718a70e1ec49b712e05e30fca4363d9f;hb=HEAD <http://pacific.mpi-cbg.de/cgi-bin/gitweb.cgi?p=mpicbg.git;a=blob;f=mpicbg/ij/InteractiveInvertibleCoordinateTransform.java;h=23b3a236718a70e1ec49b712e05e30fca4363d9f;hb=HEAD> ignacio On Thu, Jun 24, 2010 at 12:56 PM, GAUTAM SHANKAR <[hidden email]>wrote: > is there no way to write a macro/script to move the points? The macro > recorder doesn't pick up anything when I move the control points for > transform perspective. > > thank you so much Ignacio. > > -Gautam Shankar > > On Wed, Jun 23, 2010 at 9:38 AM, Ignacio Arganda-Carreras < > [hidden email]> wrote: > > > Hello Gautam, > > > > You can manually do it using Stephan Saalfeld plugin: > > > > http://pacific.mpi-cbg.de/wiki/index.php/Interactive_Perspective > > > > <http://pacific.mpi-cbg.de/wiki/index.php/Interactive_Perspective > >Cheers, > > > > ignacio > > > > On Wed, Jun 23, 2010 at 12:27 PM, GAUTAM SHANKAR <[hidden email] > > >wrote: > > > > > Hi, > > > > > > I'm looking for a way to fix perspective. I think skewing the image > would > > > fix it. > > > > > > I have an object which goes like \ / and I want to straighten it > out > > to > > > | | > > > > > > I'm guessing stretching the entire image outwards by the bottom left > and > > > right corners by some degree will fix the perspective. > > > > > > Is there any way I could do this in imageJ? Are there any keywords you > > can > > > tell me where I cold find a formula or algorithm that does this? > Thanks. > > > > > > -Gautam Shankar > > > > > > > > > > > -- > > Ignacio Arganda-Carreras, Ph.D. > > Seung's lab, 46-5065 > > Department of Brain and Cognitive Sciences > > Massachusetts Institute of Technology > > 43 Vassar St. > > Cambridge, MA 02139 > > USA > > > > Phone: (001) 617-452-4976 > > Website: http://bioweb.cnb.csic.es/~iarganda/index_EN.html< > http://bioweb.cnb.csic.es/%7Eiarganda/index_EN.html> > > > -- Ignacio Arganda-Carreras, Ph.D. Seung's lab, 46-5065 Department of Brain and Cognitive Sciences Massachusetts Institute of Technology 43 Vassar St. Cambridge, MA 02139 USA Phone: (001) 617-452-4976 Website: http://bioweb.cnb.csic.es/~iarganda/index_EN.html |
Free forum by Nabble | Edit this page |