You also have to keep in mind the mental make-up of the Japanese at that time. They believed that they were destined to rule, that all other races were inferior and that no one could defeat them with thier "living God" at the head. Even those in power smart enough (Yamomoto) to realize that this way of thinking was going to turn out badly could not really openly say anything that would give the appearance of being anything other than completely confident.
To a Japanese, losing face or honor is the worst fate imaginable. To a man, most of them would rather die in a hopeless battle against impossible odds than give up, or be captured. The Miliatry leaders of Japan FULLY expected to have to fight down to the last living citizen in an Allied invasion of the homelands. They gave peasants instructions on the best way to kill an enemy soldier with pitchforks or rocks, in order that they should do thier duty for the Emperor.
Those who say that it was unneccessary to use nuclear weapons against the people of Japan do not fully understand thier mindsets. It have been suggested that the number of casulties of an Allied invasion of the Japanese homelands are in excess of one million. Even AFTER the bombs fell there were those that wanted to fight on...