From: Akash on 7 Apr 2010 06:16 "Ashish Uthama" <first.last(a)mathworks.com> wrote in message <op.vara3br4a5ziv5(a)uthamaa.dhcp.mathworks.com>... > On Tue, 06 Apr 2010 14:06:04 -0300, Akash > <er.akash_agrawal(a)rediffmail.com> wrote: thank u ashish it working small bit but i want that imformation of after image from rgb2ind which store in [x,map] also store in handles.changeimage At time i use imshow(handles.changeimage) or may be like that handles.changeimage=imwrite(handles.x,handles.map,'jpg'); it display changeimage can i do with structure please help i dont' have imformation about structure
From: Ashish Uthama on 7 Apr 2010 08:32 On Wed, 07 Apr 2010 07:16:05 -0300, Akash <er.akash_agrawal(a)rediffmail.com> wrote: > "Ashish Uthama" <first.last(a)mathworks.com> wrote in message > <op.vara3br4a5ziv5(a)uthamaa.dhcp.mathworks.com>... >> On Tue, 06 Apr 2010 14:06:04 -0300, Akash >> <er.akash_agrawal(a)rediffmail.com> wrote: > > thank u ashish > it working small bit but i want that imformation of after image from > rgb2ind which store in [x,map] also store in handles.changeimage try this: handles.changeImage = x handles.changeImageMap = map > At time i use imshow(handles.changeimage) > or may be like that > handles.changeimage=imwrite(handles.x,handles.map,'jpg'); Please have a look at the help for imwrite: help imwrite You need to use this syntax: IMWRITE(X,MAP,FILENAME,FMT) imwrite(handles.changeImage, handles,changeImageMap, 'afilename','jpg') Note that the function does not return any outputs! > > it display changeimage > can i do with structure please help i dont' have imformation about > structure If you need more help, please post a more complete code example and tell us in some more detail what you are trying to do.
|
Pages: 1 Prev: video compression in mobile devices Next: fourier transform |