Strongholds of The Samurai: Japanese Castles 250-1877, by Stephen Turnbull, published by Osprey Publishing Oxford 2009. The text also explains how castles were adapted to accommodate the introduction of firearms in the 16th century, and explores life within Japanese fortifications.