Movatterモバイル変換


[0]ホーム

URL:


CN104053016A - Image previewing method and device - Google Patents

Image previewing method and device
Download PDF

Info

Publication number
CN104053016A
CN104053016ACN201410290356.3ACN201410290356ACN104053016ACN 104053016 ACN104053016 ACN 104053016ACN 201410290356 ACN201410290356 ACN 201410290356ACN 104053016 ACN104053016 ACN 104053016A
Authority
CN
China
Prior art keywords
image
synoptic diagram
summary info
diagram picture
dwindling
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201410290356.3A
Other languages
Chinese (zh)
Other versions
CN104053016B (en
Inventor
覃敏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Netcom Electronics Co Ltd
Original Assignee
Shenzhen Netcom Electronics Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Netcom Electronics Co LtdfiledCriticalShenzhen Netcom Electronics Co Ltd
Priority to CN201410290356.3ApriorityCriticalpatent/CN104053016B/en
Publication of CN104053016ApublicationCriticalpatent/CN104053016A/en
Application grantedgrantedCritical
Publication of CN104053016BpublicationCriticalpatent/CN104053016B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Landscapes

Abstract

The invention belongs to the technical field of image processing, and provides an image previewing method and device. The method comprises the steps of receiving request information of a user for previewing an image, wherein the request information comprises the file name and/or the path information of the image; according to the file name and/or the path information, downloading summery information of the image; generating a summery image of the image according to the summery information, zooming out the generated summery image, and displaying the zoomed-out summery image. Therefore, the problems that speed and efficiency are low when a wireless storage device has access to an image file are solved, and the speed of previewing the image through a wireless network is improved.

Description

A kind of image preview method and device
Technical field
The invention belongs to technical field of image processing, relate in particular to a kind of image preview method and device.
Background technology
When the local memory device access image files of intelligent terminal, operating system can provide the method that generates thumbnail conventionally, and user, in browser document list, just can navigate to own needed image rapidly by thumbnail.
Yet during by access to netwoks image file, due to the restricted cause of network speed, network speed is conventionally at 5MB/s, local IP access speed can reach 50MB/s, visible, and the speed by Network Capture image file is much more slowly than local memory device access image files.For conventional equipment, Single document can first be downloaded, regeneration thumbnail after download completes.And for single reflection of light sheet, its size is at least in 10MB left and right, single anti-CF card is inserted while browsing by intelligent terminal on wireless memory apparatus, Internet Transmission has taken most of the time, it is long to obtain the time that image expends, thereby cause the time of image preview long, user's experience sense is poor.
Summary of the invention
The object of the present invention is to provide a kind of image preview method and device, slow, the inefficient problem of speed when solving by wireless memory apparatus access image file.
The present invention is achieved in that a kind of image preview method, and described method comprises:
Receive the solicited message of user to image preview, described request packets of information is containing filename and/or the routing information of this image;
According to described filename and/or routing information, download the summary info of described image;
Based on described summary info, generate the synoptic diagram picture of described image;
The described synoptic diagram generating is looked like to dwindle, and the synoptic diagram picture after dwindling described in showing.
A second aspect of the present invention, provides a kind of image preview device, and described device comprises:
Receiver module, for receiving the solicited message of user to image preview, described request packets of information is containing filename and/or the routing information of this image;
Download module, for according to described filename and/or routing information, downloads the summary info of described image;
Generation module, for generating the synoptic diagram picture of described image based on described summary info;
Dwindle module, for the described synoptic diagram generating is looked like to dwindle, and the synoptic diagram picture after dwindling described in showing.
Compared with prior art, the present invention, by setting in advance a threshold value, has specified the summary info size that image is corresponding.When carrying out the preview of image by network, only download summary info, and described summary info is decoded, generate the synoptic diagram picture of the described image corresponding with described summary info, described synoptic diagram is looked like to dwindle, and the synoptic diagram picture after dwindling described in showing, thereby improved by the speed of network preview image, while having solved by wireless memory apparatus access image files, slow, the inefficient problem of speed, has promoted user's experience.
Accompanying drawing explanation
Fig. 1 is the realization flow figure of the image preview method that provides of the embodiment of the present invention one;
Fig. 2 is the realization flow figure of the image preview device that provides of the embodiment of the present invention two.
Embodiment
In order to make object of the present invention, technical scheme and advantage clearer, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein, only for explaining the present invention, is not intended to limit the present invention.
The present invention, by setting in advance a threshold value, has specified the summary info size that image is corresponding.When carrying out the preview of image by network, only download summary info, and described summary info is decoded, generate the synoptic diagram picture of the described image corresponding with described summary info, described synoptic diagram is looked like to dwindle, and the synoptic diagram picture after dwindling described in showing, thereby improved by the speed of network preview image, while having solved by wireless memory apparatus access image files, slow, the inefficient problem of speed, has promoted user's experience.
embodiment mono-
Fig. 1 shows the realization flow of the image preview method that the embodiment of the present invention one provides, and for convenience of explanation, only shows part related to the present invention.
Described method is applied to intelligent terminal.Described intelligent terminal includes but not limited to mobile phone, panel computer and computer.Described intelligent terminal is connected with storage medium by wireless memory apparatus.Wherein, described storage medium is the external storage mediums such as USB flash disk, SD card, described wireless memory apparatus is communicated by letter with the wireless connections between storage medium for realizing intelligent terminal, thereby makes can pass through wireless network transmissions data between intelligent terminal and storage medium.Described wireless storage medium also can have built-in storage medium.
As shown in Figure 1, described image preview method comprises:
In step S101, receive the solicited message of user to image preview, described request packets of information is containing filename and/or the routing information of this image.
In the present embodiment, intelligent terminal accesses storage medium by wireless memory apparatus.Intelligent terminal receive user to the solicited message of image preview after, the image reading in storage medium by wireless network carries out preview.Described reception user can be for receiving user by such as clicking or double-click the image preview solicited message of the operation inputs such as icon of image to the solicited message of image preview.Described request information comprises filename and/or the routing information of image, and described routing information is preferably the store path of described image in storage medium.Described image is preferably the picture of following JPEG2000 standard.
In step S102, download the summary info of the image corresponding with described filename and/or routing information.
In the present embodiment, described image is preferably the picture of JPEG2000 standard, and JPEG picture has the progressive transmission characteristic of circulation, and the profile of first transmitting image, then progressively transmits data, improves constantly picture quality, allow image by dim to clear demonstration.Therefore at a JPEG picture, circulate in progressive transmitting procedure, arranging from transmission section start (downloading section start) to the view data predetermined threshold value is the summary info of this image.Described predetermined threshold value is preferably the arbitrary value in 300KB to 500KB scope.Described summary info can be also 1/10th of view data size, as long as comprised the view data that can show image outline.
In step S103, based on described summary info, generate the synoptic diagram picture of described image.
In the present embodiment, according to existing picture decoding method, accessed summary info is decoded, but the present invention has only obtained the summary info of image, accessed summary info is not all data of a complete image, therefore, the present invention only decodes to the summary info of image, i.e. the decoding data to image previous section only.
Preferably, described summary info comprises file header parameter information; Described step S103 is specially:
A. according to the data field initial address in file header parameter information, read the view data in downloaded summary info, read view data is decoded.
In the present embodiment, the essential information that described file header parameter information has comprised a complete image, for example width of image, elevation information, and the type information of image is, the initial address of view data etc.Described file header parameter information appears in image data transmission stream and is downloaded as first data.
Download to after the summary info within the scope of predetermined threshold value, according to the data field initial address in file header parameter information, read downloaded summary info, and read summary info is decoded.
B. until the view data in summary info is all decoded, finish the process of decoding, the image obtaining is the synoptic diagram picture of the described image corresponding with described summary info.
In the present embodiment, owing to only having downloaded the summary info of image, while reading summary info according to the data initial address in file header parameter information, when reading according to the data address after predetermined threshold value scope, will find that file is imperfect, read less than any data, now, jump out the process of decoding, finish the process of decoding, the image obtaining is the synoptic diagram picture of the described image corresponding with described summary info.
By step S103, the summary info within the scope of described predetermined threshold value is decoded, generate corresponding synoptic diagram picture.Although the synoptic diagram picture generating is also clear not as original image, only comprised the profile of original image, user passes through generated synoptic diagram picture and has enough realized the Discern and judge to original image, reaches the effect of preview.
In step S104, the described synoptic diagram generating is looked like to dwindle, and the synoptic diagram picture after dwindling described in showing.
As a preferred exemplifying embodiment of the present invention, different intelligent terminals has different operating system, and different operating system has different thumbnail standards.According to the thumbnail standard of operating system, the described synoptic diagram generating is looked like to dwindle into the thumbnail standard that meets operating system.
Exemplary, for mobile phone, its thumbnail is generally 320 * 240 pixels, and color mode is RGB.Therefore, by step S103, generate after the synoptic diagram picture that summary info is corresponding, described synoptic diagram is looked like to dwindle into the image that 320 * 240 pixels, color mode are RGB.
As another preferred exemplifying embodiment of the present invention, by step S103, generate after the synoptic diagram picture that summary info is corresponding, receive the configuration information of user to described synoptic diagram picture.Described configuration information can be length information, width information and image type, and described image type is any in bianry image, gray level image, thumbnail and True color RGB image.According to described configuration information, the image type of described synoptic diagram picture is adjusted, and the described synoptic diagram through image type adjustment is looked like to dwindle bianry image, gray level image, thumbnail or the True color RGB image of the synoptic diagram picture after dwindling described in demonstration.
Preferably, described method also comprises the steps:
Synoptic diagram after described dwindling is looked like to leave in local data base, and be its assigns access path, access path, filename and the size of the synoptic diagram picture after dwindling described in recording in local data base.
In the present embodiment, the synoptic diagram after described dwindling is looked like to leave in the local data base of intelligent terminal, and be its assigns access path, record synoptic diagram picture after dwindling access path, filename and the size thereof in local data base.Thereby when again receiving user to the solicited message of described image preview, according to the file name of image, file size or access path, the synoptic diagram obtaining from local data base after corresponding dwindling looks like to show, avoided again obtaining described image by network request, further improved the speed of image preview.
In the present embodiment, by the summary info of predetermined threshold value specify image, when carrying out network preview image, only download the summary info of image, and described image outline information is decoded, generate the synoptic diagram picture of the described image that summary info is corresponding, described synoptic diagram is looked like to dwindle, and the synoptic diagram picture after dwindling described in showing, thereby improved by the speed of wireless network preview image, while having solved by wireless memory apparatus access image files, slow, the inefficient problem of speed, has promoted user's experience.
embodiment bis-
Fig. 2 shows the composition structure of the image preview device that the embodiment of the present invention two provides, and for convenience of explanation, only shows part related to the present invention.Described application of installation is in intelligent terminal, and described intelligent terminal includes but not limited to mobile phone, panel computer and computer.
As shown in Figure 2, described device comprises:
Receiver module 21, for receiving the solicited message of user to image preview, described request packets of information is containing filename and/or the routing information of this image.
Download module 22, according to described filename and/or routing information, downloads the summary info of described image.
In the present embodiment, described image is preferably the picture of JPEG2000 standard, and JPEG picture has the progressive transmission characteristic of circulation, and the profile of first transmitting image, then progressively transmits data, improves constantly picture quality, allow image by dim to clear demonstration.Therefore at a JPEG picture, circulate in progressive transmitting procedure, arranging from transmission section start (downloading section start) to the view data predetermined threshold value is the summary info of this image.Described predetermined threshold value is preferably the arbitrary value in 300KB to 500KB scope.Described summary info can be also 1/10th of view data size, as long as comprised the view data that can show image outline.
Generation module 23, for generating the synoptic diagram picture of described image based on described summary info.
Further, described summary info comprises file header parameter information, described generation module specifically for:
Data field initial address according in file header parameter information, reads the view data in downloaded summary info, and read view data is decoded; Obtain the synoptic diagram picture of the described image corresponding with described summary info.
The present embodiment, by the view data within the scope of described predetermined threshold value is decoded, generates the synoptic diagram picture of described image.The synoptic diagram generating looks like to be enough to meet the Discern and judge of user to image.Owing to only need to obtaining the summary info of image, thus the time that while having reduced widely by Network Capture image, Internet Transmission takies improved the speed of image preview
Dwindle module 24, the described synoptic diagram generating is looked like to dwindle, and the synoptic diagram picture after dwindling described in showing.
In the present embodiment, described in dwindle module 24 according to the thumbnail standard of operating system, the described synoptic diagram generating is looked like to dwindle into the thumbnail standard that meets operating system.
Alternatively, described device also comprises image type adjusting module 25.
Described image type adjusting module 25 is for adjusting the image type of the described synoptic diagram picture being obtained by generation module 23.
Described image type is any in bianry image, gray level image, thumbnail and True color RGB image.
Preferably, described device also comprises:
Memory module 26, for the synoptic diagram after described dwindling is looked like to leave in local data base, and is its assigns access path, access path, filename and the size of the synoptic diagram picture after dwindling described in recording in local data base.
In the present embodiment, the synoptic diagram after described dwindling is looked like to leave in the local data base of intelligent terminal, and be its assigns access path, record access path, filename and the size thereof of the synoptic diagram after dwindling.Thereby when again receiving user to the solicited message of described image preview, according to image corresponding dwindle after file name, file size or the access path of synoptic diagram picture, synoptic diagram after dwindling described in obtaining from local data base looks like to show, avoided again by network request, obtaining described image, further improved the speed that image shows.
In the present embodiment, by a threshold value is set, specified the summary info size of image.When carrying out the preview of image by network, only download the summary info of image, described image outline information is decoded, generate the synoptic diagram picture of the described image that summary info is corresponding, described synoptic diagram is looked like to dwindle, and the synoptic diagram picture after dwindling described in showing, thereby improved by the speed of network preview image, while having solved by wireless memory apparatus access image files, slow, the inefficient problem of speed, has promoted user's experience greatly.
Those of ordinary skills it is also understood that, the all or part of step realizing in above-described embodiment method is to come the hardware that instruction is relevant to complete by program, described program can be in being stored in a computer read/write memory medium, described storage medium, comprises ROM/RAM, disk, CD etc.
The foregoing is only the preferred embodiments of the present invention, be not limited to the present invention.For example, modules is just divided according to function logic, but is not limited to above-mentioned division, as long as can realize corresponding function; In addition, the concrete title of each functional module also, just for the ease of mutual differentiation, is not limited to protection scope of the present invention.All any modifications of doing within the spirit and principles in the present invention, be equal to and replace and improvement etc., within all should being included in protection scope of the present invention.

Claims (10)

CN201410290356.3A2014-06-242014-06-24A kind of image preview method and deviceActiveCN104053016B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201410290356.3ACN104053016B (en)2014-06-242014-06-24A kind of image preview method and device

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201410290356.3ACN104053016B (en)2014-06-242014-06-24A kind of image preview method and device

Publications (2)

Publication NumberPublication Date
CN104053016Atrue CN104053016A (en)2014-09-17
CN104053016B CN104053016B (en)2018-09-28

Family

ID=51505324

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201410290356.3AActiveCN104053016B (en)2014-06-242014-06-24A kind of image preview method and device

Country Status (1)

CountryLink
CN (1)CN104053016B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN106326477A (en)*2016-08-312017-01-11北京云图微动科技有限公司Image downloading method and system
CN107105338A (en)*2017-03-172017-08-29深圳市先河系统技术有限公司The method and terminal asked for display image, video and response to network
CN108885781A (en)*2015-04-282018-11-23西门子保健有限责任公司 Method and system for synthesizing virtual high dose or high kV computed tomography images from low dose or low kV computed tomography images

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
JP6418123B2 (en)*2015-10-072018-11-07セイコーエプソン株式会社 Information processing apparatus, tape printing apparatus, and display control method for information processing apparatus

Citations (10)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN1641609A (en)*2004-01-152005-07-20奥林巴斯株式会社Image treatment method and apparatus thereof
CN101146178A (en)*2006-09-142008-03-19奥林巴斯映像株式会社Camera
CN101876992A (en)*2009-11-172010-11-03中国科学院自动化研究所 A method for image data warehouse management
CN101901620A (en)*2010-07-282010-12-01复旦大学 Automatic generation and editing method and application of video content index file
CN102932671A (en)*2012-11-262013-02-13北京奇虎科技有限公司Method and server for supplying picture to computing terminal
CN103458016A (en)*2013-08-212013-12-18小米科技有限责任公司Method and device for picture management and terminal device
CN103514241A (en)*2012-12-072014-01-15Tcl集团股份有限公司Image loading method and system
CN103677942A (en)*2013-12-302014-03-26Tcl集团股份有限公司Method and device for browsing network pictures at mobile terminal
CN103729825A (en)*2013-12-312014-04-16世纪龙信息网络有限责任公司Method for processing picture in dynamic adaption to terminal
CN103870561A (en)*2014-03-062014-06-18网宿科技股份有限公司 Network image processing method and system

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN1641609A (en)*2004-01-152005-07-20奥林巴斯株式会社Image treatment method and apparatus thereof
CN101146178A (en)*2006-09-142008-03-19奥林巴斯映像株式会社Camera
CN101876992A (en)*2009-11-172010-11-03中国科学院自动化研究所 A method for image data warehouse management
CN101901620A (en)*2010-07-282010-12-01复旦大学 Automatic generation and editing method and application of video content index file
CN102932671A (en)*2012-11-262013-02-13北京奇虎科技有限公司Method and server for supplying picture to computing terminal
CN103514241A (en)*2012-12-072014-01-15Tcl集团股份有限公司Image loading method and system
CN103458016A (en)*2013-08-212013-12-18小米科技有限责任公司Method and device for picture management and terminal device
CN103677942A (en)*2013-12-302014-03-26Tcl集团股份有限公司Method and device for browsing network pictures at mobile terminal
CN103729825A (en)*2013-12-312014-04-16世纪龙信息网络有限责任公司Method for processing picture in dynamic adaption to terminal
CN103870561A (en)*2014-03-062014-06-18网宿科技股份有限公司 Network image processing method and system

Cited By (4)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN108885781A (en)*2015-04-282018-11-23西门子保健有限责任公司 Method and system for synthesizing virtual high dose or high kV computed tomography images from low dose or low kV computed tomography images
CN108885781B (en)*2015-04-282022-07-08西门子保健有限责任公司 Method and system for synthesizing virtual high dose or high kV computed tomography images from low dose or low kV computed tomography images
CN106326477A (en)*2016-08-312017-01-11北京云图微动科技有限公司Image downloading method and system
CN107105338A (en)*2017-03-172017-08-29深圳市先河系统技术有限公司The method and terminal asked for display image, video and response to network

Also Published As

Publication numberPublication date
CN104053016B (en)2018-09-28

Similar Documents

PublicationPublication DateTitle
CN108063769B (en)Method and device for realizing content service and content distribution network node
US7870092B2 (en)Method for storing media captured using a portable electronic device
CN103944864A (en)Information transmission method, information sending device, receiving device and system
US20090063694A1 (en)Multimedia Access Device, Multimedia Playing System Comprising the Multimedia Access Device, and Multimedia Data Playing Method
CN103024062A (en)Data sharing method, clients and data sharing system
CN105824836A (en)Screenshot sharing method and device, and information receiving method and device
CN100589517C (en)An image downloading method, system and device in the digital photo frame
CN105100933A (en)Method and device for sharing comment information for live video played by smart television
CN103327410A (en)Method and system for playing video in mobile terminal browser and mobile terminal
CN104053016A (en)Image previewing method and device
CN105611422A (en)Online live broadcast method based on multi-media list and apparatus thereof
CN107613340A (en)A kind of virtual reality device method and system for playing video synchronous with intelligent television
CN104469394A (en)Video resource acquiring method, background server, video client and system
CN105163193A (en)Method and device for comment information sharing of video-on-demand played by smart television
CN103347215B (en)A kind of multi-screen interaction method and Set Top Box
JP5792326B2 (en) Reading service providing method, content providing server and system
US20090103899A1 (en)Dynamic media proxies based on time and usage patterns
CN105357574A (en)Video push method and system for intelligent television, and intelligent television
CN101674325A (en)Generalization-based plug and play information-pushing method, system thereof and family gateway equipment
CN102469155A (en)Application service and sharing methods in home network system
CN104079953B (en)The method and system of operation is shared based on video information
CN102469101A (en)Method and server for application service in home network system
CN201957067U (en)Gateway providing device and video cloud computing system
CN110809031A (en)Method for transmitting file to mobile phone by computer
KR20160087225A (en)System for cloud streaming service, method of image cloud streaming service to provide a multi-view screen, and apparatus for the same

Legal Events

DateCodeTitleDescription
C06Publication
PB01Publication
C10Entry into substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant
GR01Patent grant
CP03Change of name, title or address

Address after:518000 A, B, C, D, E, F1, 8 Building, Financial Services Technology Innovation Base, No. 8 Kefa Road, Nanshan District, Shenzhen City, Guangdong Province

Patentee after:Shenzhen jiangbolong electronic Limited by Share Ltd

Address before:518057 A, B, C, D, E, F1, 8 Building, Financial Services Technology Innovation Base, No. 8 Kefa Road, Nanshan District, Shenzhen City, Guangdong Province

Patentee before:Shenzhen jiangbolong Electronic Co., Ltd.

CP03Change of name, title or address

[8]ページ先頭

©2009-2025 Movatter.jp