Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Distorted dimensions of image obtained after construction from byte value?

I am using

Mat img = new Mat(440, 442, CvType.CV_8UC1); img.put(0, 0, bytearray);

To construct back a grayscale image of 440*442 dimension after performing few conversion function on its pixel value.The obtained image has a change in its bit Depth which is 24 in the original image and 8 in the constructed image. The reconstructed image is below::::::: image description

Distorted dimensions of image obtained after construction from byte value?

I am using

Mat img = new Mat(440, 442, CvType.CV_8UC1); img.put(0, 0, bytearray);

To construct back a grayscale image of 440*442 dimension after performing few conversion function on its pixel value.The obtained image has a change in its bit Depth which is 24 in the original image and 8 in the constructed image. The reconstructed image is below::::::: image description

Distorted dimensions size of image obtained after construction from byte value?

I am using

Mat img = new Mat(440, 442, CvType.CV_8UC1); img.put(0, 0, bytearray);

To construct back a grayscale image of 440*442 dimension after performing few conversion function on its pixel value.The obtained image has a change in its bit Depth which is 24 in the original image and 8 in the constructed image. The reconstructed image is below::::::: image description

click to hide/show revision 4
retagged

updated 2018-05-04 01:21:35 -0600

berak gravatar image

Distorted size of image obtained after construction from byte value?

I am using

Mat img = new Mat(440, 442, CvType.CV_8UC1); img.put(0, 0, bytearray);

To construct back a grayscale image of 440*442 dimension after performing few conversion function on its pixel value.The obtained image has a change in its bit Depth which is 24 in the original image and 8 in the constructed image. The reconstructed image is below::::::: image description

Distorted size of image obtained after construction from byte value?

I am using

Mat img = new Mat(440, 442, CvType.CV_8UC1); img.put(0, 0, bytearray);

To construct back a grayscale image of 440*442 dimension after performing few conversion function on its pixel value.The obtained image has a change in its bit Depth which is 24 in the original image and 8 in the constructed image. The reconstructed image is below::::::: image description

The original image::::::: image description