A kind of FSM3D fabric high definition scanner and automation control system thereof
Technical field
The present invention relates to a kind of FSM3D fabric high definition scanner and automation control system thereof, belong to 3D technical field.
Background technology
In today of 3D virtual technology high speed development, the application of 3D virtual technology is increasingly extensive.But the extensive application of 3D virtual technology, be unable to do without a large amount of 3D modeling, and in order to make model more true to nature in 3D modeling, then need high-quality 3D Materials Library pinup picture.Texturing needed for current most of 3D modeling software need comprise (diffuse map Color, normal pinup picture Normals, Displacement Displacement, high light pinup picture Specular, transparency pinup picture Alpha).The manufacture method of current 3D texturing is generally by flat bed scanner or digital camera scanning or takes acquisition original image, then adjust color cutting image size by Photoshop and judge that adjustment makes seamless circulating splicing by artificial naked eyes, then generating 3D texturing by PaintShops such as Crazybump through complicated loaded down with trivial details process adjustment.The texturing that this mode obtains, during due to picture scanning in early stage or shooting, light source is the picture obtained under one direction one-dimensional degree, and light-source brightness immobilizes, when scanning reflective larger material (as fluorescent material), because reflective reason easily causes over-exposed, in addition high light pinup picture is also had to be the high spectrum numerical value that reaction scans material, the high backscatter extinction logarithmic ratio recording material under single light source is not accurate enough, transparency pinup picture is also had to be that reaction is by the light transmittance coefficient of scanning material, above-mentioned plain scan is in scanning plane polishing, there is no penetrating light so the light transmission of material can not be recorded, although can be simulated by above-mentioned software and generate corresponding pinup picture, but be not actual response fabric characteristic originally, so the texturing of making, use texture and the effect of shadow that truly can not represent material, and need manual time's cost of at substantial.
Summary of the invention
The technical problem to be solved in the present invention, is that providing a kind of multi-angle polishing can scan, has advanced pinup picture composition algorithm, the scan control of programming automation and the FSM3D fabric high definition scanner of pinup picture generation automatically and automation control system thereof.
The present invention is realized by following proposal: a kind of FSM3D fabric high definition scanner, it is by chassis cover, slr camera, cabinet skeleton, cabinet side board, place the scanning plug-type drawer of fabric and plug-in type scanner main control system composition, described cabinet skeleton comprises a cabinet skeleton, No. two cabinet skeletons and No. three cabinet skeletons, described cabinet side board comprises the U-shaped side plate in cabinet both sides and bottom, cabinet front side board and cabinet back side panel, the U-shaped side plate in described cabinet both sides and bottom, described cabinet front side board and described cabinet back side panel are assembled into integral type cabinet substructure, the plug-type drawer of described placement scanning fabric is provided with in the lower end of described cabinet front side board, described plug-in type scanner main control system inserts cabinet inside through described cabinet back side panel, a described cabinet skeleton, described No. two cabinet skeletons and described No. three cabinet skeletons are successively set on the fixture block of described cabinet side board inwall from top to bottom, a described cabinet skeleton upper end is provided with decorative panel, described decorative panel upper end is provided with camera support dividing plate, described slr camera is arranged between described camera support dividing plate and described chassis cover, a described cabinet skeleton, described No. two cabinet skeletons and described No. three cabinet skeletons are the square structure of four skeleton compositions, described No. two cabinet skeleton lower ends are provided with four groups of parallel connections radiation source down, the upper end of described No. three cabinet skeletons is provided with four groups of parallel connections radiation source upward, the four direction of described No. three cabinet skeleton lower ends is respectively equipped with and singly organizes light source, respectively: single group E direction light source, single group S direction light source, single group W direction light source, single group N direction light source, the plug-type drawer of described placement scanning fabric is provided with bottom cold light film light source.
The light emission direction of described single group E direction light source, described single group S direction light source, described single group W direction light source, described single group N direction light source is respectively towards all directions four direction.
Described single group E direction light source, described single group S direction light source, described single group W direction light source, described single group N direction light source are towards the center of scanner.
Described slr camera is other is provided with L-type camera support, and described camera support is higher than described slr camera, and described camera support connects described camera support dividing plate and described chassis cover.
A kind of automation control system of FSM3D fabric high definition scanner, in this system, PC computer is connected to USB interface chip by USB data line, described USB interface chip is divided into two-way, described slr camera is received on one tunnel, USB of separately leading up to turns serial port chip and is connected to described plug-in type scanner main control system, described plug-in type scanner main control system opens single group E direction light source successively by light source switch, described single group S direction light source, described single group W direction light source, described single group N direction light source, described four groups of parallel connections radiation source down, described four groups of parallel connections radiation source upward, described bottom cold light film light source amounts to the LED lamplight of 7 groups of different directions, and take pictures successively.The picture of seven different directions polishings is obtained after completing, name is respectively: picture E, picture S, picture W, picture N, picture SP, picture NSP, picture A, then the program picture E that utilizes four direction polishing to generate, picture S, contrary two figure in light direction in picture W and picture N oppositely superpose, then high-pass filtering, retain difference synthesis normal pinup picture, picture E, picture S, two figure that picture W is contrary with picture N light direction oppositely superpose, only retain blue channel, then high-pass filtering, last Gaussian Blur process generates Displacement, subtract each other rear preservation difference by the brightness value of picture SP and picture NSP two pictures and generate high light pinup picture, the picture A that penetrability strong cold light film in bottom obtains to the polishing of scanning material is from top to bottom through the process of scanning imaging system inverse, only retain green channel value and generate transparency pinup picture, picture NSP is directly as diffuse map, and then the texturing obtained needed for 3D modeling.
Beneficial effect of the present invention is:
1, a kind of FSM3D fabric high definition scanner of the present invention and automation control system thereof, the former figure of collection scanning obtains, graphic program automatic business processing, once generate output 3D texturing composition file and comprise (diffuse map color, normal pinup picture normals, Displacement Displacement, high light pinup picture Specular, transparency pinup picture Alpha) simplify texturing make flow process, raise the efficiency;
2, a kind of FSM3D fabric high definition scanner of the present invention and automation control system thereof adopt multistage linear tunable light source, make exposure more accurate, the scanning of applicable more polymorphic type material;
3, a kind of FSM3D fabric of the present invention high definition scanner and the different angles direction respectively polishing of automation control system owing to adopting thereof, the superficial makings of scanning material is under the effect of different directions light, direction and the degree of depth of shadow can be recorded by software, the normal pinup picture of such composite calulation and Displacement more accurate.In addition high smooth pinup picture be also have benefited from height install two groups of LED exist difference in brightness calculate more accurate.
Accompanying drawing explanation
Fig. 1 is a kind of structural representation of FSM3D fabric high definition scanner.
Fig. 2 is a kind of flowage structure schematic diagram of automation control system of FSM3D fabric high definition scanner.
In figure: 1 is chassis cover, 2 is slr camera, 3 for placing the plug-type drawer of scanning fabric, 4 is plug-in type scanner main control system, 5 is a cabinet skeleton, 6 is No. two cabinet skeletons, 7 is No. three cabinet skeletons, 8 is the U-shaped side plate in cabinet both sides and bottom, 9 is cabinet front side board, 10 is cabinet back side panel, 11 is decorative panel, 12 is camera support dividing plate, 13 is four groups of parallel connections radiation sources down, 14 is four groups of parallel connections radiation sources upward, 15 is single group E direction light source, 16 is single group S direction light source, 17 is single group W direction light source, 18 is single group N direction light source, 19 is bottom cold light film light source, 20 is camera support, 21 is PC computer, 22 is USB interface chip, 23 turn serial port chip for USB, 24 micro-control units, 25 is light source switch, 26 is picture E, 27 is picture S, 28 is picture W, 29 is picture N, 30 is picture SP, 31 is picture NSP, 32 is picture A, 33 is normal pinup picture, 34 is Displacement, 35 is high light pinup picture, 36 is transparency pinup picture, 37 is diffuse map.
Embodiment
Below in conjunction with Fig. 1-2, the present invention is further described, but scope does not limit to described content.
A kind of FSM3D fabric high definition scanner, it is by chassis cover 1, slr camera 2, cabinet skeleton, cabinet side board, the placement scanning plug-type drawer 3 of fabric and plug-in type scanner main control system 4 form, cabinet skeleton comprises a cabinet skeleton 5, No. two cabinet skeletons 6 and No. three cabinet skeletons 7, cabinet side board comprises the U-shaped side plate 8 in cabinet both sides and bottom, cabinet front side board 9 and cabinet back side panel 10, the U-shaped side plate 8 in cabinet both sides and bottom, cabinet front side board 9 and cabinet back side panel 10 are assembled into integral type cabinet substructure, placing the plug-type drawer 3 of scanning fabric is provided with in the lower end of cabinet front side board 9, plug-in type scanner main control system 4 inserts cabinet inside through cabinet back side panel 10, a cabinet skeleton 5, No. two cabinet skeletons 6 and No. three cabinet skeletons 7 are successively set on the fixture block of cabinet side board inwall from top to bottom, cabinet skeleton 5 upper end is provided with decorative panel 11, decorative panel 11 upper end is provided with camera support dividing plate 12, slr camera 2 is arranged between camera support dividing plate 12 and chassis cover 1, slr camera 2 is other is provided with L shape camera support 20, camera support 20 is higher than slr camera 2, and camera 20 support connects camera support dividing plate 12 and chassis cover 1.
A cabinet skeleton 5, No. two cabinet skeletons 6 and No. three cabinet skeletons 7 are the square structure of four skeletons compositions, No. two cabinet skeleton 6 lower ends are provided with four groups of parallel connections radiation source 13 down, the upper end of No. three cabinet skeletons 7 is provided with four groups of parallel connections radiation source 14 upward, the four direction of No. three cabinet skeleton 7 lower ends is respectively equipped with and singly organizes light source, respectively: single group E direction light source 15, single group S direction light source 16, single group W direction light source 17, single group N direction light source 18, place the plug-type drawer 3 of scanning fabric and be provided with bottom cold light film light source 19, single group E direction light source 15, single group S direction light source 16, single group W direction light source 17, the light emission direction of single group N direction light source 18 is respectively towards all directions four direction, single group E direction light source 15, single group S direction light source 16, single group W direction light source 17, single group N direction light source 18 is towards the center of scanner.
A kind of automation control system of FSM3D fabric high definition scanner, in this system, PC computer 21 is connected to the USB interface chip 22 of plug-in type scanner main control system 4 by USB data line, USB interface chip 22 is divided into two-way, slr camera 2 is received on one tunnel, USB of separately leading up to turns the micro-control unit 24 that serial port chip 23 is connected to plug-in type scanner main control system 4, and micro-control unit 24 is connected to light source switch 25 by constant-current source circuit.
In the plug-type drawer 3 of placement scanning fabric that the material that first will scan during scanning is put into, the preview button of some PC computer 1 scanning imaging system, scanning imaging system sends control command to the micro-control unit 24 of plug-in type scanner main control system 4, micro-control unit 24 controls the power supply that light source switch 25 opens four groups of light sources 13 down in parallel, and setting program presets light value, then open slr camera 2 and the photo of acquisition is transferred back to PC computer 21 by USB data line 22.When after user's spot scan key button, scanning imaging system automatically by the LED lamplight that light source switch 25 opens single group E direction light source 15 in order successively, single group S direction light source 16, single group W direction light source 17, single group N direction light source 18, four groups of radiation source 13, four groups down in parallel radiation sources 14 upward in parallel, bottom cold light film light source 19 amount to 7 groups of different directions, and is taken pictures successively.The picture of seven different directions polishings is obtained after completing, name is respectively: picture E26, picture S27, picture W28, picture N29, picture SP30, picture NSP31, picture A32, then the program picture E26 that utilizes four direction polishing to generate, picture S27, contrary two figure in light direction in picture W28 and picture N29 oppositely superpose, then high-pass filtering, retain difference synthesis normal pinup picture 33, picture E26, picture S27, two figure that picture W28 is contrary with picture N29 light direction oppositely superpose, only retain blue channel, then high-pass filtering, last Gaussian Blur process generates Displacement 34, subtract each other rear preservation difference by the brightness value of picture SP30 and picture NSP31 two pictures and generate high light pinup picture 35, the picture A32 that penetrability strong cold light film in bottom obtains to the polishing of scanning material is from top to bottom through the process of scanning imaging system inverse, only retain green channel value and generate transparency pinup picture 36, picture NSP31 is directly as diffuse map 37, and then the texturing obtained needed for 3D modeling.
Although done comparatively detailed elaboration to technical scheme of the present invention and enumerated; be to be understood that; to those skilled in the art; amendment is made to above-described embodiment or adopts equivalent replacement scheme; this is apparent to those skilled in the art; these modifications or improvements without departing from theon the basis of the spirit of the present invention, all belong to the scope of protection of present invention.