From: Fabien M. <Fab...@en...> - 2005-05-09 12:36:55
Attachments:
ClusterUF.java
|
Hello. First of all, it seems that U*-matrix are not yet implemented in the=20 current version of the package, so I can only make a version working on U-matrix... Also, another problem is that the current version of U*F clustering is=20 still not *fully* automated: it is rather conceived as an interactive system where you disp= lay the U*-matrix (or U-matrix), and then click with the mouse on one point=20 "inside" each of what "looks to be a separate region on the map" (with even someti= mes the need for manual tuning of the threshold parameter, when the=20 semi-automated version chooses too big a threshold so that 2 "would-be regions" get=20 flooded together as only one region). Anyway, I nevertheless worked out a version fitted to the Cluster.java=20 skeleton you sent me, but it is not very convenient : one has to run the program several times to iteratively add segmented regions into the classmask file ; also, the (x,y) starting point of=20 region-growing has to be set manually (through options -x and -y), which is *definitely*=20 NOT convenient ; the category ID also has to be specified this way (with the -g option),=20 but is less a hassle than for x,y. The ideal would thus be if there was some way to integrate the segmentati= on tool in the GUI displaying the U-matrix (and U*-matrix when you shall hav= e added it), so that clicking on the matrix display is possible, as well=20 as having some buttons (such as "new category", "erase category", ...), plus a=20 slider and textfield (for cases when manual tuning of threshold has to be done).= .. Also, I am currently doing some experiments on an approach for automating the choice of starting points (and when to stop trying to grow new=20 regions) which could allow a fully automated segmentation of the U*-matrix (or=20 U-matrix), that would be more adapted to your Cluster.java skeleton. But it is still too=20 preliminary, and not really operational... Regards, +++++++++++++++++++++++++++++++++++++++++++++++++++++++ Fabien MOUTARDE Ecole Nationale Superieure des Mines de Paris (ENSMP) 60 Bd Saint-Michel, 75272 PARIS Cedex 06, FRANCE Tel : 33 - (0) 1.40.51.92.92 Fax : 33 - (0) 1.40.51.93.01 =20 E-mail : Fab...@en... Web : http://www.ensmp.fr/~moutarde ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Fabian M=F6rchen wrote: > Dear Fabien Moutarde, > > i have implemented an interface for automatic clustering algorithms in=20 > the ESOM tools to aid your plans of implementing U*F. > > as a start you should check out the latest sources from sourceforge=20 > [1] and follow the description for compiling [2]. > > the file src/java/databionics/esom/Cluster.java is a simple=20 > demonstration for clustering the neurons of a trained ESOM. the=20 > weights (*.wts) and U-Matrix and P-Matrix (both *.umx) as well as the=20 > training data (*.lrn) are loaded according to the command line=20 > parameters given. the clustering simply creates four clusters=20 > according to the quadrants of the coordinates on the map. this way you=20 > can already see how to access the map with spatial coordinates. > > the skript to start the program is called esomclust[.bat], "esomclust=20 > -h" will list the syntax. the saved class mask (*.cls with one entry=20 > per neuron) can be loaded from within the GUI and displayed on top of=20 > the ESOM. later we will provide a mechanism to call the cluster tool=20 > via the menu and have the result automatically loaded. > > you can plug in your algorithm in the Cluster.java file, if you wish.=20 > later we can put it in a different class and offer several algorithms=20 > from within the Cluster class. > > if you have any problems getting this to work or further questions on=20 > how to access certain data structres needed in your algorithm, don't=20 > hesitate to ask. the developer mailing [3] list would be a good place=20 > for this, since your questions and my (of my student's) answers will=20 > be available to future contributors as well. > > Regards, > Fabian M=F6rchen > > [1] http://databionic-esom.sourceforge.net/cvs-usage.html > [2] http://databionic-esom.sourceforge.net/devel.html > [3] http://databionic-esom.sourceforge.net/mail-lists.html |
From:
<fa...@in...> - 2005-05-13 12:13:49
|
cool! just tested on hepta and it seems to work. bye fabian Christian Stamm wrote: > Hello all, > > I added the simple flood fill algorithm to the Classmask Tool. Semi-auto > will follow shortly. Thanks to Fabien Moutarde for the contribution. > > Instructions: > 1. load a map > 2. click the Classmask tab > 3. check 'Floodfill' > 4. click onto map > > the treshold maybe adjusted by a slider. (0:0.1:1) > hint: classes can be removed by right-clicking into the table. > this will work on any background. (i.e. the actually displayed one) > > Please give this a test. > > regards Christian > > > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by Oracle Space Sweepstakes > Want to be the first software developer in space? > Enter now for the Oracle Space Sweepstakes! > http://ads.osdn.com/?ad_id=7393&alloc_id=16281&op=click > _______________________________________________ > Databionic-esom-devel mailing list > Dat...@li... > https://lists.sourceforge.net/lists/listinfo/databionic-esom-devel |
From: Christian S. <st...@Ma...> - 2005-05-19 23:48:40
|
Hello all, now also the semiautomated floodfill is working. @Fabien: You will find the static functions floodFill(...) and semiAutomatedFloodFill(...) in esom/src/java/databionics/esom/tool/classmask/ClassmaskCreatorPanel.java. They are nearly unchanged, so I hope you will be able to experiment with the code. If not, don't hesitate to ask for help or for more checkboxes. regards Christian Fabian M=F6rchen said: > cool! just tested on hepta and it seems to work. > > bye > fabian > > Christian Stamm wrote: >> Hello all, >> >> I added the simple flood fill algorithm to the Classmask Tool. Semi-au= to >> will follow shortly. Thanks to Fabien Moutarde for the contribution. >> >> Instructions: >> 1. load a map >> 2. click the Classmask tab >> 3. check 'Floodfill' >> 4. click onto map >> >> the treshold maybe adjusted by a slider. (0:0.1:1) >> hint: classes can be removed by right-clicking into the table. >> this will work on any background. (i.e. the actually displayed one) >> >> Please give this a test. >> >> regards Christian >> >> >> >> >> >> >> ------------------------------------------------------- >> This SF.Net email is sponsored by Oracle Space Sweepstakes >> Want to be the first software developer in space? >> Enter now for the Oracle Space Sweepstakes! >> http://ads.osdn.com/?ad_id=3D7393&alloc_id=3D16281&op=3Dclick >> _______________________________________________ >> Databionic-esom-devel mailing list >> Dat...@li... >> https://lists.sourceforge.net/lists/listinfo/databionic-esom-devel > > > ------------------------------------------------------- > This SF.Net email is sponsored by Oracle Space Sweepstakes > Want to be the first software developer in space? > Enter now for the Oracle Space Sweepstakes! > http://ads.osdn.com/?ad_id=3D7393&alloc_id=3D16281&op=3Dclick > _______________________________________________ > Databionic-esom-devel mailing list > Dat...@li... > https://lists.sourceforge.net/lists/listinfo/databionic-esom-devel > |
From: Christian S. <st...@Ma...> - 2005-05-10 19:21:35
|
Hello Fabien, I'll try to make a GUI-Tool out of it till the weekend. Unfortunately the Tools are in the middle of some sort of refactoring at the moment (see also mail 'No Subject' [sic!] from this list), which makes this a little tricky. We'll need a development branch in cvs before starting to fix this. As I have not reached the peak in cvs' learning curve yet, any hint on this i= s appreciated. regards Christian Stamm Fabien Moutarde said: > Hello. > > First of all, it seems that U*-matrix are not yet implemented in the > current version > of the package, so I can only make a version working on U-matrix... > > Also, another problem is that the current version of U*F clustering is > still not *fully* > automated: it is rather conceived as an interactive system where you > display > the U*-matrix (or U-matrix), and then click with the mouse on one point > "inside" > each of what "looks to be a separate region on the map" (with even > sometimes > the need for manual tuning of the threshold parameter, when the > semi-automated > version chooses too big a threshold so that 2 "would-be regions" get > flooded together > as only one region). > > Anyway, I nevertheless worked out a version fitted to the Cluster.java > skeleton > you sent me, but it is not very convenient : > one has to run the program several times to iteratively add segmented > regions into the classmask file ; also, the (x,y) starting point of > region-growing has > to be set manually (through options -x and -y), which is *definitely* > NOT convenient ; > the category ID also has to be specified this way (with the -g option), > but is less a hassle > than for x,y. > > The ideal would thus be if there was some way to integrate the > segmentation > tool in the GUI displaying the U-matrix (and U*-matrix when you shall h= ave > added it), so that clicking on the matrix display is possible, as well > as having > some buttons (such as "new category", "erase category", ...), plus a > slider > and textfield (for cases when manual tuning of threshold has to be > done)... > > Also, I am currently doing some experiments on an approach for automati= ng > the choice of starting points (and when to stop trying to grow new > regions) which > could allow a fully automated segmentation of the U*-matrix (or > U-matrix), that > would be more adapted to your Cluster.java skeleton. But it is still to= o > preliminary, > and not really operational... > > > Regards, > > +++++++++++++++++++++++++++++++++++++++++++++++++++++++ > Fabien MOUTARDE > Ecole Nationale Superieure des Mines de Paris (ENSMP) > 60 Bd Saint-Michel, 75272 PARIS Cedex 06, FRANCE > Tel : 33 - (0) 1.40.51.92.92 Fax : 33 - (0) 1.40.51.93.01 > E-mail : Fab...@en... Web : http://www.ensmp.fr/~moutarde > ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ > > Fabian M=F6rchen wrote: > >> Dear Fabien Moutarde, >> >> i have implemented an interface for automatic clustering algorithms in >> the ESOM tools to aid your plans of implementing U*F. >> >> as a start you should check out the latest sources from sourceforge >> [1] and follow the description for compiling [2]. >> >> the file src/java/databionics/esom/Cluster.java is a simple >> demonstration for clustering the neurons of a trained ESOM. the >> weights (*.wts) and U-Matrix and P-Matrix (both *.umx) as well as the >> training data (*.lrn) are loaded according to the command line >> parameters given. the clustering simply creates four clusters >> according to the quadrants of the coordinates on the map. this way you >> can already see how to access the map with spatial coordinates. >> >> the skript to start the program is called esomclust[.bat], "esomclust >> -h" will list the syntax. the saved class mask (*.cls with one entry >> per neuron) can be loaded from within the GUI and displayed on top of >> the ESOM. later we will provide a mechanism to call the cluster tool >> via the menu and have the result automatically loaded. >> >> you can plug in your algorithm in the Cluster.java file, if you wish. >> later we can put it in a different class and offer several algorithms >> from within the Cluster class. >> >> if you have any problems getting this to work or further questions on >> how to access certain data structres needed in your algorithm, don't >> hesitate to ask. the developer mailing [3] list would be a good place >> for this, since your questions and my (of my student's) answers will >> be available to future contributors as well. >> >> Regards, >> Fabian M=F6rchen >> >> [1] http://databionic-esom.sourceforge.net/cvs-usage.html >> [2] http://databionic-esom.sourceforge.net/devel.html >> [3] http://databionic-esom.sourceforge.net/mail-lists.html > > > |
From:
<fa...@in...> - 2005-05-10 20:33:06
|
I think Niko knows best how to open a dev branch. @niko: if you are missing the rights, let me know. or you can just tell me how to do it. bye fabian Christian Stamm wrote: > Hello Fabien, > > I'll try to make a GUI-Tool out of it till the weekend. Unfortunately the > Tools are in the middle of some sort of refactoring at the moment (see > also mail 'No Subject' [sic!] from this list), which makes this a little > tricky. > > We'll need a development branch in cvs before starting to fix this. As I > have not reached the peak in cvs' learning curve yet, any hint on this is > appreciated. > > regards > Christian Stamm > > > Fabien Moutarde said: > >>Hello. >> >>First of all, it seems that U*-matrix are not yet implemented in the >>current version >>of the package, so I can only make a version working on U-matrix... >> >>Also, another problem is that the current version of U*F clustering is >>still not *fully* >>automated: it is rather conceived as an interactive system where you >>display >>the U*-matrix (or U-matrix), and then click with the mouse on one point >>"inside" >>each of what "looks to be a separate region on the map" (with even >>sometimes >> the need for manual tuning of the threshold parameter, when the >>semi-automated >>version chooses too big a threshold so that 2 "would-be regions" get >>flooded together >>as only one region). >> >>Anyway, I nevertheless worked out a version fitted to the Cluster.java >>skeleton >>you sent me, but it is not very convenient : >> one has to run the program several times to iteratively add segmented >>regions into the classmask file ; also, the (x,y) starting point of >>region-growing has >> to be set manually (through options -x and -y), which is *definitely* >>NOT convenient ; >>the category ID also has to be specified this way (with the -g option), >>but is less a hassle >>than for x,y. >> >>The ideal would thus be if there was some way to integrate the >>segmentation >>tool in the GUI displaying the U-matrix (and U*-matrix when you shall have >>added it), so that clicking on the matrix display is possible, as well >>as having >> some buttons (such as "new category", "erase category", ...), plus a >>slider >>and textfield (for cases when manual tuning of threshold has to be >>done)... >> >>Also, I am currently doing some experiments on an approach for automating >> the choice of starting points (and when to stop trying to grow new >>regions) which >>could allow a fully automated segmentation of the U*-matrix (or >>U-matrix), that >>would be more adapted to your Cluster.java skeleton. But it is still too >>preliminary, >>and not really operational... >> >> >>Regards, >> >>+++++++++++++++++++++++++++++++++++++++++++++++++++++++ >>Fabien MOUTARDE >>Ecole Nationale Superieure des Mines de Paris (ENSMP) >>60 Bd Saint-Michel, 75272 PARIS Cedex 06, FRANCE >>Tel : 33 - (0) 1.40.51.92.92 Fax : 33 - (0) 1.40.51.93.01 >>E-mail : Fab...@en... Web : http://www.ensmp.fr/~moutarde >>++++++++++++++++++++++++++++++++++++++++++++++++++++++++ >> >>Fabian Mörchen wrote: >> >> >>>Dear Fabien Moutarde, >>> >>>i have implemented an interface for automatic clustering algorithms in >>>the ESOM tools to aid your plans of implementing U*F. >>> >>>as a start you should check out the latest sources from sourceforge >>>[1] and follow the description for compiling [2]. >>> >>>the file src/java/databionics/esom/Cluster.java is a simple >>>demonstration for clustering the neurons of a trained ESOM. the >>>weights (*.wts) and U-Matrix and P-Matrix (both *.umx) as well as the >>>training data (*.lrn) are loaded according to the command line >>>parameters given. the clustering simply creates four clusters >>>according to the quadrants of the coordinates on the map. this way you >>>can already see how to access the map with spatial coordinates. >>> >>>the skript to start the program is called esomclust[.bat], "esomclust >>>-h" will list the syntax. the saved class mask (*.cls with one entry >>>per neuron) can be loaded from within the GUI and displayed on top of >>>the ESOM. later we will provide a mechanism to call the cluster tool >>>via the menu and have the result automatically loaded. >>> >>>you can plug in your algorithm in the Cluster.java file, if you wish. >>>later we can put it in a different class and offer several algorithms >>>from within the Cluster class. >>> >>>if you have any problems getting this to work or further questions on >>>how to access certain data structres needed in your algorithm, don't >>>hesitate to ask. the developer mailing [3] list would be a good place >>>for this, since your questions and my (of my student's) answers will >>>be available to future contributors as well. >>> >>>Regards, >>>Fabian Mörchen >>> >>>[1] http://databionic-esom.sourceforge.net/cvs-usage.html >>>[2] http://databionic-esom.sourceforge.net/devel.html >>>[3] http://databionic-esom.sourceforge.net/mail-lists.html >> >> >> > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by Oracle Space Sweepstakes > Want to be the first software developer in space? > Enter now for the Oracle Space Sweepstakes! > http://ads.osdn.com/?ad_ids93&alloc_id281&opÌk > _______________________________________________ > Databionic-esom-devel mailing list > Dat...@li... > https://lists.sourceforge.net/lists/listinfo/databionic-esom-devel |
From: Niko E. <ne...@Ma...> - 2005-05-10 22:26:38
|
Fabian M=F6rchen wrote: > I think Niko knows best how to open a dev branch. >=20 > @niko: if you are missing the rights, let me know. or you can just tell > me how to do it. What exactly do you mean by development branch. There are multiple ways of doing it. If you just wan't some sort 'stable' tag thas quite easy. If you need two branches that can both be developed in parellel I have read it up. Branching is easyly done merging not so I have to test this on my system before messing with the sourceforge CVS. (I know its a bit offtopic, but maybe the list members have a preference on this.) --=20 Niko Efthymiou Tel: 06421/898565 Geschw.-Scholl-Str.11a www: www.mathematik.uni-marburg.de/~nefthy 35039 Marburg pgp-key: 0xE6BF2487 @ www.keyserver.net |
From: Christian S. <st...@Ma...> - 2005-05-12 13:31:33
|
Hello all, I added the simple flood fill algorithm to the Classmask Tool. Semi-auto will follow shortly. Thanks to Fabien Moutarde for the contribution. Instructions: 1. load a map 2. click the Classmask tab 3. check 'Floodfill' 4. click onto map the treshold maybe adjusted by a slider. (0:0.1:1) hint: classes can be removed by right-clicking into the table. this will work on any background. (i.e. the actually displayed one) Please give this a test. regards Christian |