-
Notifications
You must be signed in to change notification settings - Fork 183
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[DIP] Add BMP image encoding and decoding. (#186)
* [DIP] Complete the constructor declaration of the image container Img class * [DIP] Adds definitions for constructor and member functions of the Img class * [DIP] Add a constructor to the Img class to implement Load image data from OpenCV Mat * [DIP] Modify the format of the code * [DIP] Added image encoding and decoding files, modified from opencv * [DIP] Added image encoding and decoding files, modified from opencv * [DIP] Modify the file format * [DIP] Added image encoding and decoding files, modified from opencv * [DIP] Added image encoding and decoding files, modified from opencv * [DIP] Added the main analysis file of bmp image (read header node, read image data) * [DIP] Added read and save functions for images * [DIP] Modify the comments of the read and save functions for images * [tests] Add a test image for the image container TestGrayImage.bmp * [DIP] Add a data pointer to the img class to access image data * [tests] Add move constructor test and copy constructor test * [examples] Add examples of test images YuTu.bmp * [examples][DIPDialect] replace opencv's imread and imwrite with our imread and imwrite * [examples][DIPDialect] replace opencv's imread and imwrite with our imread and imwrite * [examples][DIPDialect] Add the namespace dip to the Img class * [examples][DIP] Add the namespace dip to the Img class * [DIP] Example Modify the step setting * [DIP] Delete the definition of a move construct * [DIP] Delete some comments * [DIP] Modify the comments of the file * [DIP] Modify the grfmt_bmp.hpp file format * [DIP] Modify the bmp image 32-bit RGB image to grayscale image conversion function * [DIP] Img container doesn't need dip namespace * [DIP] _type should be placed after rows and cols to match initialize order. * [DIP] Modify the channels() function definition * [DIP] if image decoder doesn't exist throw an error. * [examples] Test against the old opencv * [DIP] Remove '_' before variable name * [DIP] add move constructor * [DIP] remove the data member variable from the Img container, replacing it with getData() * [DIP] Remove '_' after function name * [DIP] unify filenames in imgcodecs,use .h as suffix,remove ////////... in the header of these reused files, which exceeds 80 column limitation. * [DIP][examples] Remove the type definition in replenishment * [DIP] Delete the channels member variable of the Img class * [DIP] Modify the channels() function of the Img class * [DIP] Modify the constructor of the Img class so that the imread function can pass parameters dynamically * [DIP] Modify the Img constructor, replacing it with MemRef --------- Co-authored-by: Guan-schoolmate <[email protected]>
- Loading branch information
1 parent
c9f7c37
commit 830204f
Showing
12 changed files
with
2,041 additions
and
136 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.