Skip to Main Content Skip to Search
Login
File Exchange
MATLAB Newsgroup
Link Exchange
  Blogs  
 Contest 
MathWorks.com

Thread Subject: editing a tif file

Subject: editing a tif file

From: Yuri Geshelin

Date: 9 Apr, 2008 18:07:02

Message: 1 of 7

I have read a tif file by means of imread, so I have a 3-D
uint8 array. At this stage, is it possible to add some text
on top of the image?

Thanks,

Yuri

Subject: editing a tif file

From: ImageAnalyst

Date: 10 Apr, 2008 01:55:34

Message: 2 of 7

On Apr 9, 2:07=A0pm, "Yuri Geshelin" <geshe...@hotmail.com> wrote:
> I have read a tif file by means of imread, so I have a 3-D
> uint8 array. At this stage, is it possible to add some text
> on top of the image?
>
> Thanks,
>
> Yuri

Yuri:
On top of the image, like a graphics overlay, or burned into the
image, like pixels got replaced? Well, either way, the answer to your
question is "Yes." Specify which way if you want a more specific
answer.
Regards,
ImageAnalyst

Subject: editing a tif file

From: Yuri Geshelin

Date: 10 Apr, 2008 17:15:05

Message: 3 of 7

Hi,

I need to replace the pixels.

Thanks

Yuri

ImageAnalyst <imageanalyst@mailinator.com> wrote in message
<ba954de8-12c2-48ef-8481-
92cb73a0315f@u69g2000hse.googlegroups.com>...
> On Apr 9, 2:07=A0pm, "Yuri Geshelin"
<geshe...@hotmail.com> wrote:
> > I have read a tif file by means of imread, so I have a
3-D
> > uint8 array. At this stage, is it possible to add some
text
> > on top of the image?
> >
> > Thanks,
> >
> > Yuri
>
> Yuri:
> On top of the image, like a graphics overlay, or burned
into the
> image, like pixels got replaced? Well, either way, the
answer to your
> question is "Yes." Specify which way if you want a more
specific
> answer.
> Regards,
> ImageAnalyst

Subject: editing a tif file

From: Yuri Geshelin

Date: 11 Apr, 2008 20:16:56

Message: 4 of 7

ImageAnalyst <imageanalyst@mailinator.com> wrote in message
<ba954de8-12c2-48ef-8481-
92cb73a0315f@u69g2000hse.googlegroups.com>...
> On Apr 9, 2:07=A0pm, "Yuri Geshelin"
<geshe...@hotmail.com> wrote:

> Well, either way, the answer to your question is "Yes."
> Specify which way if you want a more specific answer.
> Regards,
> ImageAnalyst

So what is the solution for the pixel replacement case? I
came up with one, but am interested in workarounds.

Regards,

Yuri

Subject: editing a tif file

From: ImageAnalyst

Date: 12 Apr, 2008 03:43:21

Message: 5 of 7

On Apr 11, 4:16=A0pm, "Yuri Geshelin" <geshe...@hotmail.com> wrote:
> ImageAnalyst <imageanal...@mailinator.com> wrote in message
>
> <ba954de8-12c2-48ef-8481-
> 92cb73a03...@u69g2000hse.googlegroups.com>...
>
> > On Apr 9, 2:07=3DA0pm, "Yuri Geshelin"
> <geshe...@hotmail.com> wrote:
> > Well, either way, the answer to your question is "Yes."
> > Specify which way if you want a more specific answer.
> > Regards,
> > ImageAnalyst
>
> So what is the solution for the pixel replacement case? I
> came up with one, but am interested in workarounds.
>
> Regards,
>
> Yuri
---------------------------------------------------------------------------
Yuri:
Actually it's something I've wondered about but actually haven't had
the need yet so have not yet tried to figure it out. I was thinking
of trying the getimage() or getframe() or CData things but, like I
said, I haven't gotten around to trying anything yet, or searching the
newsgroup or MathWorks web site yet. And I'm not sure if those would
work for all data types from 8 bit monochrome to 24 bit RGB color to
int16 to double. Maybe it just gives you a 24bit RGB image which is
basically a screenshot - I have no idea. What's your solution?
Regards,
ImageAnalyst

Subject: editing a tif file

From: Yuri Geshelin

Date: 12 Apr, 2008 13:10:03

Message: 6 of 7

ImageAnalyst <imageanalyst@mailinator.com> wrote in message
<7f11aeaa-c012-4716-84b0-
42f9345d9894@e67g2000hsa.googlegroups.com>...
> On Apr 11, 4:16=A0pm, "Yuri Geshelin"
<geshe...@hotmail.com> wrote:
> > ImageAnalyst <imageanal...@mailinator.com> wrote in
message
> >
> > <ba954de8-12c2-48ef-8481-
> > 92cb73a03...@u69g2000hse.googlegroups.com>...
> >
> > > On Apr 9, 2:07=3DA0pm, "Yuri Geshelin"
> > <geshe...@hotmail.com> wrote:
> > > Well, either way, the answer to your question
is "Yes."
> > > Specify which way if you want a more specific answer.
> > > Regards,
> > > ImageAnalyst
> >
> > So what is the solution for the pixel replacement case?
I
> > came up with one, but am interested in workarounds.
> >
> > Regards,
> >
> > Yuri
> ----------------------------------------------------------
-----------------
> Yuri:
> Actually it's something I've wondered about but actually
haven't had
> the need yet so have not yet tried to figure it out. I
was thinking
> of trying the getimage() or getframe() or CData things
but, like I
> said, I haven't gotten around to trying anything yet, or
searching the
> newsgroup or MathWorks web site yet. And I'm not sure if
those would
> work for all data types from 8 bit monochrome to 24 bit
RGB color to
> int16 to double. Maybe it just gives you a 24bit RGB
image which is
> basically a screenshot - I have no idea. What's your
solution?
> Regards,
> ImageAnalyst

Hi,

My solution works for the specific case, which I am dealing
with (certain resolution of the image), but it can be
easily generalized. If you leave your address, I will email
it to you on Monday. I think the code is too big for a post.

Regards,

Yuri

Subject: editing a tif file

From: Yuri Geshelin

Date: 14 Apr, 2008 12:43:01

Message: 7 of 7

ImageAnalyst <imageanalyst@mailinator.com> wrote in message
<7f11aeaa-c012-4716-84b0-
42f9345d9894@e67g2000hsa.googlegroups.com>...
> On Apr 11, 4:16=A0pm, "Yuri Geshelin"
<geshe...@hotmail.com> wrote:
> > ImageAnalyst <imageanal...@mailinator.com> wrote in
message
> >
> > <ba954de8-12c2-48ef-8481-
> > 92cb73a03...@u69g2000hse.googlegroups.com>...
> >
> > > On Apr 9, 2:07=3DA0pm, "Yuri Geshelin"
> > <geshe...@hotmail.com> wrote:
> > > Well, either way, the answer to your question
is "Yes."
> > > Specify which way if you want a more specific answer.
> > > Regards,
> > > ImageAnalyst
> >
> > So what is the solution for the pixel replacement case?
I
> > came up with one, but am interested in workarounds.
> >
> > Regards,
> >
> > Yuri
> ----------------------------------------------------------
-----------------
> Yuri:
> Actually it's something I've wondered about but actually
haven't had
> the need yet so have not yet tried to figure it out. I
was thinking
> of trying the getimage() or getframe() or CData things
but, like I
> said, I haven't gotten around to trying anything yet, or
searching the
> newsgroup or MathWorks web site yet. And I'm not sure if
those would
> work for all data types from 8 bit monochrome to 24 bit
RGB color to
> int16 to double. Maybe it just gives you a 24bit RGB
image which is
> basically a screenshot - I have no idea. What's your
solution?
> Regards,
> ImageAnalyst

I have emailed the code to imageanalyst@mailinator.com

Regards,

Yuri

Tags for this Thread

Everyone's Tags:

Add a New Tag:

Separated by commas
Ex.: root locus, bode

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Tag Activity for This Thread
Tag Applied By Date/Time
imread image Yuri Geshelin 9 Apr, 2008 14:10:11
rssFeed for this Thread

envelope graphic E-mail this page to a colleague

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.
Related Topics