|
Hi Titus, thank you very much for your solution, but unfortunately I
cannot get it :( This is what I'm doing now:
hf=figure('Visible','Off');
for i=1:30
im(i)=subplot(5,6,i);
imshow(dicomread(dicominfo(dbimageID(sorted(i,2),:))),'DisplayRange',[
]);
end
hn=copyobj(im,handles.uipanel2);
close(hf);
As for now, I only use single for-loop, and I copied the subplots to
uipanel. How can I apply your solution to mine? for slider callback,
what do u mean by "imagevalues of image"?
Titus wrote:
>
>
> Hi,
> you probably need to do it yourself, but shouldn't be too
> difficult:
> - add a usual slider
> - use subplot to e.g. display 5x5 images
> for i=1:5
> for j=1:5
> im(i,j) = image(...);
> end
> end
> - use the callback of the slider to show different images,
> something like
> for i=1:5
> for j=1:5
> set(im(i,j), 'cdata', <imagevalues of image(i+slidervalue,
j)>
> end
> end
>
> Titus
>
> "Munie Ahmad" <miz.jaggy18@gmail.com> schrieb im Newsbeitrag
> news:ef4fa8d.-1@webcrossing.raydaftYaTP...
>> Hi there, anyone knows how to make uipanel scrolling down
because
> I
>> want to insert a large number of images and I want to use
slider
> to
>> make it scroll. how to do that? pls help me with this.. thanks
:)
>
>
>
>
|