Hello,
I have displayed images in GUI using AXES....
The problem that is coming is when i am displaying the
image along with that the path(From where the image was
read) of the image also gets printed above the image....
I dont want the the path to be printed can anyone help in
this....
"Mamata Kukreja" <mamata_kukreja@yahoo.com> wrote in message
<fq49s2$eup$1@fred.mathworks.com>...
> Hello,
> I have displayed images in GUI using AXES....
> The problem that is coming is when i am displaying the
> image along with that the path(From where the image was
> read) of the image also gets printed above the image....
> I dont want the the path to be printed can anyone help in
> this....
i am not sure what, exactly, is going on in your code. if
you could post your code, it might help. short of that,
maybe you can simply have no text displayed above your image
if you add this to your code:
title([]);
this just sets the title string to an empty vector, so
nothing will be displayed there.
"Bryan " <cssmwbs@gmail.com> wrote in message <fq4ake$rk2
$1@fred.mathworks.com>...
> "Mamata Kukreja" <mamata_kukreja@yahoo.com> wrote in
message
> <fq49s2$eup$1@fred.mathworks.com>...
> > Hello,
> > I have displayed images in GUI using AXES....
> > The problem that is coming is when i am displaying the
> > image along with that the path(From where the image
was
> > read) of the image also gets printed above the
image....
> > I dont want the the path to be printed can anyone help
in
> > this....
>
> i am not sure what, exactly, is going on in your code.
if
> you could post your code, it might help. short of that,
> maybe you can simply have no text displayed above your
image
> if you add this to your code:
>
> title([]);
>
> this just sets the title string to an empty vector, so
> nothing will be displayed there.
>
> hth,
> bryan
Hiee Bryan,
I am attaching a small piece of code for where i dont want
the image name to be displayed.....
On Feb 29, 5:04=A0am, "Mamata Kukreja" <mamata_kukr...@yahoo.com> wrote:
> "Bryan " <cssm...@gmail.com> wrote in message <fq4ake$rk2
>
> $...@fred.mathworks.com>...
>
>
>
>
>
> > "Mamata Kukreja" <mamata_kukr...@yahoo.com> wrote in
> message
> > <fq49s2$eu...@fred.mathworks.com>...
> > > Hello,
> > > I have displayed images in GUI using AXES....
> > > The problem that is coming is when i am displaying the
> > > image along with that the path(From where the image
> was
> > > read) of the image also gets printed above the
> image....
> > > I dont want the the path to be printed can anyone help
> in
> > > this....
>
> > i am not sure what, exactly, is going on in your code. =A0
> if
> > you could post your code, it might help. =A0short of that,
> > maybe you can simply have no text displayed above your
> image
> > if you add this to your code:
>
> > title([]);
>
> > this just sets the title string to an empty vector, so
> > nothing will be displayed there.
>
> > hth,
> > bryan
>
> Hiee Bryan,
> I am attaching a small piece of code for where i dont want
> the image name to be displayed.....
>
> path=3D'C:\StorageTemp\tempBMPFile\deepika2.bmp';
> h1=3Dsubplot('Position',[0.49 0.63 0.1 0.16]);
> a=3Dchar(path)
> imshow(a);
> .........................- Hide quoted text -
>
> - Show quoted text -
How about just:
fullImageFileName =3D 'C:\StorageTemp\tempBMPFile\deepika2.bmp';
imageArray =3D imshow(fullImageFileName, []);
% Set a static text label above the axes with the filename if you wish
set(handles.txtFileName, 'string', fullImageFileName );
"Mamata Kukreja" <mamata_kukreja@yahoo.com> wrote in
message <fq8laj$r6e$1@fred.mathworks.com>...
>
>
> Hiee Bryan,
> I am attaching a small piece of code for where i dont
want
> the image name to be displayed.....
>
> path='C:\StorageTemp\tempBMPFile\deepika2.bmp';
> h1=subplot('Position',[0.49 0.63 0.1 0.16]);
> a=char(path)
> imshow(a);
> .........................
>
Your code doesnt show any path name on my version. But if
it does on your version, you might want to try out this
On Feb 29, 4:56=A0pm, ImageAnalyst <imageanal...@mailinator.com> wrote:
> On Feb 29, 5:04=A0am, "Mamata Kukreja" <mamata_kukr...@yahoo.com> wrote:
>
>
>
>
>
> > "Bryan " <cssm...@gmail.com> wrote in message <fq4ake$rk2
>
> > $...@fred.mathworks.com>...
>
> > > "Mamata Kukreja" <mamata_kukr...@yahoo.com> wrote in
> > message
> > > <fq49s2$eu...@fred.mathworks.com>...
> > > > Hello,
> > > > I have displayed images in GUI using AXES....
> > > > The problem that is coming is when i am displaying the
> > > > image along with that the path(From where the image
> > was
> > > > read) of the image also gets printed above the
> > image....
> > > > I dont want the the path to be printed can anyone help
> > in
> > > > this....
>
> > > i am not sure what, exactly, is going on in your code. =A0
> > if
> > > you could post your code, it might help. =A0short of that,
> > > maybe you can simply have no text displayed above your
> > image
> > > if you add this to your code:
>
> > > title([]);
>
> > > this just sets the title string to an empty vector, so
> > > nothing will be displayed there.
>
> > > hth,
> > > bryan
>
> > Hiee Bryan,
> > I am attaching a small piece of code for where i dont want
> > the image name to be displayed.....
>
> > path=3D'C:\StorageTemp\tempBMPFile\deepika2.bmp';
> > h1=3Dsubplot('Position',[0.49 0.63 0.1 0.16]);
> > a=3Dchar(path)
> > imshow(a);
> > .........................- Hide quoted text -
>
> > - Show quoted text -
>
> How about just:
>
> fullImageFileName =3D 'C:\StorageTemp\tempBMPFile\deepika2.bmp';
> imageArray =3D imshow(fullImageFileName, []);
> % Set a static text label above the axes with the filename if you wish
> set(handles.txtFileName, 'string', fullImageFileName );
>
> Regards,
> ImageAnalyst- Hide quoted text -
>
> - Show quoted text -
Sorry - forgot the imread - should have been:
fullImageFileName =3D 'C:\StorageTemp\tempBMPFile\deepika2.bmp';
imageArray =3D imread(fullImageFileName);
imshow(imageArray , []);
% Set a static text label above the axes with the filename if you wish
set(handles.txtFileName, 'string', fullImageFileName );
Public Submission Policy
NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for
all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content.
Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available
via MATLAB Central. Read the complete Disclaimer prior to use.