referring to the attached drawings , the embodiment of the present invention will be described below . in the present embodiment , referring to fig1 , a case where an image file control method of the present invention is applied for an image file obtained in a radiation image photographing apparatus , will be described . fig1 is a side view of a radiation image photographing apparatus 1 . the radiation image photographing apparatus 1 functions as an image input apparatus by which the image data photographed by an absorption contrast image or phase contrast image photographing is made . in this radiation image photographing apparatus 1 , a photographing section 2 is supported by a support shaft 4 provided to a support base 3 , and is attached to a support member 5 so that it can be moved upward and downward in a predetermined range along a guide rail , not shown , provided to the support member 5 by a drive apparatus , not shown . to the support base 3 , a radiation operation panel 37 having keys which conduct the selection of a photographing mode is connected , and further , a power supply 36 which is a power source of the apparatus , is connected . on the upper portion of the photographing section 2 , a radiation source 6 to irradiate the radiation is provided , and as the radiation source 6 , an x - ray tube whose focal point is 30 - 3000 μm which is used in a general medial institution , is used . in detail , the radiation tube which irradiates the radiation whose wavelength is about 1 å , is used . in this radiation tube , when an electron generated by the thermal excitation is accelerated by the high voltage , and made to collide with a cathode , and its kinetic energy is converted into the radiation energy , the radiation is irradiated . herein , the focal point of the radiation is , for example , a window viewed from the subject direction from which the radiation generated when the electron comes into collision with a rotated anode of the radiation tube , is taken out . generally , this is a square and the length of its side is a focal point size . when the shape of the focal point is a circle , the focal point size indicates its diameter , and when it is a rectangle , the focal point size indicates its short side . as the measurement method of this focal point size , a method by a pin - hole camera and a method using a micro test chart are written in jis z 4704 . normally , as the focal point size , a value according to the measurement of the radiation tube manufacturer is shown in the product specification . on both side surfaces of the photographing section 2 , a grip bar 9 for supporting a body of the subject is provided , and further , at a position which is under the radiation source 6 , and vertically extending from the radiation source 6 , a subject table 10 for supporting the subject 8 from below and a pressure plate 11 for pressing the subject 8 from above , and fixing it , are arranged in such a manner that they can elevate . hereupon , it is preferable that the subject table 10 is a table formed of a square frame , or on which a transparent thin plastic plate is adhered . in the present embodiment , to a supporting member 5 , a plurality of detection member supporting tables 13 are attached at a position which is below the subject table 10 and a position which is almost vertically extending from the radiation source 6 , in such a manner that they are opposed to the radiation source 6 . further , a radiation image information detection member 23 ( refer to fig2 ) as a means for detecting the radiation image information according to the radiation transmitted through the subject 8 is detachably mounted on each of detection member support tables 13 . the radiation image information detection member 23 has an area necessary for detecting the radiation transmitted through the subject 8 , and the radiation irradiated from the radiation source 6 transmits through the subject 8 and is observed as the radiation energy ( radiation image information ) by the radiation image information detection member 23 . then , in the plurality of detection member support table 13 , when the absorption contrast image is photographed , there is a support table for absorption image 13 a which supports the radiation image information detection member 23 in such a manner that it comes into close contact with the lower surface of the subject table 10 , and when the phase contrast image is photographed , there are phase image support tables 13 b and 13 c , which support the radiation image information detection member 23 spaced with a predetermined interval from the subject table 10 , in such a manner that at least one part of the radiation image information detection member 23 is arranged in the radiation field of the radiation source 6 . these absorption image support table 13 a and phase image support tables 13 b and 13 c face to the subject table 10 when it is used , by a support table drive source 24 ( refer to fig2 ), and when it is waiting , it is rotated around a base end portion , and a leading edge portion is approached to the support member 5 , and is a tilt able type so that it takes refuge out of the radiation field . then , in the present embodiment , for example , the absorption image support table 13 a is arranged on the lower surface of the subject table 10 arranged at a position ( r1 ) separated by 55 - 70 cm from the radiation source 6 , and at a position ( r2 ) separated by the distance of 0 . 5 - 1 . 5 times of r1 from the subject table 10 , the phase image support table 13 b is arranged , and further , under it , the phase image support table 13 c is arranged at a position ( r3 ) separated by the distance of 0 . 3 - 1 . 0 times of r1 . to the radiation image information detection member 23 , a grid ( not shown ) for shutting the scattering ray is provided for the purpose of preventing that the scattering ray from the radiation source 6 influences on the photographing , however , because , as the distance from the subject 8 is increased , an amount of the scattering ray is decreased , and the influence on the photographing is also decreased , the radiation image information detection member 23 attached to the phase image support tables 13 b , and 13 c may be one which does not have the grid . further , in the radiation image photographing apparatus 1 in the present embodiment , as shown in fig2 , a controlling apparatus 20 for controlling each section is provided . the controlling apparatus 20 is structured by a memory circuit 22 , and a cpu 21 , and controls each kind of equipment connected to an interface according to a controlling program written in the memory circuit 22 or controlling data . to this controlling apparatus 20 , a pressure plate use drive source 25 of the pressure plate 11 , support table use drive source 24 of the detection member support table 13 , a radiation operation panel 37 for inputting the photographing mode , radiation source 6 , and radiation image information detection member 23 are connected . on the radiation operation panel 37 , keys which can select a “ normal photographing mode ” which is conducted by equipping the radiation image information detection member 23 on the absorption image use support table 13 a , a “ first phase photographing mode ” which is conducted by equipping the radiation image information detection member 23 on the phase image use support table 13 b , and a “ second phase photographing mode ” which is conducted by equipping the radiation image information detection member 23 on the phase image use support table 13 c , are provided , and the “ normal photographing mode ” corresponding to the detection member support table 13 and a plurality of “ phase image photographing modes ” whose magnification is different , can be selectively inputted . hereupon , as the radiation operation panel 37 , an input apparatus in which a keyboard is used , or a magnetic card , bar code , and his ( in - hospital information system ) are used , may be separately provided from the radiation operation panel 37 . the cpu 21 develops a program specified in each kind of programs stored in the memory circuit 22 into an operation area in the memory circuit 22 , and corresponding to the input signal from each section , conducts each kind of processing according to the program . then , to the controlling apparatus 20 , an image file control apparatus 50 which controls the image file is connected . the image file control apparatus 50 reads the accompanying information from the image file , and size - converts the image data so that it corresponds to a predetermined resolving power . in the image file control apparatus 50 , a memory apparatus 51 which stores the image file and an input apparatus 52 into which an arbitrary resolving power is inputted , and a resolving power conversion apparatus 53 which converts the image data in the file based on the inputted resolving power in the input apparatus 52 , are provided . the memory apparatus 51 is structured by a memory circuit 511 which stores each kind of data and programs inputted from the controlling apparatus 20 of the radiation image photographing apparatus 1 , and a cpu 512 for conducting the program stored in the memory circuit 511 , and controls each kind of equipment connected to the interface ( data output apparatus ) according to the control program or control data written in the memory circuit 511 . in detail , the memory circuit 511 stores the image data and the image file having the accompanying information attached to this image data , and together with that , a program for controlling the image data obtained in the normal photographing mode , first phase photographing mode , and second phase photographing mode is recorded in it . that is , the memory apparatus 51 functions as the recording medium in the present invention . the image data is the radiation image information inputted from each radiation image information detection member 23 , and the accompanying information is the information relating to this image data . as the accompanying information , the kind of the photographing mode when the image data is obtained , reading sampling pitch at the time of the image reading , and magnification at the time of photographing , are listed . herein , a sampling pitch means a resolving power when the image data is obtained or outputted , or a pixel interval . then , when the object 8 is photographed in each photographing mode , because the interval between each radiation image information detection member 23 and the subject table 10 is different , the radiation field in each radiation image information detection member 23 is different , and the magnification of the obtained image is different for each photographing mode . therefore , for each radiation image information detection member 23 , the reading sampling pitch is determined corresponding to its magnification . for example , in the case of the present embodiment , when the mode is the normal photographing mode , because the radiation image information detection member 23 is arranged just below the subject table 10 , the image is photographed in the full size largeness , and the magnification at the time and the reading sampling pitch are stored as the accompanying information . further , when it is the first phase photographing mode , because the radiation image information detection member 23 is arranged at a position separated by r2 from the subject table 10 , the image is photographed in the magnification of ( r1 + r2 )/ r1 as compared to the full size largeness , and the magnification at the time and the reading sampling pitch are stored as the accompanying information . then , when it is the second photographing mode , because the radiation image information detection member 23 is arranged at a position separated by ( r2 + r3 ) from the subject table 10 , the image is photographed in the magnification of ( r1 + r2 + r3 )/ r1 as compared to the full size largeness , and the magnification at the time and the reading sampling pitch are stored as the accompanying information . then , the image data stored in the memory apparatus 51 is converted by the resolving power conversion apparatus 53 based on a predetermined resolving power inputted from the input apparatus 52 and the accompanying information . when the magnification and reduction ratio at the time of this conversion is calculated , the resolving power conversion apparatus 53 calculates the full size sampling pitch based on the magnification at the time of photographing and the reading sampling pitch which are stored in the accompanying information . then , the resolving power conversion apparatus 53 calculates the magnification and reduction ratio from a predetermined resolving power and the full size sampling pitch inputted from the input apparatus 52 . hereupon , the resolving power conversion apparatus 53 can convert the image data into a predetermined resolving power also in any case where the image file is inputted from the radiation image photographing apparatus 1 into the image file control apparatus 50 , where the image file is stored in the memory apparatus 51 , or where the image file is outputted to the image output apparatus 100 . when a predetermined resolving power is inputted from the input apparatus 52 , any one of the resolving power required by the image output apparatus , the resolving power in which the magnification at the time of photographing becomes a full size , or an arbitrary resolving power , is selected . specifically , when the resolving power required by the image output apparatus is selected , the image data can be controlled under the condition that the image data is converted so as to correspond to the resolving power required by the image output apparatus . herein , the resolving power required by the image output apparatus is determined by the resolving power of the image output apparatus 100 , the pixel interval or the display magnification needed by the observer . further , when the resolving power in which the magnification at the time of photographing becomes a full size , is selected , the image data can be controlled under the condition that the image data is converted so as to correspond to the resolving power in which the magnification at the time of photographing becomes a full size . then , when an arbitrary resolving power is selected , the image data can be controlled under the condition that the image data is converted so as to correspond to an arbitrary resolving power . to this image file control apparatus 50 , an image output apparatus 100 such as a printer to output the image or a display is connected . the image output apparatus 100 displays the image data when the image file is inputted from the interface of the memory apparatus 51 . next , while the specific procedure of the photographing by the radiation image photographing apparatus 1 in the present embodiment is described , the control method of the image file will be described . initially , the operator attaches the radiation image information detection member 23 to a detection member support table 13 , and from the radiation operation panel 37 , the photographing mode is selected by the key . based on this selection , the controlling apparatus 20 controls a support table use drive source 24 in such a manner that the detection member support table 13 to which the radiation image information detection member 23 is attached , faces the subject table 10 , and the detection member support table 13 other than them is made to take refuge in the out of the radiation field of the radiation source 6 . after that , when a tested subject puts the subject 8 on the subject table 10 , the controlling apparatus 20 lowers the pressure plate 11 by controlling the pressure plate drive source 25 , press the subject 8 and irradiates the radiation from the radiation source 6 , and conducts the radiation image photographing . in this case , the controlling apparatus 20 finds the magnification at the time of photographing and the reading sampling pitch at the time of the reading , and this is made the accompanying information of the image data obtained by the photographing and relates that to the image data , and outputs to the image file control apparatus 50 . the image file control apparatus 50 makes the image file from the image data and the accompanying information and stores it . herein , when a predetermined resolving power is inputted from the input apparatus 52 , the resolving power conversion apparatus 53 converts the image data based on the predetermined resolving power and the accompanying information of the image file , and stores it , and stores a predetermined resolving power and magnification and reduction ratio , at the time of conversion . for example , when the resolving power required by the image output apparatus is selected as a predetermined resolving power by the input apparatus , the resolving power conversion apparatus 53 reads the magnification and reading sampling pitch stored as the accompanying information , and calculates the full size sampling pitch . then , the resolving power conversion apparatus 53 calculates the magnification and reduction ratio from the full size sampling pitch and the inputted resolving power , and based on this magnification and reduction ratio , reduces and enlarges it by the well known method and stores it . then , as the accompanying information of the converted image data , the resolving power and magnification and ratio at the time of conversion are stored . hereupon , when the predetermined resolving power is finer than the full size sampling pitch , a insufficient part of the image data is supplemented by the well known method and made to correspond to the predetermined resolving power . then , when the image file is displayed , the image output apparatus 100 reads the image file from the image file control apparatus 50 , and the image data is displayed as the image . as described above , according to the present embodiment , when the memory apparatus 51 stores the image data , because it stores the magnification at the time of photographing and the reading sampling pitch at the time of image reading as the accompanying information , when this accompanying information is made the standard at the time of conversion of the image data , even when many times of size conversion are not conducted , the image can be displayed in an intended size and resolving power . as in this manner , because the number of times of the size conversion of the image data can be suppressed , the deterioration of the image data can be reduced . then , even when the image data obtained in each of the absorption contrast image photographing ( normal photographing mode ) and the phase contrast image photographing ( phase image photographing mode ) are mixed , because the magnification at the time of photographing and the reading sampling pitch at the time of image reading are stored as the accompanying information , the image data obtained by the different photographing method can be controlled in the same manner , and the control of the image file can be effectively conducted . hereupon , it is of course that the present invention can be appropriately changed without being limited to the above embodiment . for example , in the present embodiment , the memory apparatus 51 stores the magnification at the time of photographing and the reading sampling pitch as the accompanying information , however , the full sampling pitch is previously calculated based on the magnification and the reading sampling pitch , and that full size sampling pitch may be stored as the accompanying information . in such a case , even when the full size sampling pitch is not calculated one by one at the time of conversion of the image data , the magnification and reduction ratio can be calculated from the full size sampling pitch and a predetermined resolving power which are stored in the accompanying information . hereupon , as the accompanying information , at least one of the magnification and the reading sampling pitch , and the full size sampling pitch may be stored . then , in the above example , the magnification is changed , however , when the full size sampling pitch is stored in the accompanying information , the full size sampling pitch may be changed , being adjusted to the predetermined resolving power at the time of conversion . particularly , when the information at the time of photographing is desired to be remained , it is preferable that the full size sampling pitch is stored together with the magnification and the reading sampling pitch . further , in the present embodiment , the image file control apparatus 50 is an exclusive apparatus which controls the image file , however , the image input apparatus or image output apparatus itself may control the image file . further , in the present embodiment , the memory circuit 511 is exemplified as the recording medium to record the image file , however , any recording medium when it can record the program , can be applied . for example , as the recording medium , a compact flash ( registered trade name ), memory stick , smart media , multi - media card , floppy ( registered trade name ) disk , photo - magnetic recording medium ( mo ), or cd - r are listed . according to the invention written in the item 1 , when the memory apparatus records the image data , because at least one of the magnification at the time of photographing , and reading sampling pitch at the time of image reading , and full size sampling pitch calculated from the magnification and reading sampling pitch , is stored as the accompanying information , when this accompanying information is made the standard at the time of conversion of the image data , even when many times of the size conversion are not conducted , the image can be displayed in the intended size , and resolving power . in this manner , because the number of times of the size conversion of the image data can be suppressed , the deterioration of the image data can be reduced . then , even when the image data obtained in each of the absorption contrast image photographing ( normal photographing mode ) and the phase contrast image photographing ( phase image photographing mode ) are mixed , because at least one of the magnification at the time of photographing , and the reading sampling pitch at the time of image reading , and the full size sampling pitch calculated from the magnification and the reading sampling pitch is recorded as the accompanying information , the image data obtained by the different photographing method can be controlled in the same manner , and the control of the image file can be effectively conducted . according to the invention written in the item 2 , because the resolving power conversion apparatus calculates the magnification and reduction ratio at the time of the conversion from the full size sampling pitch , the image data can be converted corresponding to the full size . hereupon , even when the full size sampling pitch is the image data which is not stored as the accompanying information , because , in the image data , the magnification ratio at the time of the photographing and the reading sampling pitch at the time of the image reading are stored as the accompanying information , the full size sampling pitch can be calculated on the base of the magnification ratio and the reading sampling pitch . according to the invention written in the item 3 , when the resolving power conversion apparatus converts the image data into the predetermined resolving power , because it makes the full size sampling pitch correspond to the predetermined resolving power , also after the conversion , the full size sampling pitch corresponded to the conversion as the accompanying information can be stored . therefore , when it is converted again , the magnification and reduction ratio can be calculated on the base of this full size sampling pitch . according to the invention written in the item 4 , because the resolving power conversion apparatus converts the image data on the base of the magnification and reduction ratio calculated so as to be a predetermined resolving power , the image file can be controlled under the condition that the image data is converted into a predetermined resolving power . according to the invention written in the item 5 , because the resolving power conversion apparatus converts the image data on the base of the magnification and reduction ratio calculated so as to be the resolving power in which the magnification ratio is a full size , the image file can be controlled under the condition that the image data is converted into the full size . according to the invention written in the item 6 , because the data output apparatus outputs the image data stored in the memory apparatus to the image output apparatus , the image data controlled in the image file control apparatus can be outputted by the image output apparatus . according to the invention written in the item 7 , because the resolving power conversion apparatus converts the image data based on the magnification and reduction ratio calculated so as to be the resolving power which is required by the image output apparatus , the image file can be controlled under the condition that the image data is converted into the resolving power required by the image output apparatus . according to the invention written in the item 8 , because , when the data output apparatus outputs the image data , it outputs the image data together with also the accompanying information , even by the image output apparatus , according to the accompanying information , the image data can be converted . according to the invention written in the item 9 , because the resolving power conversion apparatus converts the image data based on the magnification and reduction ratio calculated so as to be a predetermined resolving power , before the output of the data output apparatus , the image data is converted from the condition at the time of the storing , and can be outputted . according to the invention written in the item 10 , because the resolving power conversion apparatus converts the image data based on the magnification and reduction ratio calculated so as to be a resolving power in which the magnification ratio becomes a full size , before the output of the data output apparatus , it can convert the image data into a resolving power in which the magnification ratio becomes a full size , from the condition at the time of storing , and output it . according to the invention written in the item 11 , because the resolving power conversion apparatus converts the image data based on the magnification and reduction ratio calculated so as to be a resolving power which is required by the image output apparatus , before the output of the data output apparatus , it can convert the image data into a resolving power which is required by the image output apparatus , from the condition at the time of the storing , and output it .
an image file control method for storing plural sets of image data wherein each of plural sets of image data is obtained in such a way that a body part of a patient having an id code is radiographed with a magnification by an absorption contrast radiography or a phase contrast radiography so as to obtain a radiation image of the body part and the radiation image is read with a reading sampling pitch by an image reading device so that the image reading device outputs raw image data of the body part ; comprising step of ; storing plural sets of raw image data by attaching supplemental information to each of plural sets of raw image data , wherein the supplemental information contains an id code of a patient and at least one of a set of a magnification and the reading sampling pitch and a full size sampling pitch calculated from the set of the magnification and the reading sampling pitch .