Dear all,
I've been attempting to play with the "Fourier descriptors" plugin by Thomas Boudier (many thanks for that). Unfortunately I can't get it to work. After thresholding a particle and drawing a ROI round it with run("Create Selection"), I want to pass this ROI to the Fourier plugin. I get the error "Selection type not supported - the Roi must be closed." How do I "close" the ROI? I want to use this specific ROI and not create another for Fourier shape analysis, which the plugin seems to allow me to do. Thanks, Andy |
Hi Andy,
Humm I wrote it long time ago, and you need a closed shape to make the calculation, so you should use a closed shape selection like "freehand selection" and not "frehand line selection" that is not closed. And if you have suggestion about the plugin, tell me. Thomas On Mon, 10 Jul 2006 14:12:12 +0200, Andy Weller wrote > Dear all, > > I've been attempting to play with the "Fourier descriptors" plugin by > Thomas Boudier (many thanks for that). > > Unfortunately I can't get it to work. After thresholding a particle and > drawing a ROI round it with run("Create Selection"), I want to pass this > ROI to the Fourier plugin. I get the error "Selection type not supported > - the Roi must be closed." > > How do I "close" the ROI? I want to use this specific ROI and not create > another for Fourier shape analysis, which the plugin seems to allow > me to do. > > Thanks, Andy -- Institut Curie -- Section Recherche/Research Division http://www.curie.fr |
Thomas,
Yes this appears to be true - if I create a freehand selection, then the Fourier descriptors are calculated correctly. It appears that my ROI 'shape' is not closed after creating with run("Create Selection"). How can I convert this ROI to a 'closed shape' so that the Fourier descriptors can be calculated? Many thanks, Andy On Mon, 2006-07-10 at 18:40 +0300, Thomas Boudier wrote: > Hi Andy, > > Humm I wrote it long time ago, and you need a closed shape to make the > calculation, so you should use a closed shape selection like "freehand > selection" and not "frehand line selection" that is not closed. And if you > have suggestion about the plugin, tell me. > > Thomas > > > On Mon, 10 Jul 2006 14:12:12 +0200, Andy Weller wrote > > Dear all, > > > > I've been attempting to play with the "Fourier descriptors" plugin by > > Thomas Boudier (many thanks for that). > > > > Unfortunately I can't get it to work. After thresholding a particle and > > drawing a ROI round it with run("Create Selection"), I want to pass this > > ROI to the Fourier plugin. I get the error "Selection type not supported > > - the Roi must be closed." > > > > How do I "close" the ROI? I want to use this specific ROI and not create > > another for Fourier shape analysis, which the plugin seems to allow > > me to do. > > > > Thanks, Andy |
Dear all,
For those that are interested, I have found a solution for ROI closing after run("Create Selection") and prior to Fourier shape analysis. In a macro: run("Create Selection"); // requires 1.37j run("Enlarge...", "enlarge=0"); run("Fit Spline"); run("Fourier ", "fourier=8 output"); Cheers, Andy On Tue, 2006-07-11 at 10:49 +0200, Andy Weller wrote: > Thomas, > > Yes this appears to be true - if I create a freehand selection, then the > Fourier descriptors are calculated correctly. > > It appears that my ROI 'shape' is not closed after creating with > run("Create Selection"). > > How can I convert this ROI to a 'closed shape' so that the Fourier > descriptors can be calculated? > > Many thanks, Andy > > On Mon, 2006-07-10 at 18:40 +0300, Thomas Boudier wrote: > > Hi Andy, > > > > Humm I wrote it long time ago, and you need a closed shape to make the > > calculation, so you should use a closed shape selection like "freehand > > selection" and not "frehand line selection" that is not closed. And if you > > have suggestion about the plugin, tell me. > > > > Thomas > > > > > > On Mon, 10 Jul 2006 14:12:12 +0200, Andy Weller wrote > > > Dear all, > > > > > > I've been attempting to play with the "Fourier descriptors" plugin by > > > Thomas Boudier (many thanks for that). > > > > > > Unfortunately I can't get it to work. After thresholding a particle and > > > drawing a ROI round it with run("Create Selection"), I want to pass this > > > ROI to the Fourier plugin. I get the error "Selection type not supported > > > - the Roi must be closed." > > > > > > How do I "close" the ROI? I want to use this specific ROI and not create > > > another for Fourier shape analysis, which the plugin seems to allow > > > me to do. > > > > > > Thanks, Andy |
Free forum by Nabble | Edit this page |