Welcome to iraf.net Friday, April 19 2024 @ 08:48 PM GMT


 Forum Index > Help Desk > General IRAF New Topic Post Reply
  3D to 2D converting
   
BrainBug
 11/08/2006 12:33PM (Read 5161 times)  
++---
Junior

Status: offline


Registered: 10/30/2006
Posts: 33
Heh! I help myself!
My mistake is next: i tried to work with 3D images, but need tyo have 2D!
"Converting" next to 2D:
[code:1:dd5b0c8aa5]
imcopy image*[*,*] image*
[/code:1:dd5b0c8aa5]
It create a file with same name, but 2D!!!

 
Profile Email Website
 Quote
fitz
 11/08/2006 12:33PM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040
The IMSLICE task can reduce the dimensionality of images, or you can simply use an image section e.g.[code]cl> imcopy myimage[*,*,1] newimage.fits # 'newimage' is now 2-D[/code-Mike

 
Profile Email
 Quote
BrainBug
 11/08/2006 12:33PM  
++---
Junior

Status: offline


Registered: 10/30/2006
Posts: 33
[quote:ed802c2f3e="fitz"]The IMSLICE task can reduce the dimensionality of images, or you can simply use an image section e.g.
1:ED802C2F3E Formatted Code
cl> imcopy myimage[*,*,1] newimage.fits    # 'newimage' is now 2-D[/code:1:ed802c2f3e]

-Mike[/quote:ed802c2f3e]
Understand you... But! i writed:
[code:1:ed802c2f3e]
imcopy image*[*,*] image*
[/code:1:ed802c2f3e]
not a image*[*,*,[b:ed802c2f3e]1[/b:ed802c2f3e]] !
About [b:ed802c2f3e]imslice[/b:ed802c2f3e], help imslice, reading now... greate thing!
Thx!
And that about [url]https://iraf.net/phpBB2/viewtopic.php?t=85811[/url] ?
Can anybody tell what should i use? I really need it!

 
Profile Email Website
 Quote
   
Content generated in: 0.09 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


Privacy Policy
Terms of Use

User Functions

Login