An image processing apparatus, comprising: a first obtaining unit for obtaining light field data, which is three-dimensional information on an object space; a generation unit for generating object information by detecting an object included in the object space using the light field data and adding the generated object information to the light field data; a second obtaining unit for obtaining information on the object corresponding to an external apparatus which is a destination target of transmission of the light field data; and a detection unit for detecting the object corresponding to the external apparatus obtained by the second obtaining unit from the object information added to the light field data, characterized in that the image processing apparatus further comprises: a setting unit for setting focal distances with a priority order for re-forming the light field data based on photographing information of the light field data and adding the set focal distances with the priority order to the light field data, wherein the priority order is set for each focal distance or object included in the object space; and a control unit for updating the priority order of the focal distances set by the setting unit by assigning a higher priority order to the focal distance of the object corresponding to the external apparatus detected by the detection unit. a first obtaining unit for obtaining light field data, which is three-dimensional information on an object space; a generation unit for generating object information by detecting an object included in the object space using the light field data and adding the generated object information to the light field data; a second obtaining unit for obtaining information on the object corresponding to an external apparatus which is a destination target of transmission of the light field data; and a detection unit for detecting the object corresponding to the external apparatus obtained by the second obtaining unit from the object information added to the light field data, characterized in that the image processing apparatus further comprises: a setting unit for setting focal distances with a priority order for re-forming the light field data based on photographing information of the light field data and adding the set focal distances with the priority order to the light field data, wherein the priority order is set for each focal distance or object included in the object space; and a control unit for updating the priority order of the focal distances set by the setting unit by assigning a higher priority order to the focal distance of the object corresponding to the external apparatus detected by the detection unit. a setting unit for setting focal distances with a priority order for re-forming the light field data based on photographing information of the light field data and adding the set focal distances with the priority order to the light field data, wherein the priority order is set for each focal distance or object included in the object space; and a control unit for updating the priority order of the focal distances set by the setting unit by assigning a higher priority order to the focal distance of the object corresponding to the external apparatus detected by the detection unit.