1. An image processing apparatus executing a process to recognize a specific region from an image, comprising: a threshold determination unit performing threshold determination for a determination range including a target pixel and multiple pixels surrounding the target pixel among pixels included in the image by applying a predetermined threshold conditions to specify the target pixel as a recognized pixel in a case where the threshold conditions are satisfied in any pixel within the determination range; and a process execution unit executing the threshold determination repeatedly by moving the determination range sequentially.