World Wind Forums

Go Back   World Wind Forums > WorldWind Development (Other) > Image Serving & GIS

Image Serving & GIS Developing and serving World Wind content; other GIS issues.

Closed Thread
 
Thread Tools Display Modes
Old 02-14-2006, 02:56 PM   #1
Akdeniz
Junior Member
 
Join Date: Feb 2006
Posts: 1
Akdeniz
Post

Im having toruble with imagine 8.7. When im doing 4/3 band ratio. there was an error "divided by zero" or "invalid layer list" could you please help me? thank you!
Akdeniz is offline  
Old 02-14-2006, 04:11 PM   #2
5of0
Dabbling Geek
 
5of0's Avatar
 
Join Date: Jan 2005
Location: Washington State, USA
Posts: 1,623
5of0 is an unknown quantity at this point
Default

This isn't anything to do with World Wind, is it?
__________________
Note: The above statement is probably an educated guess, derived from much forum reading, IRC chatting, general curiosity, etc. Use at your own risk.
Before asking, check the FAQ or search, and Ask a good question.

Having problems? Make sure you have Managed DirectX and .NET Framework.
Then check the Video Card Compatibility List


5of0 is offline  
Old 02-14-2006, 04:50 PM   #3
Beansprout
Cosmic laser
 
Join Date: Sep 2004
Posts: 2,998
Beansprout is an unknown quantity at this point
Default

It's amazing how many search terms this place comes in the top 5 for
Beansprout is offline  
Old 02-14-2006, 08:18 PM   #4
MangoCrate
Member
 
Join Date: May 2005
Posts: 50
MangoCrate
Default

Quote:
Originally posted by Akdeniz@Feb 14 2006, 09:56 AM
Im having toruble with imagine 8.7. When im doing 4/3 band ratio. there was an error "divided by zero" or "invalid layer list" could you please help me? thank you!


You can look into archived email lists for Imagine here:
http://lists.directionsmag.com/discussion/

But, to answer your question, in your model you need to add a conditional statement that will set the output value to 0 if the denominator equals 0:

EITHER 0 IF ( band3 == 0 ) OR band4/band3 OTHERWISE
MangoCrate is offline  
Old 05-12-2007, 03:27 AM   #5
Unregistered
Guest
 
Posts: n/a
Talking Solution

Quote:
Originally Posted by Akdeniz View Post
Im having toruble with imagine 8.7. When im doing 4/3 band ratio. there was an error "divided by zero" or "invalid layer list" could you please help me? thank you!
Hi!
You have to use either if statement in model maker as the band 3 may have some zero values and thus creates the error.
"EITHER band4/band3 IF (band3 > 0) 0 OTHERWISE"

most likely this is the format of command just check in help of erdas.
 
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may post new threads
You may post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Erdas Imagine 8.7- grouping tool Anita Asadullah Image Serving & GIS 1 09-17-2006 09:32 PM


All times are GMT +1. The time now is 06:44 AM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.