Privacy Policy
Terms of Use

User Functions

Topics


Welcome to iraf.net Thursday, May 02 2024 @ 11:30 PM GMT


 Forum Index > Help Desk > Applications New Topic Post Reply
 package with 'crosscor'
   
Anonymous: Guest
 12/18/2005 04:23AM (Read 2932 times)  



Hi Josh,> I have another quick question: I have an image that I want to do a
> transformation to get another image. I did kind of a first order
> approximation to this by writing a script that just took a small box
> on the image, took the average intensity using imstat, then just spit
> out the number into a text file, so that I could do one-dimensional
> plots, but I wanted to do this transformation 'pixel-by-pixel' and I
> want it to generate a 2d image, or a 2d array atleast of intensity
> values. Is this possible? I guess the pixel-by-pixel is easy enough,
> with imstat, but is there an easy way to have a 2d file as an output? Have a look at the BLKAVG task, it'll block average the entire
image and output a new 2D image. If you need to offset this by some
amount you can use an image section as the input, if you're grabbing
"random" boxes from various places around the image you can output all
the numbers to a list and then in your script call something like
RTEXTIMAGE to make an image out of it. Hope this helps.Cheers,
-Mike

 
 Quote
   
Content generated in: 0.02 seconds
New Topic Post Reply

Normal Topic Normal Topic
Sticky Topic Sticky Topic
Locked Topic Locked Topic
New Post New Post
Sticky Topic W/ New Post Sticky Topic W/ New Post
Locked Topic W/ New Post Locked Topic W/ New Post
View Anonymous Posts 
Anonymous users can post 
Filtered HTML Allowed 
Censored Content 
dog allergies remedies cialis 20 mg chilblain remedies