Movatterモバイル変換


[0]ホーム

URL:


CN105959558A - Method and device for taking and displaying picture - Google Patents

Method and device for taking and displaying picture
Download PDF

Info

Publication number
CN105959558A
CN105959558ACN201610405194.2ACN201610405194ACN105959558ACN 105959558 ACN105959558 ACN 105959558ACN 201610405194 ACN201610405194 ACN 201610405194ACN 105959558 ACN105959558 ACN 105959558A
Authority
CN
China
Prior art keywords
internal memory
photo
view
compression
camera internal
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.)
Pending
Application number
CN201610405194.2A
Other languages
Chinese (zh)
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.)
TVM Beijing Education Technology Co Ltd
Original Assignee
TVM Beijing Education Technology 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 TVM Beijing Education Technology Co LtdfiledCriticalTVM Beijing Education Technology Co Ltd
Priority to CN201610405194.2ApriorityCriticalpatent/CN105959558A/en
Publication of CN105959558ApublicationCriticalpatent/CN105959558A/en
Pendinglegal-statusCriticalCurrent

Links

Classifications

Landscapes

Abstract

The invention discloses a method and a device for taking and displaying a picture used for solving a problem that the camera storage space in the prior art is limited to be unable to store a large space picture. The method comprises the following steps of receiving a command to take the picture and judging the residual space size of a camera memory; if the residual space size of the camera memory is small, storing the view finding picture in the camera memory after compression processing; and displaying the view finding picture through reading the camera memory and deleting the view finding picture from the camera memory. The method overcomes the defects that the space occupied by taking the picture is larger and the space of the camera memory is smaller, the view finding picture is compressed and stored and is displayed and uploaded through reading the camera memory, so that the occupation of the view finding picture about the space of the camera memory is reduced, and the storage space of the camera memory is optimized.

Description

The method and device that a kind of photograph taking shows
Technical field
The present invention relates to Internet technical field, the method and device shown particularly to a kind of photograph taking.
Background technology
A lot of mobile terminals all possess camera function, such as mobile phone, panel computer etc..Along with the development of science and technology,The pixel of taking pictures of photographic head is also improving constantly, such as 10,000,000 pixels, 20,000,000 pixels, the highest pictureThe photographic head of element, is seen everywhere.The raising of pixel of taking pictures can cause the photo files of shooting relatively greatly, therefore canTake bigger memory space.In education activities, student is during in shooting, photo is shown to teacher,The space shared by photo of display is bigger.
Summary of the invention
The present invention provides the method and device that a kind of photograph taking shows, in order to solve the storage of prior art cameraThe problem that limited space cannot store large space photo.
The present invention provides a kind of method that photograph taking shows, including:
Receive the instruction that photo is found a view, it is judged that camera internal memory remaining space size;
If described camera internal memory remaining space is little, it is stored in described after described picture compression of finding a view is processedIn camera internal memory;
Read described camera internal memory show described in find a view photo, and by described photo of finding a view from described cameraInternal memory is deleted.
Some beneficial effects of the embodiment of the present invention may include that
The shortcoming that photo of finding a view is taken up space relatively greatly and camera memory headroom is less is shot in order to overcome, will shootingPhoto of finding a view be compressed preserve, by read camera internal memory show and upload photo of finding a view, decreaseCamera memory headroom is taken by photo of finding a view, and optimizes the memory storage space of camera.
In one embodiment, method also includes:
If described camera internal memory remaining space is big, directly at photo of finding a view described in described camera memory storage.
The described step to being stored in described camera internal memory after picture compression process of finding a view includes:
According to the size of described camera internal memory remaining space, use different compression algorithms that photo of finding a view is carried outCompression processes.
Described compression algorithm includes: jpeg algorithm, PNG algorithm and GIF algorithm.
Needing what compression processed to find a view in photo, if described camera internal memory remaining space is big, using PNGAlgorithm and GIF algorithm are compressed, if described camera internal memory remaining space is little, use jpeg algorithm to enterRow compression.
The technical scheme that the embodiment of the present invention provides, according to the size of described camera internal memory remaining space, usesPhoto is compressed processing by different compression algorithms, optimizes the compression process of photo further, decreasesMemory space shared by photo.
The device that a kind of photograph taking shows, for camera, including:
Receive judge module, for receiving the instruction that photo is found a view, it is judged that camera internal memory remaining space is bigLittle;
Compression memory module, if little, to described photo pressure of finding a view for described camera internal memory remaining spaceContracting is stored in described camera internal memory after processing;
Display removing module, for read described camera internal memory show described in find a view photo, and by describedPhoto of finding a view is deleted from described camera internal memory.
In order to overcome the shortcoming that shooting photo is taken up space relatively greatly and camera memory headroom is less, by shootingPhoto is compressed preserving, and shows and upload pictures by reading camera internal memory, decreases photo to phaseTaking of machine memory headroom, optimizes the memory storage space of camera.
Described compression memory module, if it is big to be additionally operable to described camera internal memory remaining space, directly describedFind a view described in camera memory storage photo.
Described compression memory module includes:
Compression submodule, for the size according to described camera internal memory remaining space, uses different compressionsPhoto of finding a view is compressed processing by algorithm.
Described compression algorithm includes: jpeg algorithm, PNG algorithm and GIF algorithm.
Described compression submodule, specifically for needing what compression processed to find a view in photo, if described cameraInternal memory remaining space is big, uses PNG algorithm and GIF algorithm to be compressed, if described camera internal memory remainsComplementary space is little, uses jpeg algorithm to be compressed.
The technical scheme that the embodiment of the present invention provides, according to the size of described camera internal memory remaining space, usesPhoto is compressed processing by different compression algorithms, optimizes the compression process of photo further, decreasesMemory space shared by photo.
Other features and advantages of the present invention will illustrate in the following description, and, partly from explanationBook becomes apparent, or understands by implementing the present invention.The purpose of the present invention and other advantages canRealize by structure specifically noted in the description write, claims and accompanying drawing and obtain?.
Below by drawings and Examples, technical scheme is described in further detail.
Accompanying drawing explanation
Accompanying drawing is for providing a further understanding of the present invention, and constitutes a part for description, with thisBright embodiment is used for explaining the present invention together, is not intended that limitation of the present invention.In the accompanying drawings:
Fig. 1 is the flow chart of a kind of method that photograph taking shows in the embodiment of the present invention;
Fig. 2 is the flow chart of the method that another kind of photograph taking shows in the embodiment of the present invention;
Fig. 3 is the block diagram of the device that a kind of photograph taking shows in the embodiment of the present invention;
Fig. 4 is the block diagram of the device that another kind of photograph taking shows in the embodiment of the present invention.
Detailed description of the invention
Below in conjunction with accompanying drawing, the preferred embodiments of the present invention are illustrated, it will be appreciated that described hereinPreferred embodiment is merely to illustrate and explains the present invention, is not intended to limit the present invention.
Fig. 1 is the flow chart of a kind of method that photograph taking shows in the embodiment of the present invention.As it is shown in figure 1,Comprise the following steps S101-S103:
Step S101, camera receives the instruction that photo is found a view, it is judged that camera internal memory remaining space size.
In the education activities of step S101, student side finds a view photo to teacher.In student side, photograph of finding a viewNeed to show in this locality photo after sheet.In this process, camera operator opens the camera lens of camera, camera lensStart to find a view, it can be seen that the picture of camera view from the display of camera.Phase machine check internal memory residue skyBetween, if remaining space is big, camera the most directly stores the photo found a view.
In step S101, owing to camera does not has actual photographed, so the photo found a view is stored in internal memory.
Step S102, if described camera internal memory remaining space is little, described picture compression of finding a view is processed by cameraAfter be stored in described camera internal memory.
In step s 102, if camera remaining space is little, then photo of finding a view is compressed, especially adoptsCompress by quality.
Step S103, camera is by reading described camera internal memory and show and find a view described in uploading photo, and by instituteState photo of finding a view to delete from described camera internal memory.
In step s 103, because the picture found a view is stored in the buffer that display screen is corresponding,Conversion is found a view the refreshing of simply camera display screen, so need not camera rdma read again, therefore can delete cameraThe picture found a view in internal memory.
The technical scheme that the embodiment of the present invention provides, in order to overcome shooting photo to be taken up space relatively greatly when finding a viewThe shortcoming that camera memory headroom is less, photo of finding a view is compressed preserving, and shows by reading camera internal memoryShowing and upload photo of finding a view, decreasing photo and take camera memory headroom, the internal memory optimizing camera is depositedStorage space.
Fig. 2 is the flow chart of the method that another kind of photograph taking shows in the embodiment of the present invention.As in figure 2 it is shown,The method in the client, comprises the following steps S201-S206:
Step S201, camera receives the instruction that photo is found a view, it is judged that camera internal memory remaining space size.
In the education activities of step S201, student side shooting finds a view photo to teacher.In student side, takeNeed to show in this locality photo after scape photo.In this process, camera operator opens the camera lens of camera,Camera lens starts to find a view, it can be seen that the picture of camera view from the display of camera.Phase machine check internal memory remainsComplementary space, if remaining space is big, camera the most directly stores the photo that photo is found a view.
In step s 201, owing to camera does not has actual photographed, so the photo found a view is stored in internal memory.Step S202, if described camera internal memory remaining space is little, according to the size of described camera internal memory remaining space,Different compression algorithms is used to be compressed photo of finding a view processing.
Step S203, is needing what compression processed to find a view in photo, if described camera internal memory remaining space is relativelyGreatly, use PNG algorithm and GIF algorithm that photo of finding a view is compressed.Step S204, compresses at needsProcess finds a view in photo, if described camera internal memory remaining space is little, uses jpeg algorithm to photograph of finding a viewSheet is compressed.
Step S205, if described camera internal memory remaining space is big, directly described in described camera memory storageFind a view photo.
Step S206, camera is by reading described camera internal memory and show and find a view described in uploading photo, and by instituteState photo of finding a view to delete from described camera internal memory.
In step S206, because the picture found a view is stored in the buffer that display screen is corresponding,Conversion is found a view the refreshing of simply camera display screen, so need not camera rdma read again, therefore can delete cameraThe picture found a view in internal memory.
The technical scheme that the embodiment of the present invention provides, according to the size of described camera internal memory remaining space, adoptsIt is compressed processing to photo of finding a view by different compression algorithms, optimizes the compressed of photo of finding a view furtherJourney, decreases the memory space found a view shared by photo.
The method shown corresponding to a kind of photograph taking of above-described embodiment offer, the embodiment of the present invention also carriesThe device shown for a kind of photograph taking, as it is shown on figure 3, include:
Receive judge module 31, for receiving the instruction that photo is found a view, it is judged that camera internal memory remaining space is bigLittle;
Compression memory module 32, if little, to described photo of finding a view for described camera internal memory remaining spaceCompression is stored in described camera internal memory after processing;
Display removing module 33, for read described camera internal memory show described in find a view photo, and by instituteState photo of finding a view to delete from described camera internal memory.
The technical scheme that the embodiment of the present invention provides, in order to overcome shooting photo to be taken up space camera relatively greatlyThe shortcoming that memory headroom is less, is compressed the photo of shooting preserving, and shows by reading camera internal memoryShow and upload pictures, decrease photo and camera memory headroom is taken, optimize the memory storage of cameraSpace.
A kind of method shown for the photograph taking of camera provided corresponding to above-described embodiment, the present inventionEmbodiment also provides for the device that a kind of photograph taking shows, this device is used for camera end, as shown in Figure 4, bagInclude:
Receive judge module 41, for receiving the instruction that photo is found a view, it is judged that camera internal memory remaining space is bigLittle;
Compression memory module 42, if little, to described photo of finding a view for described camera internal memory remaining spaceCompression is stored in described camera internal memory after processing;
Display removing module 43, for read described camera internal memory show described in find a view photo, and by instituteState photo of finding a view to delete from described camera internal memory.
Wherein: described compression memory module 42, if it is big to be additionally operable to described camera internal memory remaining space, directlyAt photo of finding a view described in described camera memory storage.
Wherein: described compression memory module 42 includes:
Compression submodule 421, for the size according to described camera internal memory remaining space, uses different pressuresPhoto of finding a view is compressed processing by compression algorithm.
Described compression algorithm includes: jpeg algorithm, PNG algorithm and GIF algorithm.
Described compression submodule 421, specifically for needing what compression processed to find a view in photo, if describedCamera internal memory remaining space is big, uses PNG algorithm and GIF algorithm to be compressed, if in described cameraDeposit remaining space little, use jpeg algorithm to be compressed.
The technical scheme that the embodiment of the present invention provides, in order to overcome shooting photo to be taken up space camera relatively greatlyThe shortcoming that memory headroom is less, is compressed the photo of shooting preserving, and shows by reading camera internal memoryShow and upload pictures, decrease photo and camera memory headroom is taken, optimize the memory storage of cameraSpace.
Those skilled in the art are it should be appreciated that embodiments of the invention can be provided as method, system or meterCalculation machine program product.Therefore, the present invention can use complete hardware embodiment, complete software implementation or knotThe form of the embodiment in terms of conjunction software and hardware.And, the present invention can use and wherein wrap one or moreComputer-usable storage medium containing computer usable program code (include but not limited to disk memory andOptical memory etc.) form of the upper computer program implemented.
The present invention is with reference to method, equipment (system) and computer program product according to embodiments of the present inventionThe flow chart of product and/or block diagram describe.It should be understood that can by computer program instructions flowchart and/ or block diagram in each flow process and/or flow process in square frame and flow chart and/or block diagram and/Or the combination of square frame.These computer program instructions can be provided to general purpose computer, special-purpose computer, embeddingThe processor of formula datatron or other programmable data processing device is to produce a machine so that by calculatingThe instruction that the processor of machine or other programmable data processing device performs produces for realizing at flow chart oneThe device of the function specified in individual flow process or multiple flow process and/or one square frame of block diagram or multiple square frame.
These computer program instructions may be alternatively stored in and computer or the process of other programmable datas can be guided to setIn the standby computer-readable memory worked in a specific way so that be stored in this computer-readable memoryInstruction produce and include the manufacture of command device, this command device realizes in one flow process or multiple of flow chartThe function specified in flow process and/or one square frame of block diagram or multiple square frame.
These computer program instructions also can be loaded in computer or other programmable data processing device, makesSequence of operations step must be performed to produce computer implemented place on computer or other programmable devicesReason, thus the instruction performed on computer or other programmable devices provides for realizing flow chart oneThe step of the function specified in flow process or multiple flow process and/or one square frame of block diagram or multiple square frame.
Obviously, those skilled in the art can carry out various change and modification without deviating from this to the present inventionThe spirit and scope of invention.So, if these amendments of the present invention and modification belong to the claims in the present inventionAnd within the scope of equivalent technologies, then the present invention is also intended to comprise these change and modification.

Claims (10)

CN201610405194.2A2016-06-082016-06-08Method and device for taking and displaying picturePendingCN105959558A (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201610405194.2ACN105959558A (en)2016-06-082016-06-08Method and device for taking and displaying picture

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201610405194.2ACN105959558A (en)2016-06-082016-06-08Method and device for taking and displaying picture

Publications (1)

Publication NumberPublication Date
CN105959558Atrue CN105959558A (en)2016-09-21

Family

ID=56908166

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201610405194.2APendingCN105959558A (en)2016-06-082016-06-08Method and device for taking and displaying picture

Country Status (1)

CountryLink
CN (1)CN105959558A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN113516724A (en)*2021-07-132021-10-19东软医疗系统股份有限公司Image data transmission method and device
CN113656617A (en)*2021-07-222021-11-16南京信息职业技术学院 A kind of picture lossless compression storage method, system and intelligent mobile terminal

Citations (5)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
JP2003244647A (en)*2002-02-202003-08-29Fujitsu General LtdImage recording apparatus for monitoring
JP2004056741A (en)*2002-07-242004-02-19Fuji Photo Film Co LtdDigital camera
CN1816091A (en)*2005-02-012006-08-09乐金电子(中国)研究开发中心有限公司Memory device management method for video storage and mobile communication terminal thereof
CN105045844A (en)*2015-07-022015-11-11成都亿邻通科技有限公司Method for storing continuously shot photos
CN105045846A (en)*2015-06-302015-11-11广东欧珀移动通信有限公司Image storage method and terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
JP2003244647A (en)*2002-02-202003-08-29Fujitsu General LtdImage recording apparatus for monitoring
JP2004056741A (en)*2002-07-242004-02-19Fuji Photo Film Co LtdDigital camera
CN1816091A (en)*2005-02-012006-08-09乐金电子(中国)研究开发中心有限公司Memory device management method for video storage and mobile communication terminal thereof
CN105045846A (en)*2015-06-302015-11-11广东欧珀移动通信有限公司Image storage method and terminal
CN105045844A (en)*2015-07-022015-11-11成都亿邻通科技有限公司Method for storing continuously shot photos

Cited By (3)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN113516724A (en)*2021-07-132021-10-19东软医疗系统股份有限公司Image data transmission method and device
CN113516724B (en)*2021-07-132023-10-27东软医疗系统股份有限公司Image data transmission method and device
CN113656617A (en)*2021-07-222021-11-16南京信息职业技术学院 A kind of picture lossless compression storage method, system and intelligent mobile terminal

Similar Documents

PublicationPublication DateTitle
US9473702B2 (en)Controlling image capture and/or controlling image processing
CN104361070B (en)Save continuous photo storage method, photo restoring method and the system of memory space
CN103366341A (en)Method and device for adaptive-resolution display of image
CN105472246A (en)Photographing device and method
US10134137B2 (en)Reducing storage using commonalities
CN105959558A (en)Method and device for taking and displaying picture
CN103795928B (en)A kind of raw data format photo processing method and system
US8654206B2 (en)Apparatus and method for generating high dynamic range image
CN105339953A (en)Method and apparatus for digital image capture
US10735754B2 (en)Chromatic aberration modeling in image compression and enhancement
US20150043833A1 (en)Image processing method and electronic device
CN104361559B (en)A kind of image enlargement processing method and system based on small image memory
CN105516594A (en) Image capturing method and device
EP2675171A1 (en)Transparency information in image or video format not natively supporting transparency
CN107240076A (en)Image processing method and device
US9424627B2 (en)System and method for high-performance client-side in-browser scaling of digital images
CN112084155B (en) Image processing method, device, equipment, terminal and readable storage medium
CN113674153B (en)Image processing chip, electronic device, image processing method, and storage medium
US10405005B1 (en)Methods and systems for video compression based on dynamic vector wave compression
US20060159349A1 (en)Method for processing image frame
WO2017107605A1 (en)Image detail processing method, device, terminal and storage medium
CN1893560A (en)Electronic equipment and menu display method
KR100690855B1 (en) A method of displaying a subject image during shooting and a mobile terminal to which the method is applied
CN104702847B (en)Image resolution ratio method of adjustment and device
CN116453131B (en) Document image correction method, electronic device and storage medium

Legal Events

DateCodeTitleDescription
C06Publication
PB01Publication
C10Entry into substantive examination
SE01Entry into force of request for substantive examination
RJ01Rejection of invention patent application after publication
RJ01Rejection of invention patent application after publication

Application publication date:20160921


[8]ページ先頭

©2009-2025 Movatter.jp