Dear all,
I am trying to use the cycloid arc plug-in and I was wondering; how do you calculate the length of the individual cycloid arcs please? I know you input the percent of the image width you wish the height of the cycloid to be, but what is the 'image width' they are referring to? It cannot be of the whole on screen image, but is it of the 'box' area each cycloid is contained within? I am very sorry if this is a silly question, Thank you in advance for your help, Sinead Roberts |
Sinead,
>how do you calculate the length of the individual cycloid arcs? The length of the cycloid per test point is displayed in the Results Table (l/p). Also, Length of Cycloid per Point = 2.0 * cycloidHeight (in physical units) for Sequence C Length of Cycloid per Point = cycloidHeight (in physical units) for Sequence A >what is the 'image width' they are referring to? We define the height of the cycloid as a fraction/ percentage of the image width. The image width is the width of the current image (ImagePlus). keesh Work Life Plan: To improve the quality of life for all mankind through better pattern recognition techniques. Home Life Plan: Married, but happy. Three bright beacons light my way. "Life goes by so fast, that if you don't stop and look around, you might miss it."-- Ferris Bueller === -----Original Message----- From: ImageJ Interest Group [mailto:[hidden email]] On Behalf Of sinead roberts Sent: Monday, November 16, 2009 12:29 PM To: [hidden email] Subject: Cycloid grids Dear all, I am trying to use the cycloid arc plug-in and I was wondering; how do you calculate the length of the individual cycloid arcs please? I know you input the percent of the image width you wish the height of the cycloid to be, but what is the 'image width' they are referring to? It cannot be of the whole on screen image, but is it of the 'box' area each cycloid is contained within? I am very sorry if this is a silly question, Thank you in advance for your help, Sinead Roberts |
That is great, thanks very much for your help- there is just one more
thing; when you say you define the height of the cycloid as a fraction of the image width- this is not necessarily the width of the image, but the fraction of whichever is smaller out of the width/height isn't it? Or, that is what mine seems to be doing! Thanks very much. Sinead On 17 Nov 2009, at 16:17, Kischell, Eric R. wrote: > Sinead, >> how do you calculate the length of the individual cycloid arcs? > The length of the cycloid per test point is displayed in the Results > Table (l/p). > Also, > Length of Cycloid per Point = 2.0 * cycloidHeight (in physical units) > for Sequence C > Length of Cycloid per Point = cycloidHeight (in physical units) for > Sequence A > >> what is the 'image width' they are referring to? > We define the height of the cycloid as a fraction/ percentage of the > image width. > The image width is the width of the current image (ImagePlus). > > keesh > Work Life Plan: > To improve the quality of life for all mankind through better pattern > recognition techniques. > Home Life Plan: > Married, but happy. Three bright beacons light my way. > "Life goes by so fast, that if you don't stop and look around, you > might > miss it."-- Ferris Bueller > === > > -----Original Message----- > From: ImageJ Interest Group [mailto:[hidden email]] On Behalf Of > sinead roberts > Sent: Monday, November 16, 2009 12:29 PM > To: [hidden email] > Subject: Cycloid grids > > Dear all, > > I am trying to use the cycloid arc plug-in and I was wondering; how do > you calculate the length of the individual cycloid arcs please? I know > you input the percent of the image width you wish the height of the > cycloid to be, but what is the 'image width' they are referring to? It > cannot be of the whole on screen image, but is it of the 'box' area > each cycloid is contained within? > > I am very sorry if this is a silly question, > Thank you in advance for your help, > > Sinead Roberts |
Hi,
Has anyone come across an issue when trying to paste into a particular area of an image using the setSelectionLocation function. For some reason, the paste location always defaults to the centre of the image for the first occurrence but pastes correctly (into the top left corner based on the lines below) only on the second occurrence. It is very frustrating and any workaround would be appreciated! makeRectangle(100,100,100,100); run("Copy"); setSelectionLocation(1,1); run("Paste"); // pastes to centre of image when run setSelectionLocation(1,1); run("Paste"); // only now pastes to the top left corner of image when run Regards, Conor. |
Hi Conor,
no problem with the first run("Paste"); on my system (ImageJ 1.43k4, Java 1.5.0_19, Mac OSX 10.4.11). Maybe a race condition? You could try adding a wait(100); statement before run("Paste"). Michael ________________________________________________________________ On 18 Nov 2009, at 15:27, Conor Creedon wrote: > Hi, > > Has anyone come across an issue when trying to paste into a particular > area of an image using the setSelectionLocation function. For some > reason, the paste location always defaults to the centre of the image > for the first occurrence but pastes correctly (into the top left > corner > based on the lines below) only on the second occurrence. It is very > frustrating and any workaround would be appreciated! > > makeRectangle(100,100,100,100); > run("Copy"); > setSelectionLocation(1,1); > run("Paste"); // pastes to centre of image when run > setSelectionLocation(1,1); > run("Paste"); // only now pastes to the top left corner of image when > run > > > Regards, > > Conor. |
In reply to this post by Sinead Roberts
Sinead,
The user can define the height of the cycloid (and as a result, also the width) as a percentage of the image width. The cycloid height is limited to the maximum of the tile height. See Grid_Cycloid_Arc.java calcCycloidWidthHeightParameters() for all of the gory details. >when you say you define the height of the cycloid as a fraction >of the image width- this is not necessarily the width of the image, >but the fraction of whichever is smaller out of the width/height isn't >it? Or, that is what mine seems to be doing! e.- === -----Original Message----- From: ImageJ Interest Group [mailto:[hidden email]] On Behalf Of sinead roberts Sent: Wednesday, November 18, 2009 2:23 AM To: [hidden email] Subject: Re: Cycloid grids That is great, thanks very much for your help- there is just one more thing; when you say you define the height of the cycloid as a fraction of the image width- this is not necessarily the width of the image, but the fraction of whichever is smaller out of the width/height isn't it? Or, that is what mine seems to be doing! Thanks very much. Sinead On 17 Nov 2009, at 16:17, Kischell, Eric R. wrote: > Sinead, >> how do you calculate the length of the individual cycloid arcs? > The length of the cycloid per test point is displayed in the Results > Table (l/p). > Also, > Length of Cycloid per Point = 2.0 * cycloidHeight (in physical units) > for Sequence C > Length of Cycloid per Point = cycloidHeight (in physical units) for > Sequence A > >> what is the 'image width' they are referring to? > We define the height of the cycloid as a fraction/ percentage of the > image width. > The image width is the width of the current image (ImagePlus). > > keesh > Work Life Plan: > To improve the quality of life for all mankind through better pattern > recognition techniques. > Home Life Plan: > Married, but happy. Three bright beacons light my way. > "Life goes by so fast, that if you don't stop and look around, you > might > miss it."-- Ferris Bueller > === > > -----Original Message----- > From: ImageJ Interest Group [mailto:[hidden email]] On Behalf Of > sinead roberts > Sent: Monday, November 16, 2009 12:29 PM > To: [hidden email] > Subject: Cycloid grids > > Dear all, > > I am trying to use the cycloid arc plug-in and I was wondering; how do > you calculate the length of the individual cycloid arcs please? I know > you input the percent of the image width you wish the height of the > cycloid to be, but what is the 'image width' they are referring to? It > cannot be of the whole on screen image, but is it of the 'box' area > each cycloid is contained within? > > I am very sorry if this is a silly question, > Thank you in advance for your help, > > Sinead Roberts |
That is great, thank you very much, I understand now,
Best Sinead On 18 Nov 2009, at 17:31, Kischell, Eric R. wrote: > Sinead, > > The user can define the height of the cycloid (and as a result, also > the > width) > as a percentage of the image width. > The cycloid height is limited to the maximum of the tile height. > See Grid_Cycloid_Arc.java calcCycloidWidthHeightParameters() for > all of the gory details. > >> when you say you define the height of the cycloid as a fraction >> of the image width- this is not necessarily the width of the image, >> but the fraction of whichever is smaller out of the width/height >> isn't > >> it? Or, that is what mine seems to be doing! > e.- > === > > -----Original Message----- > From: ImageJ Interest Group [mailto:[hidden email]] On Behalf Of > sinead roberts > Sent: Wednesday, November 18, 2009 2:23 AM > To: [hidden email] > Subject: Re: Cycloid grids > > That is great, thanks very much for your help- there is just one more > thing; when you say you define the height of the cycloid as a fraction > of the image width- this is not necessarily the width of the image, > but the fraction of whichever is smaller out of the width/height isn't > it? Or, that is what mine seems to be doing! > > Thanks very much. > > Sinead > > > On 17 Nov 2009, at 16:17, Kischell, Eric R. wrote: > >> Sinead, >>> how do you calculate the length of the individual cycloid arcs? >> The length of the cycloid per test point is displayed in the Results >> Table (l/p). >> Also, >> Length of Cycloid per Point = 2.0 * cycloidHeight (in physical units) >> for Sequence C >> Length of Cycloid per Point = cycloidHeight (in physical units) for >> Sequence A >> >>> what is the 'image width' they are referring to? >> We define the height of the cycloid as a fraction/ percentage of the >> image width. >> The image width is the width of the current image (ImagePlus). >> >> keesh >> Work Life Plan: >> To improve the quality of life for all mankind through better pattern >> recognition techniques. >> Home Life Plan: >> Married, but happy. Three bright beacons light my way. >> "Life goes by so fast, that if you don't stop and look around, you >> might >> miss it."-- Ferris Bueller >> === >> >> -----Original Message----- >> From: ImageJ Interest Group [mailto:[hidden email]] On Behalf Of >> sinead roberts >> Sent: Monday, November 16, 2009 12:29 PM >> To: [hidden email] >> Subject: Cycloid grids >> >> Dear all, >> >> I am trying to use the cycloid arc plug-in and I was wondering; how >> do >> you calculate the length of the individual cycloid arcs please? I >> know >> you input the percent of the image width you wish the height of the >> cycloid to be, but what is the 'image width' they are referring to? >> It >> cannot be of the whole on screen image, but is it of the 'box' area >> each cycloid is contained within? >> >> I am very sorry if this is a silly question, >> Thank you in advance for your help, >> >> Sinead Roberts |
In reply to this post by Sinead Roberts
Dear all,
I am trying to use the cycloid arc plug-in to measure dendrite processes length and I still have some black points. 1st) One TILE refers to 2 cycloid arcs? If yes, how do you calculate the length of ONE TILE (composed by 2 arcs)? And how do you calculate the length of one entire cycloid line? These measurements are not available at least, I coulnĀ“t find them 2nd) How do you express the intercept number obtained? I very sorry if this is a silly question, Thank you in advance for your help, Paula Bertacini |
Free forum by Nabble | Edit this page |