Performing Quantization on images

5 views (last 30 days)
FIR
FIR on 14 Dec 2012
I have performed dwt2 on a image ,and have its coefficient,and sampled it,now i want to quantise the cA,cH coefficients to single image ,please help
the size of cA after sampling ,is 128x128 and cH after sampling is 128x128,now i want to perform quantization on cA,cH and get a single image please help

Answers (1)

Image Analyst
Image Analyst on 14 Dec 2012
I don't know what you mean. There is a new imquantize() in the Image Processing Toolbox - I think it started in R2012b. See if that will do what you want.
If you want to do stitching of images instead, just put the in brackets:
horizontallyStitchedImage = [image1, image2]
verticallyStitchedImage = [image1; image2]
Of course the dimension (number of rows or columns) along the stitching seam must be equal.
  8 Comments
Image Analyst
Image Analyst on 15 Dec 2012
Edited: Image Analyst on 15 Dec 2012
I think compressive sensing is way beyond FIR's abilities, and possibly beyond mine (though I've never delved into it). FIR, as you should know, Walter does not need to provide syntax because the syntax is already provided by the Mathworks in comprehensive help documentation, even including numerous examples in the help, and lots of training and tutorials (even video tutorials by Doug Hull) via MATLAB Central web site, as well as classroom instructor-led training. There is so much training on syntax that I'm surprised you haven't encountered it yet. But since you haven't I suggest you start with the Getting Started section of the help, and Doug Hull's video tutorials or the section on syntax here.
Walter Roberson
Walter Roberson on 15 Dec 2012
There is no special syntax for compressive sensing.
There are no Mathworks provided library routines or toolboxes specifically for compressive sensing. You can find some example code in the File Exchange.

Sign in to comment.

Categories

Find more on AI for Signals and Images 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!