Automatic interpolation / smoothing in TV?? [message #85533] |
Thu, 15 August 2013 02:14  |
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
|
|
|
|
|
|