Image recording and read-out apparatus

In a image processing system, a cassette loading unit, a reciprocating feed system, an auxiliary scanning feed mechanism, and an erasing unit are controlled by a first CPU, and an image reading process and error processes relative to the reading of image information are performed by a second CPU. The image processing system starts a shading correcting process at a time when a first time has elapsed from a time when a start-of-scan signal is supplied, and ends the shading correcting process and detects an error and an erasing level at a time when a third time has elapsed from a time when an effecting reading period is ended.

BACKGROUND OF THE INVENTION

1. Field of the Invention

The present invention relates to an image processing apparatus for reading an image on a sheet-like recording medium by applying a laser beam to the sheet-like recording medium and scanning the sheet-like recording medium with the laser beam in a main scanning direction.

2. Description of the Related Art

There is known a system for recording radiation image information of a subject such as a human body with a stimulable phosphor, and reproducing the recorded radiation image information on a photosensitive medium such as a photographic film, or displaying the recorded radiation image information on a display unit such as a CRT or the like.

The stimulable phosphor is a phosphor which, when exposed to an applied radiation (X-rays, α-rays, β-rays, γ-rays, electron beams, ultraviolet radiation, or the like), stores a part of the energy of the radiation, and, when subsequently exposed to applied stimulating rays such as visible light, emits light in proportion to the stored energy of the radiation. Usually, a sheet provided with a layer of the stimulable phosphor is used as a stimulable phosphor sheet for easy handling.

The above known system employs an image reading apparatus having a loading unit (loading device) for loading a cassette (container) which houses a stimulable phosphor sheet with radiation image information thereon, an image reading unit for reading the radiation image information carried by the stimulable phosphor sheet which has been removed from the cassette, and an erasing unit for erasing residual radiation image information on the stimulable phosphor sheet.

The above system also includes an image information reproducing apparatus for recording the radiation image information carried by the stimulable phosphor sheet and recording the read radiation image information on a photographic film (sheet-like recording medium). The image information reproducing apparatus has a loading unit (loading device) for loading a container such as a cassette or magazine which houses a photographic film, and a recording unit for recording the radiation image information on the photographic film.

The image reading unit has only one CPU for controlling the image reading unit itself, reading radiation image information, and performing various error processes as it does not have a CPU dedicated to the reading of radiation image information.

As a consequence, it is necessary to shorten a time required to detect and analyze an error with the single CPU. With the shortened time for error detection and analysis, the image reading unit is unable to perform complex error processes, and any messages produced when errors occur and actions made after errors are processed tend to be monotonous.

Actually, while each error that has occurred needs to be accompanied by an optimum error message and followed by an optimum subsequent action, the single CPU does not provide a sufficient time for such an optimum error message or subsequent action.

Another problem with the single CPU is that since it needs a dedicated counter for generating a synchronizing signal and a dedicated memory for shading correction, etc., the image reading unit is costly to manufacture.

SUMMARY OF THE INVENTION

It is therefore an object of the present invention to provide an image processing apparatus which can perform sophisticated error processes and can be manufactured at a reduced cost.

According to the present invention, there is provided an image processing apparatus having an image reading unit for reading an image per line from a sheet-like recording medium by applying a laser beam to the sheet-like recording medium and scanning the sheet-like recording medium with the laser beam in a main scanning direction, comprising: a controller dedicated for controlling reading of the image from the sheet-like recording medium, the controller being operable in synchronism with a main scanning synchronizing signal supplied thereto.

The process of reading the image and error processes relative to the reading of the image are performed by the dedicated controller. The image processing apparatus itself and error processes relative to the control of the image processing apparatus are controlled by another controller. These controllers are thus capable of securing a sufficient time for detecting and analyzing errors, and hence having a sufficient time for optimizing error messages or subsequent actions. Therefore, in the event of errors or failures, error messages can be outputted and subsequent actions can be taken depending on errors that have occurred, thus effectively performing sophisticated error processes and reducing the cost of manufacture of the image processing system.

The controller may comprise means for performing shading correction on the image to be read in at least an effective reading period in a period of reading one line of image.

The dedicated controller may comprise means for detecting at least an error in an ineffective reading period in a period of reading one line of image. The error-detecting means may include means for measuring the period of the main scanning synchronizing signal.

The image processing apparatus may further comprise an erasing unit for erasing image information carried on the sheet-like recording medium after the image is read therefrom, and the dedicated control may comprise means for detecting an erasing level for the erasing unit in an ineffective reading period in a period of reading one line of image. The erasing-level-detecting means may include means for holding a maximum value of the level of an image signal from the line to be read.

The shading-correction performing means may comprise means for outputting shading corrective data in synchronism with a reference clock signal, means for converting the outputted shading corrective data from digital data into an analog corrective signal, and means for adding an image signal representing the read image and the analog corrective signal to each other.

The shading-correction performing means may comprise means for converting an image signal representing the read image from analog image data into digital image data, means for reading shading corrective data in synchronism with a reference clock signal, means for adding the digital image data and the shading corrective data into combined data, and means for outputting the combined data.

The image processing apparatus may further comprise a deflector for deflecting the laser beam to scan the sheet-like recording medium in the main scanning direction while the laser beam is being applied to the sheet-like recording medium, the deflector having a plurality of facets, and the shading-correction performing means may perform shading correction depending on facet characteristics of each of the facets of the deflector.

The controller may comprise means for generating a signal to manage displaying of the image in synchronism with the main scanning synchronizing signal.

DESCRIPTION OF THE PREFERRED EMBODIMENTS

An image processing apparatus according to the present invention as applied to an image processing system having an image reading apparatus and an image reproducing apparatus which employ a stimulable phosphor sheet, for example, will be described below with reference toFIGS. 1 through 14.

As shown inFIG. 1, an image processing system1000according to the present invention has an image reading apparatus10for reading an image and an image reproducing apparatus200for reproducing an image read by the image reading apparatus10.

The image reproducing apparatus200has an image reproducer202comprising a personal computer and a display unit204comprising a liquid crystal display panel, a CRT, or the like.

As shown inFIG. 2, the image reading apparatus10is arranged to apply a laser beam L to a stimulable phosphor sheet S while scanning the stimulable phosphor sheet S with the laser beam L in a main scanning direction, collect light emitted from the stimulable phosphor sheet S, and photoelectrically read radiation image information, as represented by the emitted light, carried by the stimulable phosphor sheet S.

Specifically, the image reading apparatus10has an apparatus housing12which houses therein a cassette loading unit16for loading a cassette14which stores therein a stimulable phosphor sheet S as a sheet-like recording medium on which the radiation image information of a subject or the like is temporarily recorded, a reading unit18for applying a laser beam L as stimulating light to the stimulable phosphor sheet S to photoelectrically read the recorded radiation image information from the stimulable phosphor sheet S, and an erasing unit20for erasing residual radiation image information from the stimulable phosphor sheet S after the desired recorded radiation image information has been read from the stimulable phosphor sheet S.

The cassette14comprises a casing22for housing the stimulable phosphor sheet S therein, and a lid24openably and closably mounted on an end of the casing22for allowing the stimulable phosphor sheet S to be removed from and inserted into the casing22.

The cassette loading unit16includes a cassette loading region26in which the cassette14is inserted horizontally, a lid opening/closing mechanism (not shown) for opening and closing the lid24, and a sheet delivery means30having suction cups28for attracting and removing the stimulable phosphor sheet S from the cassette14and also returning the stimulable phosphor sheet S back into the cassette14after recorded image information has been read and residual image information has been erased.

As shown inFIG. 2, the erasing unit20and the reading unit18are positioned downstream of the sheet delivery mechanism30and connected thereto by a reciprocating feed system66. The reciprocating feed system66comprises a plurality of roller pairs68that make up a vertical feed path extending from the cassette loading unit16and a horizontal feed path extending from the lower end of the vertical feed path. The erasing unit20is disposed on the vertical feed path. The reading unit18is disposed above the horizontal feed path. The erasing unit20has a vertical array of erasing light sources70which extend horizontally. The erasing unit20may have a single erasing light source, and the erasing light source or sources may extend vertically.

The reading unit18comprises an auxiliary scanning feed system72for feeding the stimulable phosphor sheet S in a horizontal auxiliary scanning direction indicated by the arrow X, a laser beam applying unit74for applying a laser beam L as scanning light substantially vertically downwardly as indicated by the arrow Y to the stimulable phosphor sheet S which is being fed in the auxiliary scanning direction to scan the stimulable phosphor sheet S in a main scanning direction perpendicular to the auxiliary scanning direction, and an image reading unit76for guiding light emitted from the stimulable phosphor sheet S upon exposure to the laser beam L and photoelectrically reading the radiation image information carried on the stimulable phosphor sheet S based on the emitted light.

The laser beam applying unit74has an optical system78for bending the laser beam L which has been emitted horizontally in a substantially vertically downward direction to apply the laser beam L to the stimulable phosphor sheet S. The reading unit18also includes a light guide80and a reflecting mirror82that are positioned near the area where the laser beam L is applied to the stimulable phosphor sheet S. The light guide80serves to collect and guide the light that is emitted from the stimulable phosphor sheet S upon exposure to the laser beam L. The image reading unit76also has a photomultiplier84mounted on the light guide80. The auxiliary scanning feed system72has first and second roller pairs86,88positioned beneath the light guide80and the reflecting mirror82and spaced horizontally in the direction indicated by the arrow X from each other by a certain distance.

Operation of the image reading apparatus10thus constructed will be described below.

The cassette14is horizontally loaded into the cassette loading region26that is positioned in an upper portion of the apparatus housing12. The cassette14stores therein the stimulable phosphor sheet S with the radiation image information of a subject such as a human body being recorded thereon. The lid24of the loaded cassette14is opened by the lid opening/closing mechanism (not shown) in the cassette loading unit16.

Then, the sheet delivery mechanism30is actuated to move the suction cups28into the cassette14, and the suction cups28attract an upper surface of the stimulable phosphor sheet S in the cassette14. The suction cups28which have attracted the stimulable phosphor sheet S are moved from within the cassette14toward the reciprocating feed system66, thus removing the stimulable phosphor sheet S from the cassette14. Substantially at the same time that the leading end of the stimulable phosphor sheet S removed from the cassette14is gripped by the first roller pair68, the suction cups28release the stimulable phosphor sheet S.

The roller pairs68are rotated to feed the stimulable phosphor sheet S horizontally and then vertically downwardly along the vertical feed path of the reciprocating feed system66. After the stimulable phosphor sheet S has passed through the erasing unit20, the stimulable phosphor sheet S is fed along the horizontal feed path to the auxiliary scanning system72of the reading unit18.

In the auxiliary scanning system72, the stimulable phosphor sheet S is gripped by the first and second roller pairs86,88and fed horizontally in the auxiliary scanning direction indicated by the arrow X. At the same time, the laser beam L is emitted from the laser beam applying unit74. The laser beam L first travels horizontally and then is directed downwardly as indicated by the arrow Y by the optical system78. The laser beam L is applied to the upper recording surface of the stimulable phosphor sheet S to scan the stimulable phosphor sheet S in the main scanning direction. In response to the application of the laser beam L, the upper recording surface of the stimulable phosphor sheet S emits light representing the recorded radiation image information. The emitted light is applied to the light guide80directly or by the reflecting mirror82, and then guided by the light guide80to the photomultiplier84, which photoelectrically reads the radiation image information based on the light.

After the radiation image information has been read from the stimulable phosphor sheet S, the auxiliary scanning feed system72is reversed to feed the stimulable phosphor sheet S upwardly along the reciprocating feed system66into the erasing unit20. In the erasing unit20, the erasing light sources70are energized to remove residual radiation image information from the stimulable phosphor sheet S. Thereafter, the stimulable phosphor sheet S is returned into the cassette14, and the lid24is closed. The cassette14is unloaded from the loading region26, and then the stimulable phosphor sheet S is processed to record next radiation image information.

The image reading process in the reading unit18will specifically be described below with reference to FIG.3. The laser beam L emitted as stimulating light from a laser beam source100is applied to a polygon mirror102, i.e., a rotor having six mirror facets, which reflects the laser beam L to the stimulable phosphor sheet S. The polygon mirror102is rotated to scan the stimulable phosphor sheet S with the laser beam L in the main scanning direction. The recording surface of the stimulable phosphor sheet S emits light from a line along which the stimulable phosphor sheet S is scanned with the laser beam L. The emitted light is applied to the photomultiplier84, which photoelectrically reads an image of the scanned line on the stimulable phosphor sheet S.

As the stimulable phosphor sheet S is fed in the auxiliary scanning direction, the laser beam L scans the stimulable phosphor sheet S along successive lines thereon in the main scanning direction. In this manner, the photomultiplier84reads one frame of image carried on the stimulable phosphor sheet S.

The photomultiplier84starts reading each line of image in response to a start-of-scan signal Sa (main scanning synchronizing signal) from a position detector110. The position detector110generates the start-of-scan signal Sa having a given pulse duration based on a detected signal Sc from a first sensor112which detects the laser beam L.

As shown inFIG. 2, the image reading apparatus10also has, in addition to the first sensor112, a second sensor120and a third sensor122. The second sensor120is disposed in the vicinity of the cassette loading region26, and serves to detect when the cassette14is inserted into the cassette loading region26, i.e., the apparatus housing12. The third sensor122is positioned at a beginning end of the auxiliary scanning feed system72, and serves to detect the arrival of the leading end of the stimulable phosphor sheet S.

A control system130of the image reading apparatus10will be described below with reference toFIGS. 1 and 4.

As shown inFIG. 1, the control system130has a first CPU210for controlling the cassette loading unit16, the reciprocating feed system66, the auxiliary scanning feed system72, and the erasing unit20, and a second CPU212for controlling the reading unit18.

The first CPU210controls the control loading unit16to remove the stimulable phosphor sheet S from the cassette14when a signal indicative of the loading of the cassette14is supplied from the second sensor120, and then controls the reciprocating feed system66to feed the removed stimulable phosphor sheet S toward the auxiliary scanning feed system72.

The first CPU210controls the timing of nipping operation of the first and second roller pairs86,88in response to a vertical synchronizing signal Sd (seeFIG. 4) outputted from the second CPU212. The first CPU210also processes image data outputted from the reading unit18, and outputs the processed image data to an external device. After the recorded radiation image information is read from the stimulable phosphor sheet S, the first CPU210feeds the stimulable phosphor sheet S in the reverse direction based on the vertical synchronizing signal Sd from the second CPU212.

At this time, the second CPU212transfers present erasing level data De to the first CPU210. When the stimulable phosphor sheet S reaches the erasing unit20, the first CPU210sends the present erasing level data De to the erasing unit20. The erasing unit20applies an amount of light depending on the present erasing level data De to the stimulable phosphor sheet S for thereby erasing residual radiation image information from the stimulable phosphor sheet S.

After residual radiation image information is erased from the stimulable phosphor sheet S, the first CPU210controls the reciprocating feed system66to insert the stimulable phosphor sheet S back into the cassette14.

Errors caused in the cassette loading unit16, the reciprocating feed system66, the auxiliary scanning feed system72, and the erasing unit20are detected by an error detector214in the first CPU210. Specifically, detected data and calculated data outputted from the various components of the image reading apparatus10are supplied to the error detector214, which compares the supplied data with prescribed values and allowable ranges to detect errors. Error codes corresponding to the errors that have occurred are sent to the image reproducer202of the image reproducing apparatus200and converted by the image reproducer202into error messages, etc., which are displayed on the display unit204.

The second CPU212comprises an erasing level detector230, a shading corrector232, an error detector234, a horizontal synchronizing signal generator236, and a vertical synchronizing signal generator238. These components are software-implemented components which are read from a PROM (Programmable ROM) or a hard disk into a main memory, and executed by the second CPU212.

To the second CPU212, there are connected a peak holding circuit240for holding a peak level signal Sf, per line, from an image signal Sp outputted from the photomultiplier84, a polygon controller242for rotating the polygon mirror102based on a polygon drive signal from the second CPU212and controlling the polygon mirror102based on a rotating state signal from the polygon mirror102, the position detector110, a pixel clock generator244for generating a pixel clock signal Pc in synchronism with the timing to output pixels based on the start-of-scan signal Sa from the position detector110and a horizontal synchronizing signal Se from the horizontal synchronizing signal generator236, and a leading end detector246for outputting a leading end signal Sg based on the detected signal supplied from the third sensor122.

To the second CPU212, there are also connected a timer counter248and a memory250via a memory controller252. The memory250stores information relative to at least shading correction, i.e., information composed of an array of corrective data. The memory controller252controls the memory250to successively output corrective data Di based on a readout instruction from the second CPU212. The corrective data Di outputted from the memory250are converted into an analog corrective signal by a D/A converter (also shown as DAC)254. The corrective data Di is read from the memory250at a high rate according to direct memory access.

The image signal Sp outputted from the photomultiplier84and the corrective signal outputted from the D/A converter254are combined (added) into a corrected signal by a combiner256. The corrected signal outputted from the combiner256is converted by an A/D converter (also shown as ADC)258into digital image data Dp, which is outputted to the image reproducer202.

As shown inFIG. 5, the information relative to shading correction includes as many data files DF1through DF6as the number of the facets of the polygon mirror102. The data files DF1through DF6correspond to the respective facets of the polygon mirror102. Each of these data files has records corresponding to a plurality of pixels, and each record stores corrective data Di for the corresponding pixel.

Each of the facets of the polygon mirror102does not have a flat surface, but a curved surface or a moderately concave/convex surface due to manufacturing irregularities. The curvature of the curved surface or the shape of the moderately concave/convex surface differs from facet to facet.

When a uniform image, such as a gray pattern, is read, if the facets of the polygon mirror102are flat, then the read image represents the same value (luminance data) over the entire range of pixels. For example, as shown inFIG. 6, when one line of image is read, the read image represents the same luminance data over the entire line.

Actually, however, since the facets of the polygon mirror102are irregular, the read image does not represent the same luminance data over the entire range of pixels, but represents luminance data depending on the surface characteristics of the facets of the polygon mirror102. For example, as shown inFIG. 7, when one line of image is read, the read image represents luminance data that change according to the surface characteristics of the facets of the polygon mirror102in the range of pixels.

If the image with the luminance data shown inFIG. 7is reproduced as it is, then an area of the image which is to be displayed as a white area is actually displayed as a grayish area, and an area of the image which is to be displayed as a black area is actually displayed as a whitish area, resulting in a poor overall contrast level.

A shading correcting process is a process for adding, to the luminance data characteristics according to the surface characteristics of the facets of the polygon mirror102, corrective data characteristics that represent a reversal of the luminance data characteristics, thereby to correct the luminance data characteristics to produce luminance data as if read by uniform polygon mirror facets. For example, if luminance data characteristics produced when one line of image is read are irregular as shown inFIG. 7, then corrective data characteristics capable of uniformizing the irregular luminance data characteristics are determined, as shown inFIG. 8, and registered in an array variable area of the memory250.FIG. 5shows, by way of example, corrective data Di arranged for the respective lines in the overall image reading area, divided for the facets of the polygon mirror102, and registered in the form of data files. InFIGS. 6 through 8, the luminance data characteristics and the corrective data characteristics are indicated as envelopes passing through the values of luminance data obtained by reading one line of image.

The shading corrector232gives to the memory controller252the address of a data file based on the information of a line to be read and an index signal from the polygon controller242, i.e., a signal generated by the polygon controller242each time the polygon mirror102makes one revolution. The memory controller252successively reads and outputs corrective data Di from the data file of the supplied address in timed relation to the pixel clock signal Pc from the pixel clock generator244.

If residual radiation image information is erased from the stimulable phosphor sheet S at a maximum erasing level available in the erasing unit20at all times, then the erasing light sources70in the erasing unit20have a short service life and need to be replaced at short intervals. The frequent replacement of the erasing light sources70is tedious and time-consuming, and increases the running cost of the erasing unit20. Actually, since it is only necessary to erase residual radiation image information having the highest luminance level of all the residual radiation image information, the highest luminance level of residual radiation image information is detected and used as an erasing level. Using such an erasing level makes it unnecessary for the erasing light sources70to apply a maximum level of erasing light at all times, so that the erasing light sources70have a relatively long service life and the running cost of the erasing unit20is relatively low.

In the present embodiment, the erasing level detector230detects a maximum peak level from the peak level signal Sf which is supplied from the peak holding circuit240per line of the image being read, and supplies the detected maximum peak level as erasing level data De to the first CPU210.

Errors are detected by receiving detected values or calculated values from the rotating state of the polygon mirror102and the various sensors, and comparing them with prescribed values and allowable ranges. For example, the error detector234uses an error flag having a plurality of bits arranged according to the array of items to be detected for an error. The error detector234sets bits corresponding to those items which are recognized as including an error to “1”, and generates or selects and outputs one or more error codes from the array of “1's” set in the error flag.

The error detector234is supplied with the horizontal synchronizing signal Se from the horizontal synchronizing signal generator236. The error detector234measures the period of the supplied horizontal synchronizing signal Se, and outputs an error code if the measured period deviates from a prescribed range.

The one or more error codes outputted from the error detector234are supplied to the image reproducer202of the image reproducing apparatus200. The image reproducer202converts the supplied one or more error codes into an error message or messages, which are displayed on the display unit204. At this time, error codes may be transferred to the image reproducer202per line of image or error codes of all lines of image may be transferred to the image reproducer202after all the lines of image are read.

The timer counter248stores a suitable numerical value (count) supplied from the second CPU212. From the time when the timer counter248stores the count, it decrements the stored numerical value based on a reference clock signal supplied from a clock generator (not shown). When the count is decremented to “0”, the timer counter248outputs an interrupt signal to the second CPU212.

The vertical synchronizing signal generator238generates the vertical synchronizing signal Sd based on the leading end signal Sg supplied from the leading end detector246. The vertical synchronizing signal Sd is supplied to the horizontal synchronizing signal generator236, the first CPU210, and the image reproducer202.

The horizontal synchronizing signal generator236generates the horizontal synchronizing signal Se which goes low in level, for example, in the effective reading period of one line based on the start-of-scan signal Sa supplied from the position detector110. The horizontal synchronizing signal Se is supplied to the erasing level detector230, the shading corrector232, the error detector234, the pixel clock generator244, and the image reproducer202.

Operation of the second CPU212will be described below with reference toFIG. 9, which shows a main routine of a processing sequence of the second CPU212.

In step S1shown inFIG. 9, the second CPU212stores an initial value “1” in an index register n that is used to update lines, thus initializing the index register n.

In step S2, the second CPU212determines whether there is an index signal supplied from the polygon controller242or not. If there is an index signal supplied from the polygon controller242, then control goes to step S3in which the second CPU212stores an initial value “1” in an index register m that represents a present polygon mirror facet, thus initializing the index register m.

In step S4, the second CPU212determines whether there is a start-of-scan signal Sa supplied from the position detector110or not. If there is a start-of-scan signal Sa supplied from the position detector110, then control goes to step S5in which the second CPU212stores a count corresponding to a first time TSL (seeFIG. 13C) in the timer counter248. From the time when the count is stored, the timer counter248decrements the stored count based on the reference clock signal. When the count is decremented to “0”, the timer counter248outputs an interrupt signal to the second CPU212.

In step S6, the second CPU212determines whether the first time TSL has elapsed or not based on whether the interrupt signal is supplied from the timer counter248or not. If the first time TSL has elapsed, control goes to step S7in which the shading corrector232performs its processing sequence.

The processing sequence of the shading corrector232will be described below with reference to FIG.10. In step S101, the shading corrector232stores a count corresponding to a second time TLL (seeFIG. 13B) in the timer counter248. In step S102, the shading corrector232determines whether the second time TLL has elapsed or not based on whether an interrupt signal is supplied from the timer counter248or not. If the second time TLL has elapsed, then control goes to step S103in which the shading corrector232determines whether the present time is in an effective reading period TLH (seeFIG. 13B) or not based on whether the supplied horizontal synchronizing signal Se goes low in level or not.

If the effective reading period TLH has started, then control goes to step S104in which the shading corrector232specifies a data file corresponding to the present line, i.e., an mth data file, and outputs the address of the mth data file to the memory controller252.

Then, in step S105, the shading corrector232determines whether the effective reading period TLH has elapsed or not based on whether the supplied horizontal synchronizing signal Se goes high in level or not.

During the effective reading period TLH, the memory controller252successively reads and outputs corrective data Di from the data file of the supplied address, among the data files stored in the memory250, in timed relation to the pixel clock signal Pc from the pixel clock generator244.

The outputted corrective data Di are converted into a corrective signal by the D/A converter254, and the corrective signal is combined with, i.e., added to, the image signal Sp of the pixels of the nth line by the combiner256, thus correcting the image signal Sp. The corrected image signal Sp is converted by the A/D converter258into digital image data Dp, which are supplied to the image reproducer202.

In step S106, the shading corrector232stores a count corresponding to a third time TSH (seeFIGS. 13B and 13C) in the timer counter248. In step S107, the shading corrector232determines whether the third time TSH has elapsed or not based on whether there is an interrupt signal supplied from the timer counter248or not. If the third time TSH has elapsed, then the processing sequence of the shading corrector232is put to an end.

Referring back to the main routine shown inFIG. 9, the error detector234performs its processing sequence in step S8. The processing sequence of the error detector234will be described below with reference to FIG.11. In step S201, the error detector234stores an initial value “1” in an index register i that is used to search for errors, thus initializing the index register i.

In step S202, the error detector234reads data or a value of an ith item to be detected for an error. Specifically, the error detector234reads data or a value of the ith item, among the detected data or calculated values from the various sensors.

In step S203, the error detector234determines whether the read data or value represents an error or not by comparing the read data or value with a prescribed value or an allowable range for the ith item and determining whether the read data or value deviates from the prescribed value or the allowable range for the ith item or not. The items to be detected for an error include the period of the horizontal synchronizing signal Se. If the period of the horizontal synchronizing signal Se deviates from a prescribed range, then it is recognized as including an error.

If the read data or value represents an error, then control goes to step S204in which the error detector234sets an ith bit of the error flag to “1”. In step S205, the error detector234increments the value of the index register i by “1”. Then, in step S206, the error detector234determines whether all items to be detected for an error have been processed or not based on whether the value of the index register i is greater than the number B of items to be detected for an error or not.

If not all items to be detected for an error have been processed, then control goes back to step S202in which the error detector234processes a next item to be detected for an error. If all items to be detected for an error have been processed, then control proceeds to step S207in which the error detector234generates or selects and outputs one or more error codes from the array of “1's” set in the error flag. The one or more error codes outputted from the error detector234are supplied to the image reproducer202. The image reproducer202converts the supplied one or more error codes into an error message or messages, which are displayed on the display unit204. In the subroutine shown inFIG. 11, error information is transferred to the image reproducer202per line of image. However, error information of all lines of image may be accumulated, and may be transferred to the image reproducer202after all the lines of image are read.

Referring back to the main routine shown inFIG. 9, the erasing level detector230performs its processing sequence in step S9. The processing sequence of the erasing level detector230will be described below with reference to FIG.12. In step S301shown inFIG. 12, the erasing level detector230receives the peak level signal Sf relative to the present line from the peak holding circuit240.

In step S302, the erasing level detector230converts the peak level signal Sf into digital peak level data as present peak level data. In step S303, the erasing level detector230determines whether the value of the present peak level data is greater than the value of the maximum level data that is currently held or not.

If the value of the present peak level data is greater than the value of the maximum level data, then control goes to step S304in which the erasing level detector230uses the present peak level data as the maximum level data.

After step S304or if the value of the present peak level data is equal to or smaller than the value of the maximum level data in step S303, then the processing sequence of the erasing level detector230is put to an end.

Referring back to the main routine shown inFIG. 9, the second CPU212increments each of the values of the index registers n, m by “1” in step S10. Then, in step S11, the second CPU212determines whether the processing has been finished for all lines or not based on whether the value of the index register n is greater than the maximum number A of lines or not.

If the processing has not been finished for all lines, then control goes to step S12in which the second CPU212determines whether there is an index signal supplied from the polygon controller242or not. If there is an index signal supplied from the polygon controller242, then control goes back to step S3and repeats the processing from step S3.

If there is no index signal supplied from the polygon controller242, then control goes to step S14in which the second CPU212determines the processing has been finished for the sixth polygon mirror facet or not based on whether the value of the index register m is greater than “6” or not.

If the processing has not been finished for the sixth polygon mirror facet, then control goes back to step S4and repeats the processing from step S4. If the processing has been finished for the sixth polygon mirror facet, then the second CPU212performs a process of detecting an error relative to the polygon mirror102in step S15, after which control goes back to step S3and repeats the processing from step S3.

If the processing has been finished for all lines in step S11, then control proceeds to step S13in which the erasing level detector230transfers the maximum level data being held thereby as erasing level data De to the first CPU210.

When the processing in step S13is over, the process of reading radiation image information from one stimulable phosphor sheet S is ended.

In the image processing system1000, as described above, the cassette loading unit16, the reciprocating feed system66, the auxiliary scanning feed system72, and the erasing unit20are controlled by the first CPU210, and the image reading process and the error processes relative to the reading of radiation image information are performed by the second CPU212.

The image processing system1000thus constructed makes it possible to start the shading correcting process at a time t1(earlier than a time t2to start the effecting reading period TLH by the second time TLL) when the first time TSL has elapsed from a time t0, and makes it possible to end the shading correcting process and detect an error and an erasing level at a time t4when the third time TSH has elapsed from a time t3when the effecting reading period TLH is ended.

The CPUs210,212are thus capable of securing a sufficient time for detecting and analyzing errors, and hence having a sufficient time for optimizing error messages or subsequent actions. Therefore, in the event of errors or failures, error messages can be outputted and subsequent actions can be taken depending on errors that have occurred, thus effectively performing sophisticated error processes and reducing the cost of manufacture of the image processing system.

In the above embodiment, the corrective data Di read from the memory250are converted into an analog corrective signal, which is then combined with the image signal Sp thereby to correct the image signal Sp, and then the corrected image signal Sp is converted into digital image data Dp. However, as shown inFIG. 14, an A/D converter (also shown as ADC)270for converting the image signal Sp into digital image data may be connected to the output of the photomultiplier84, and the corrective data Di read from the memory250may be directly added to the image data by a combiner272, thus producing corrected image data Dp, which may be outputted to the image reproducer202. According to the modification shown inFIG. 14, since the D/A converter254shown inFIG. 4is dispensed with, the overall circuit arrangement may be simplified. The function of the combiner272can be implemented by software in the second CPU212.

As indicated by the broken lines inFIG. 4, the second CPU212may be constructed as a CPU including the timer counter248, the memory250, and the memory controller252.