reference will now be made in detail to the preferred embodiments of the present invention , examples of which are illustrated in the accompanying drawings . in one aspect of the invention , a module for processing and visualization of digital signals and an x - ray scanner module are implemented on a mobile platform that is movable on wheels . the digital x - ray module includes a source of fan - shaped x - ray radiation beam with a detector of x - ray radiation that passes through a mattress being examined . the mobile x - ray mattress scanner is equipped with an intake and an output tray having rollers for supporting the mattress as it is pulled in and out of the special mattress - shaped opening by a drum motor . the drum motor is integrated into the x - ray mattress scanner at the intake opening so it can press and pull the matters inside the scanner automatically . the intake and output trays can be folded for moving the scanner along narrow corridors , doors or on the stairs . the scanner platform is equipped with special stair stepping wheels that allow for “ rolling ” the scanner over the staircases without having to lift it . the proposed scanner system is designed as a movable compact system with fold - out roller trays and a feeding - receiving mechanism including the drum motor . the purpose of the system is non - intrusive inspection of : the mattress , combined mattress with a pillow , inmate &# 39 ; s belongings packed into a special flat crate . the inspection is performed by a narrow x - ray fan beam to form an image of the suspected object to visually identify threats such as metal objects , knives , shanks , razors , drugs , pills , sim cards , money and other concealed objects within the mattress , the pillow or inside the inmate &# 39 ; s belongings packed in the crate . the system also provides a capability of color marking of different suspicious materials on the screen , such as metal , plastic and organics by using their atomic number and density . the system also provides for automatic identification of foreign objects . according to the exemplary embodiment , the x - ray image of the inspected object is obtained without any blind areas across the entire inspection tunnel . the acquired x - ray image is subjected to mathematical processing using substance discrimination by atomic numbers . the x - ray image is colored based on efficient atomic number calculation . the system can read a bar - code or qr code on the object being scanned and assign the x - ray image to reference data . the x - ray images are stored and archived for future reference . according to one exemplary embodiment , a computer ( i . e ., an operator station ) with a touch screen display is integrated into the mobile scanner system . the system can also have : an external mobile battery pack with a retractable cable and 110 / 220v voltage converter . external battery should serve as a dedicated source of main power to power - up and operate the system for at least two hours when connection to central mains grid is not possible ; a tablet pc ( comes with wireless option and fixing gear ). this option allows to operate the system remotely and wirelessly using an industrial - grade protected tablet pc ; barcode scanner , qr code scanner . the purpose of this device is to read inmate &# 39 ; s or item assigned bar or qr codes in order to perform identification and tracking of person or item with further registration in the database and association with respective image . the bar code reader or qr code reader can be accompanied with digital camera in order to capture inmates &# 39 ; photos and assign them to the scanned image of the mattress or belongings ; nas external archiving system which is a network server - like device designed to be used as remote network storage in order to store , archive or retrieve important information . this device can be accessed and used for storing and reviewing of scan data from other systems in the facility or by a remote operator ;— a retraction mechanism for a power cord ; an id reader ( e . g ., using an rfid or proximity cards ). this device can be used to identify the operator and set appropriate access level by reading a personal id card . also , an rfid chip can serve as presence sensor ; a finger print reader . reading fingerprints might be used to identify the operator and set appropriate access level , or to identify inmates and get access to individual files for further processing ; a proximity card reader . this device can also be used to identify the operator and set appropriate access level by reading a personal id card ; an accreditation test object kit — a special piece of equipment designed to check and verify alignment of the system , resolution , penetration and detection capability each time the routine requires verification of the accuracy of the system ; and a threat imitation test - object kit — a set of items imitating threats or prohibited items , such as different sorts of drugs , electronics or weapons . it is used to demonstrate detecting capability of the system in simulated “ real life ” conditions . fig1 and 2 illustrate different views of the mattress scanner assembly . the mechanism for pulling mattress through the scanner includes two drum motors located on each side of the scanner tunnel . the drum motors have a system of sensors for turning on and off the motors . as can be seen from fig3 and 4 the entrance and the exit of the scanner tunnel are equipped with the protective screens for protecting an officer from the scattered radiation . in one embodiment , the protective screens are made out of lead vinyl or lead rubber . the protective screens can also be seen in fig5 and 6 . fig7 illustrates the scanner with both trays unfolded on each side of the scanner . the exemplary embodiment includes special stair stepping wheel that can be seen in fig6 and fig8 . these wheels consist of sets of three wheels , arranged in a “ star ” pattern , that rotate about their own axels independently . note that the exemplary scanner is very lightweight and can be moved around the building or between the prison cells easily . the exemplary scanner can be used with an autonomous external power source that can be rolled in with the scanner as shown in fig8 . the internal power source can provide for continuous operation of the scanner up to two hours . fig9 illustrates a drum motor assembly with a radiation shield . fig1 illustrates a top view of the drum motor having a drum 1010 and the radiation shield . fig1 illustrates a side view of the drum motor assembly with a radiation shield . the drum motor assembly includes a switch 1101 . a radiation protective shield 1102 is located over the rotational drum . the drum and the protective shield can move about axis 1104 to accommodate the shape of the object being scanned . the intermediate positions of the rotor are fixed by a fixating hinge 1103 . the drum assembly is attached to the body of the scanner by a bracket 1105 . each drum motor has a sensor that tells the system what is inserted ( mattress or box with belongings ) and the system then selects an appropriate algorithm or at certain position prevents system to be started and x - ray emission to be generated . according to the exemplary embodiment , the scanner can be controlled by a touch screen display although a hardware keyboard can also be used . the integrated bar code scanner is also controlled by the touch screen . the scanner has sensors for automated detection of a type of object to be scanned — i . e ., a mattress , pillow or a container with inmate &# 39 ; s belongings . the scanner can be used to scan an id tag which attached to inmate clothes or wristband or markings of belongings or mattresses . the system obtains the information on what to be scanned ( mattress or crate ) by monitoring the compression unit sensor position . there are three possible scenarios ( see process diagram ): mattress , crate , opened portal ( this mode is for service and blocks any kind of operation ). therefore , when the sensor tells the system about the type of object , the software provides a hint in form of picture and visual diagram on how to properly place the object and how to proceed . thus , each step of system operation can be accompanied by appropriate hint . the system defines the direction of scanning by reading on which side the sensor is activated . the scanner automatically detects an area where concealed objects are located and displays them to the operator in a special way — e . g ., having colored rectangular overlays or frames . the system enables coloring of suspicious areas and objects in it and introducing of rectangular marking to respective area . the operator can perform tagging of each area with special marks for further processing . the mobile x - ray mattress scanner includes a special image processing software , which automatically detects suspected objects ( image anomalies ) based on the fact that mattress has a very consistent material and any images displaying anything but the material of the mattress are analyzed for presence of forbidden objects or drugs , etc . any abnormalities detected while processing raw data obtained from digital scanning subsystem of the unit will be displayed within the visual representation of the pre - processed image . the algorithm of material discrimination provides coloring of organic , non - organic , metal and plastic objects which , and further visual analysis of the image can be used to define the objects as a threat . the image processing software uses a unique algorithm for anomalies detection on a quasi - homogeneous low - contrast background . fig1 a and 12b illustrate a work flow of a scanner , in accordance with the exemplary embodiment . in fig1 a , the deployment of the scanner begins . the system listens to emergency button activation . the scanner queries the sensor of the solid state detection unit . if the self - diagnostics is successful , the scanner analyses the previous warm up cycle of the x - ray source . otherwise , the startup ends and the error message is logged . if the scanner warm up is required , the warm up cycle is set up and the worm up cycle is executed . if the warm up is successful , the process goes to login procedure . otherwise , the process ends and the error message is logged . the system readiness message is displayed to an operator on the screen . after the readiness message is confirmed , the main interface window is displayed . the object selection and direction for scanning is made . if the object is a mattress , the scanner prompts for mattress position . then , the scanner checks the position of the compression mechanism by querying right and left compression sensors . if the position corresponds to a “ mattress ” mode and the sensors are active , the scanner checks if the compression mechanism is properly engaged . otherwise an error message is logged . then , the scanning direction is set and the “ ready to scan ” message is displayed . the scanner makes an inquiry for barcode reading and the process moves to fig1 b ( branch 1 ). if the position mechanism is properly disengaged , the “ ready to scan ” message appears on the user screen . the inquiry for the barcode reading is made and the process moves to fig1 b ( 2 ). in fig1 b ( branch 1 ), if the barcode data is requested , the scanner queries the barcode reader . if the reader is ready , the barcode reading and recognition are performed . otherwise , the error message is displayed , with a “ retry ”, “ skip ” or “ cancel ” prompt . the inquiry for inmate personal data is made . if the previous data is found , the request for amendment of data is made and if the amendment is required , the inmate personal data is entered . the inmate &# 39 ; s data and selected scan mode are displayed and the prompt to scan is shown . the scanning is started and the scanning process screen is displayed . the x - ray emission is started and the signal beacon is enabled . the system pauses for 1 second and the drum motor actuation starts . the calibration is performed and a pseudo real - time image is displayed . the system waits for activation of the second compression sensor and , continuing listening to the sensor status until it provides an “ off ” status . . . then , the scanner waits for the second compressor deactivation status to be set . once the deactivation status is received , the x - ray off beacon is disabled . the scanner checks for x - ray errors . an error message is displayed if errors found . error reading data is logged . the processing screen is set to acquired image processing mode . the acquired unprocessed image is displayed , and basic automatic processing is applied . if the re - scan is required the scanner process returns to object selection step . otherwise , the image processing is executed with supplemental data input . the resulting image is assigned to the inmate personal file and saved into the archive . then the process returns to the object selection step . in fig1 b ( branch 2 ), the barcode reading section is completed and scanning direction is set up . then , the scanner starts scanning the object and the scanning process is displayed on the screen . the x - ray emission starts and the beacon is enabled . the scanner pauses for 1 second for calibration . the pseudo real - time image is displayed . the process waits for empty lines in the x - ray image . if the empty lines are acquired , the x - ray off beacon is disabled . the scanner checks for x - ray error status . if there are any errors — the message is displayed . a query is logged . if the error is found , the process ends and the error is logged and the display returns to the main screen . fig1 illustrates a flow chart of a method for detection of anomalies in the scanned image , in accordance with the exemplary embodiment . in step 1310 , the scanner performs preliminary image processing . the image is normalized and standardized at this point . in step 1320 , the scanner defines location of inspected object and confirms the object type ( e . g ., mattress , pillow , a crate with belongings , etc .) using effective atomic number . in step 1340 , the scanner process detects anomalies using an algorithm for correlation analysis of profiles of tested and referenced ( i . e ., sample ) energy signals . in step 1350 , the scanner process performs cluster analysis of anomaly area and forms a border of the anomaly area . then , in step 1360 , the process determines the anomaly parameters , such as a suspected type of substance , an effective atomic number , an effective “ mass ,” density , etc . the scanner process outputs data onto a user interface in step 1370 . fig1 , 15 and 14 illustrate additional features of another embodiment of the scanner . fig1 shows a side view of the scanner , fig1 shows another side view , and fig1 shows a top plan view . as may be seen in these figures , the folding intake and output trays may be articulated at a point roughly ⅔ of the way out ( see arrow c in fig1 ). an additional support extending to the floor may also be provided ( see arrow d in fig1 ). additional radiation screens ( see arrow a in fig1 ) may be located near the tunnel openings . arrow b in fig1 shows the tray in a folded position . arrows e and f in fig1 refer to locking levers that permit rotation of the drum assembly . having thus described a preferred embodiment , it should be apparent to those skilled in the art that certain advantages of the described method and apparatus have been achieved . it should also be appreciated that various modifications , adaptations , and alternative embodiments thereof may be made within the scope and spirit of the present invention . the invention is further defined by the following claims .
a portable x - ray system includes an x - ray scanner coupled to a module for processing and visualization of digital signals ; and foldable intake and output trays configured to pass an object in and out of the scanner module . the foldable intake and output trays are articulated approximately in their middle . a first drum extends substantially across an entire opening of the scanner tunnel and configured to press down on the object and pull the object inside a scanner tunnel . a second drum extends substantially across an entire opening of the scanner tunnel and configured to press down on the object and pull the object from the scanner tunnel . a radiation shield covers an opening of the scanner tunnel . sensors detects a type of object to be scanned and to control the first drum according to the type of object to be pulled inside the scanner tunnel .