CHANGE: Use number of plains in ImageEx to determine is_valid(). closes #24