This scene depicts a 19th century flogging on board an American Naval Vessel. From the internet.