Rank: 242790 based on 0 downloads (last 30 days) and 0 file submitted
photo

Brett Gyarfas

E-mail

Personal Profile:

 

Watch this Author's files

 

Comments and Ratings by Brett Gyarfas View all
Updated File Comments Rating
07 Jun 2014 PURE-LET for Poisson image denoising This is an implementation of the PURE-LET, recently proposed for Poisson image denoising. Author: SANDEEP PALAKKAL

@Nia Just changed the graymax variable in psnr folder to graymax = 2^16-1;

31 Aug 2011 GUI Layout Toolbox Layout management objects for MATLAB GUIs Author: Ben Tordoff

Hi Ben,
Thanks for the reply, I think I found my problem though. It had to do with having an axes which was a child of an HBox that was embedded in a bunch of VBox & HBox's and setting the selectedChild to a tab where the axes wasn't. I was able to fix it by making sure the VBox & HBox's units were set to normalized and the position set to [0 0 1 1].

Here is an example though to illustrate. The first time you run it you'll notice that 'Page 2' appears empty. If you run it again with the last line commented out then it appears to work fine. If you run it one last time with the last line uncommented and the first HBox with the units as normalized and position [0 0 1 1] (uncomment line 7, comment line 8) then you can start on the first Page and still have Page 2 work properly.

%Example of 'disappearing' axes
newFig = figure('Toolbar', 'None', 'MenuBar', 'None', 'Position', [0 0 200 350]);

g = uiextras.TabPanel('Parent', newFig);

uicontrol('Parent', g, 'Background','r')

% z = uiextras.HBox('Parent', g,'Units', 'normalized', 'Position', [0 0 1 1]);
z = uiextras.HBox('Parent', g);

uiextras.Empty('Parent', z);

y = uiextras.VBox('Parent', z);

uiextras.Empty('Parent', y);

zxcv = axes('Parent', y,...
'ActivePositionProperty', 'Position', ...
'GridLineStyle', 'none', 'TickLength',...
[0 0],'XLim',[0 11], 'YLim', [0 11]);

tData = uint8(round(rand(10,10,3).*255));

image('Parent', zxcv, 'CData', tData);

uiextras.Empty('Parent', y);

set(y, 'Sizes', [-1 20 -1]);

uiextras.Empty('Parent', z);

set(z, 'Sizes', [-1 20 -1]);

g.SelectedChild = 1;

30 Aug 2011 GUI Layout Toolbox Layout management objects for MATLAB GUIs Author: Ben Tordoff

Awesome Toolbox! I've enjoyed looking through the code to help me in my own OOP work in MATLAB.
I found a bug with using Axes and the TabPanel. If you have an Axes on a tab and you switch to another that has a 'spacing' where the axes is in the other tab then you can see the axes. I don't know if this is related to the clipping bug w/ UIPANELS or not but I thought I would put it out there.

Thanks Again!
Brett

Contact us