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

Home » Public Forums » archive » Re: create image in background
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: create image in background [message #61074 is a reply to message #61073] Thu, 03 July 2008 18:20 Go to previous messageGo to previous message
frankosuna is currently offline  frankosuna
Messages: 31
Registered: February 2008
Member
I fixed the problem.. I needed to load color table 0 so the new code
looks like this in case anybody else has any problems on doing
this. Thanks to everybody for the suggestions and help. Maybe I can
finish my Thesis now!! Well appreciated!!

LOADCT, 0
mydevice = !D.NAME

SET_PLOT, 'Z'

ERASE

DEVICE, SET_RESOLUTION=[1024,1024]

filteredImage = SOBEL(img)

filteredImage=ROTATE(filteredImage, 2)
TVSCL, filteredImage

oplot, filteredImage[*,*]

image = TVRead(Filename='edgeDetect',/NODIALOG,/BMP)

image = READ_BMP('/home/users/fjosuna/CASVU_ISS/edgeDetect.bmp')
OPENW, lun, 'edgeDetect.dat', /GET_LUN
WRITEU, lun, image
FREE_LUN, lun
ERASE
SET_PLOT, mydevice
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: input box ?
Next Topic: total newbie seeks to interact with data language

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

Current Time: Sun Oct 12 07:06:00 PDT 2025

Total time taken to generate the page: 0.24695 seconds