|29 Oct 2014||bmorph - binary morphological transforms Fast binary erosion and dilation, with even faster iterative calls.||tudor dima||
As for the difference between the matlab dilation/erosion operations and this implementation you could try reading the included .pdf file.
No, I have no suggestions on grayscale morphology.
|23 Oct 2014||bmorph - binary morphological transforms Fast binary erosion and dilation, with even faster iterative calls.||Hassan Naseri||
Thanks for the really fast code.
|29 Jan 2014||S-parameter toolbox (+ Z, Y, H, G, ABCD, T) Convert between N-port representations of RF circuits. Read / Write industry-standard files.||Charaf Eddine SOURIA||
|06 Aug 2013||S-parameter toolbox (+ Z, Y, H, G, ABCD, T) Convert between N-port representations of RF circuits. Read / Write industry-standard files.||tudor dima||
|30 Jul 2013||S-parameter toolbox (+ Z, Y, H, G, ABCD, T) Convert between N-port representations of RF circuits. Read / Write industry-standard files.||padoh||
what is meant by 2x2xM matrix? how to write it in matlab?
|09 Jul 2013||Image segmentation - multiscale energy-based level sets Segmentation using active contour without edges and multi-scale acceleration. GUI included||muthu Kumar|
|25 Jun 2012||Image segmentation - multiscale energy-based level sets Segmentation using active contour without edges and multi-scale acceleration. GUI included||tudor dima||
At load time (whether from image or .mat file) keep scale depth at 0 if you want to start at the finest resolution. (I suspect you load a ~72x72 array and have kmax set at 3?)
Will look into adding capability to load an initial contour. What is in there already is the ability to save the level-set function and re-use it. (Say once you have input a complicated initialization, you don't want to go through it every time, so you can save it and load it over. However, the image data has to be of the same size.
|19 Jun 2012||Image segmentation - multiscale energy-based level sets Segmentation using active contour without edges and multi-scale acceleration. GUI included||Javier||
another question: when I load a .mat with a double image (the variable is g0 as commented in the code) and then I press "DO Iter" I only see 9 pixels of my image. What can I do?
|18 Jun 2012||Javier||
thanks for sharing the code. I'm having troubles to create a manual initial contour. I select the option Ini. Method "draw" and then I press the button "DO Iter!" but I can't select points with the mouse. What am I doing wrong?
Another question: If I have already the initial contour as a binary mask, can I avoid the function "iniMembrane"?
Thank you very much
|25 May 2012||tudor dima||
For starters, there is a very short description under Help | Buttons.
You can try the Chan-Vese paper I referenced higher in the abstract (no. )
The normalization you mention is done precisely in order to decouple the parameters value from the actual image values (which could come as uint8, uint16, 0-1, or any other data).
|24 May 2012||Marcos Belmonte||
Hi,I'm doing my final project of the degree and I haven't a lot of experience so, it's hard for me to follow so much lines of code. I was wondering if you had a paper explaining this guide: the differential equations you employed for the method or something like this. I have proved your method and I really like the results but I want to understand how the parameters affect in order to get better results.
By the way, my images are double and of 16 bits and
Does it affect my intensity values? It is necessary? Thank you very much!
|18 May 2012||tudor dima||
It shouldn't... (uses str2num or str2double...)
|17 May 2012||Josiah Bartlett||
I'm finding an issue with SXPWrite.
|28 Apr 2012||bmorph - binary morphological transforms Fast binary erosion and dilation, with even faster iterative calls.||tudor dima||
What I suspect it makes the interpreted bmorph to run faster than the MEX is that I do a contour detection on both the image and the strel, then only update those values, the strel is not swept across the whole image.
Until now it only allowed symmetrical strels, but I have recently posted the new version which fixed this. (Thanks to Sean Sklios for the provided test data and also for the push!)
|26 Apr 2012||Marcos Belmonte||
You warned me about blank spaces in a previous comment but I forgot it, thanks again.
|21 Apr 2012||tudor dima||
Replace line 307 with cd(attData.myData.loc.ImageDir)
|12 Apr 2012||Marcos Belmonte||
Hi, thanks for the answer. Now I'm trying to use images as jpg but with the button Load Image File appears immediatly the same error as I posted before, without appearing any menu to select a file. What can be the problem and then, how can I place a circle of the radius I want and where I want for an initial seed?
|24 Mar 2012||tudor dima||
Be careful with blank spaces in your directory, though, the error above seems to stem from there. I am planning to allow this in a future release.
|22 Mar 2012||Marcos Belmonte||
Hi, thanks for sharing your code. I have a problem loading dicom images with Load Image File. First I have run ini.m and then segm_energy_LS, what can be the problem?
??? Error using ==> cd
Error in ==> segm_energy_LS>fLoadData at 307
Thanks very much
|12 Jan 2012||Tao Yi Lee||
I suggest a minor modification in SXPParse.m for robustness.
At line 55.
% --- find out matrix order ---
|12 Jan 2012||Tao Yi Lee|
|08 Dec 2011||Alexander||
Great code! Very useful if you don't have the Image Processing Toolbox.
One question: how do you set up the 'circular' structuring element? This seems to be where you get the speed advantage, but I'm not sure how you implement. Thanks.
|07 Nov 2011||ssklios Sklios||
much faster! This is exactly what I am looking for to use in my image processing code. However, it did not give the same results as imerode for me. Help please?
|26 Oct 2011||David Yu-Ting Wu||
Thank you for saving me from having to write an S2P parser! Truly appreciate it!
|30 Sep 2011||tudor dima||
@Qwuasi Moore - I am not sure I understand what you mean. The evolution rule is solved discreetly using an FD method, I suppose (and this is just a wild guess) that it would be possible to write an FEM solution. I assume you'd encounter similar issues (mainly execution speed, and the infamous convergence issues)
|30 Sep 2011||Pooja||
can I use these codes for Brain tumor segmentation?
|21 Aug 2011||Qwuasi Moore||
Great...Is it possible to do it with FEM?
|21 Dec 2010||tudor dima||
Sure, please send the files over and I'll have a look; it was about time I did a revision of the whole box.
|14 Dec 2010||Matthew||
Thanks Tudor for writing this very handy toolbox, I have been using it for about a year while I am in grad school and it has saved me a lots of time with its robust handling of Touchstone files (much better and faster than the script I wrote myself) and the handling of singularities in network parameter conversion.
One comment, I have made an alternate version of the s2a and a2s functions which take an optional Zo parameter so that you can have non-unit Zo. In this version Bnew=B*Zo and Cnew=C/Zo in s2a, and it simply reverses these factors in a2s. It is easy to do this external to the function for Y and Z parameters since you just multiply or divide by Zo, but a bit messier to do for ABCD parameters. If you like I can send you the files.
|13 Aug 2010||Andrew Farris|
|15 Jul 2010||2D histogram - 'exact' and 'fast' binning, 'crop' and 'stretch' grid adjustment 2D histogram of data pairs [x,y]; 'fast'/'exact' binning; 'stretch'/'crop' grid mode.||Rhys||
Brilliant mfile! I didn't particularly need the 'exact' mode but the function is very easy to use. You have my thanks!
|15 Jul 2010||2D histogram - 'exact' and 'fast' binning, 'crop' and 'stretch' grid adjustment 2D histogram of data pairs [x,y]; 'fast'/'exact' binning; 'stretch'/'crop' grid mode.||Rhys|
|12 Jul 2010||tudor dima||
a1 = s2a(s1);
and then compare the results; (it was not your case, here the maximum delta is 2.2215e-016 -- using max(abs(s_12_a(:)-s(:)))
|25 Jun 2010||Chris||
Would this be the right way to calculate the cascaded input/output VSWR?:
% first in cascade
t1 = s2t(s1);
t = t1*t2;
(1+abs(s(1,1)))/(1-abs(s(1,1))) % input VSWR
|12 Aug 2009||tudor dima||
posted the new version that allows more separators and also improves the file parsing speed
@sree kasturi :
|28 Jul 2009||sree kasturi||
to read s2p files without noise data, change line 135 in SXPParse.m to 'while flagNoiseStarted && flagGotOptions'.
|24 Sep 2008|
|17 May 2008||2D histogram - 'exact' and 'fast' binning, 'crop' and 'stretch' grid adjustment 2D histogram of data pairs [x,y]; 'fast'/'exact' binning; 'stretch'/'crop' grid mode.||
Very good, thank you ! I needed something like this for calculating a fractal dimension, it saved me a lot of time. Thanks again !
|15 Dec 2007|
|29 Nov 2007||
great, thanks; suggestions : smith chart ? circles ?
|12 Oct 2007||
very good; if it had plots it would completely replace my viewer
|20 May 2007||
I wanted to use this to read Agilent PNA .s2p files. However, the sxpparse.m function makes a call to phrase2word.m, which is not included in the toolbox. I found this function on the Exchange. Now, sxpparse hangs up trying to parse the first line of numerical data. The code does not appear to handle cell arrays well. Anyway, it was easier to write my own function than to debug this one.
|17 May 2007||
very good ! ...and very fast :-)
I like especially the singularity-protection, is saves me a lot of hassle from defining quasi-perfect shorts or opens.
BTW, I did not find any files that the parser won't work with. Mind you, we use only HP/Agilent, which is among the orginators of the standard.
|02 May 2007||
the program is exellent but SXPparse function has a problem,once reading the snp file for more than 4 ports(when the sparameter of a frequency is written in more than one single line )the program brakes.
|09 Oct 2006||
Excellent ! we are a few RF designers sharing a single licence of mwoffice and since using this toolbox everything goes smoother - I can get 50-75% of the work done before I fire up the simulator to refine my design. Thanks !
|03 Jul 2006||
nifty ! I like the file import/export operations
|06 Oct 2005||input impedance converter : S11, Z, Y (1 complex value) reflection coef. converter: S11 -impedance -admittance -Return Loss -VSWR; graphical & text input||
|07 Jun 2005||input impedance converter : S11, Z, Y (1 complex value) reflection coef. converter: S11 -impedance -admittance -Return Loss -VSWR; graphical & text input||
does what is says it does, nice and small; for all those times when you don't feel like firing up your simulator to convert a few complex values;...
I would like to be able to switch the grid to smith Z and smith Y
|03 Jun 2005||
it's pretty cool; I like the fact that it's simple and doesn't need 1G of RAM; btw, yes, I tried it in 4.2, it works !
|30 Mar 2005||
yes, cascaded simulations will work just fine if you know how to write the individual s-matrices; I hope this will be included in a later release