Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #12858
| From | "Alexey Popkov" <lehin.p@gmail.com> |
|---|---|
| Newsgroups | comp.soft-sys.math.mathematica |
| Subject | Re: Plot Points over an image |
| Date | 2012-12-19 09:55 +0000 |
| Message-ID | <kas2ug$cho$1@smc.vnet.net> (permalink) |
| References | <kap6d7$46t$1@smc.vnet.net> |
| Organization | Time-Warner Telecom |
Hi Pablo,
On my machine your code gives expected result with random image:
image = Image[RandomReal[1, {640, 640, 3}]];
ImageCompose[image, {Graphics[{PointSize[.009], Black,
Point[{0, 0}]}], .6}, {635, 600}]
Alexey
<lopez.matencio@gmail.com> wrote: news:kap6d7$46t$1@smc.vnet.net...
> Hello,
>
> I have a TIFF image of 640x640 pixels, over which I would like to plot a
> list of points or disks with small radius.
> I have been testing different alternatives and I found ImageCompose
> command.
>
> ImageCompose[image, {Graphics[{PointSize[.009], Black, Point[{0, 0}]}
> ], .6}, {600, 600}]
>
> This place a point at pixels {600,600} from left-bottom, but if I set a
> point close to e.g. right edge of the image {635,600} the point is into
> the frame bat there is not image at background. Namely, the image does not
> show all the pixels. First, let say 20-25 first x-pixels of the image, and
> the last 20-25 x-pixels of the image are invisibles.
>
> When I tick the image it shows the image at the center of the frame and
> two blank vertical spaces at right and left of the image.
>
> Two questions:
> - There exist any option or command I could use to show the full image,
> i.e. the 640 x 640 pixels?
> - How could I display over imposed a list of points (e.g. 40 points) at
> pixel coordinates and all on the same image.
>
> Thank you very much for your help and time.
>
> Pablo
>
Back to comp.soft-sys.math.mathematica | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Plot Points over an image lopez.matencio@gmail.com - 2012-12-18 07:36 +0000 Re: Plot Points over an image "Alexey Popkov" <lehin.p@gmail.com> - 2012-12-19 09:55 +0000 Re: Plot Points over an image "Alexey Popkov" <lehin.p@gmail.com> - 2012-12-19 09:55 +0000
csiph-web