matlab code for JPEG2000
Show older comments
Can any one soon provide me matlab code for implementing JPEG2000 . Thank you in advance.
Accepted Answer
More Answers (1)
N/A
on 15 Nov 2018
6 Comments
Walter Roberson
on 15 Nov 2018
Edited: Walter Roberson
on 15 Nov 2018
>> imfinfo('newImage.jp2')
ans =
struct with fields:
Filename: '/Users/roberson/MATLAB/4/429/429805/newImage.jp2'
FileModDate: '15-Nov-2018 12:22:28'
FileSize: 331669
Format: 'JP2'
FormatVersion: []
Width: 512
Height: 509
BitDepth: 24
ColorType: 'truecolor'
BitsPerSample: [8 8 8]
CodeBlockDims: [64 64]
CodestreamComponents: 3
CodestreamProfile: 'PROFILE2'
ColorSpace: 'sRGB'
Comments: {'My JPEG2000 file'}
ChannelDefinition: {3×3 cell}
ImageStartLocation: [1 1]
NumberOfTiles: 1
ProgressionOrder: 'LRCP: Layer, Resolution, Component, Position'
QualityLayers: 1
TileSize: [509 512]
WaveletDecompositionLevels: 4
WaveletKernel: '9x7'
WidthSubSampling: [1 1 1]
HeightSubSampling: [1 1 1]
>> imfinfo('index.png')
ans =
struct with fields:
Filename: '/Users/roberson/MATLAB/4/429/429805/index.png'
FileModDate: '15-Nov-2018 12:19:52'
FileSize: 236547
Format: 'png'
FormatVersion: []
Width: 512
Height: 509
BitDepth: 24
ColorType: 'truecolor'
FormatSignature: [137 80 78 71 13 10 26 10]
Colormap: []
Histogram: []
InterlaceType: 'none'
Transparency: 'none'
SimpleTransparencyData: []
BackgroundColor: []
RenderingIntent: []
Chromaticities: []
Gamma: 0.454549998044968
XResolution: []
YResolution: []
ResolutionUnit: []
XOffset: []
YOffset: []
OffsetUnit: []
SignificantBits: []
ImageModTime: []
Title: []
Author: []
Description: []
Copyright: []
CreationTime: []
Software: []
Disclaimer: []
Warning: []
Source: []
Comment: []
OtherText: []
Walter Roberson
on 15 Nov 2018
I notice the jp2 is larger than the png.
N/A
on 15 Nov 2018
Walter Roberson
on 15 Nov 2018
Walter Roberson
on 15 Nov 2018
Edited: Walter Roberson
on 15 Nov 2018
R2010a or later for JPEG 2000 support.
Your R14 (7.0.0) is over 14 years old. Time for you to upgrade.
N/A
on 15 Nov 2018
Categories
Find more on Convert Image Type in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!