comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Automatic interpolation / smoothing in TV??
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Automatic interpolation / smoothing in TV?? [message #85533] Thu, 15 August 2013 02:14 Go to previous message
Jakob is currently offline  Jakob
Messages: 2
Registered: August 2013
Junior Member
Hello,

I would like to display an image with few pixels. When I use the TV command (either directly or through cgimage) I find the image is being "blurred", as if each pixel was being broken up in 8x8 cells and then values were being interpolated. For my specific purpose I want each pixel to have sharp edges.

I've searched the manuals but was not able to locate the reason for this behavior. I could plot each pixel separately using squares of appropriate size, but this seems unnecessarily clumsy?

Any hint on what I am missing would be greatly appreciated.
CJ


pro example

dens = [[7.0, 190.0, 391.0, 166.0, 6.0, 0.0],[0.0, 11.0, 63.0, 92.0, 9.0, 1.0],[0.0, 0.0, 2.0, 1.0, 0.0, 0.0]]

set_plot,'PS'
device, filename='example.ps', /color, /landscape

tv, dens, xsize=20000, ysize=10000

device, /close

end
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: copying text to the system clipboard
Next Topic: How to clear a NG window without erase method?

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 15:22:46 PDT 2025

Total time taken to generate the page: 0.00429 seconds