An image processing apparatus comprising: detecting means for detecting a moving object (501 - 503, 801 - 805, 1001) from an image (500, 800, 1000); determination means for determining, if a region of the moving object (501 - 503, 801 - 805, 1001) detected from the image (500, 800, 1000) overlaps a fixed region in the image (500, 800, 1000), whether to superimpose a first mask image (601 - 603, 901 - 904, 1101) to be drawn in the region of the moving object on a second mask image (604, 905, 1102) to be drawn in the fixed region, based on an image feature amount of the region of the moving object (501 - 503, 801 - 805, 1001), wherein one of a size of the region of the moving object (501 - 503, 801 - 805, 1001), a size of a rectangular region enclosing the region of the moving object (501 - 503, 801 - 805, 1001), a vertical length and/or a horizontal length of the rectangular region, or a color in the region of the moving object (501 - 503, 801 - 805, 1001) is used as the image feature amount of the region of the moving object (501 - 503, 801 - 805, 1001); and control means for controlling drawing of the first mask image (601 - 603, 901 - 904, 1101) in the region of the moving object (501 - 503, 801 - 805, 1001) and the second mask image (604, 905, 1102) in the fixed region in accordance with a determination result obtained by the determination means, wherein the control means is configured to draw the first mask image (601 - 603, 901 - 904, 1101) in the region of the moving object (501 - 503, 801 - 805, 1001) after drawing the second mask image (604, 905, 1102) in the fixed region, when the determination means determines to superimpose the first mask image (601 - 603, 901 - 904, 1101) on the second mask image (604, 905, 1102), wherein the fixed region is a region set in advance to hide an object other than a moving object (501 - 503, 801 - 805, 1001) in the image (500, 800, 1000), the first mask image (601 - 603, 901 - 904, 1101) is a predetermined image having a shape of the region of the moving object (501 - 503, 801 - 805, 1001) or the rectangular region enclosing the region of the moving object (501 - 503, 801 - 805, 1001), and the second mask image (604, 905, 1102) is a predetermined image having a shape enclosing the fixed region. detecting means for detecting a moving object (501 - 503, 801 - 805, 1001) from an image (500, 800, 1000); determination means for determining, if a region of the moving object (501 - 503, 801 - 805, 1001) detected from the image (500, 800, 1000) overlaps a fixed region in the image (500, 800, 1000), whether to superimpose a first mask image (601 - 603, 901 - 904, 1101) to be drawn in the region of the moving object on a second mask image (604, 905, 1102) to be drawn in the fixed region, based on an image feature amount of the region of the moving object (501 - 503, 801 - 805, 1001), wherein one of a size of the region of the moving object (501 - 503, 801 - 805, 1001), a size of a rectangular region enclosing the region of the moving object (501 - 503, 801 - 805, 1001), a vertical length and/or a horizontal length of the rectangular region, or a color in the region of the moving object (501 - 503, 801 - 805, 1001) is used as the image feature amount of the region of the moving object (501 - 503, 801 - 805, 1001); and control means for controlling drawing of the first mask image (601 - 603, 901 - 904, 1101) in the region of the moving object (501 - 503, 801 - 805, 1001) and the second mask image (604, 905, 1102) in the fixed region in accordance with a determination result obtained by the determination means, wherein the control means is configured to draw the first mask image (601 - 603, 901 - 904, 1101) in the region of the moving object (501 - 503, 801 - 805, 1001) after drawing the second mask image (604, 905, 1102) in the fixed region, when the determination means determines to superimpose the first mask image (601 - 603, 901 - 904, 1101) on the second mask image (604, 905, 1102), wherein the fixed region is a region set in advance to hide an object other than a moving object (501 - 503, 801 - 805, 1001) in the image (500, 800, 1000), the first mask image (601 - 603, 901 - 904, 1101) is a predetermined image having a shape of the region of the moving object (501 - 503, 801 - 805, 1001) or the rectangular region enclosing the region of the moving object (501 - 503, 801 - 805, 1001), and the second mask image (604, 905, 1102) is a predetermined image having a shape enclosing the fixed region.