1. An endoscopic image processing device comprising: an image acquisition section that acquires a normal observation image and a zoom observation image, the normal observation image being an image that includes an image of an object, and the zoom observation image being an image that magnifies the image of the object within an observation area that is part of the normal observation image; an attention area determination section that specifies an attention area on the zoom observation image, the attention area being an area that requires attention; and a boundary setting section that detects a position of a boundary on the normal observation image that corresponds to a boundary of the attention area specified on the zoom observation image based on pixel values of the zoom observation image, and sets a boundary image at the detected position of the boundary on the normal observation image, the boundary image indicating the boundary of the attention area.