Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
MJ2 binaries revisited in branch15
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  2 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
szukw...@arcor.de  
View profile  
 More options Apr 18 2012, 3:25 pm
From: szukw...@arcor.de
Date: Wed, 18 Apr 2012 21:25:12 +0200
Local: Wed, Apr 18 2012 3:25 pm
Subject: [OpenJPEG] MJ2 binaries revisited in branch15

1. wrap_j2k_in_mj2 input/from_[0:n-1].j2k FROM_J2K.mj2
======================================================
   enumcs: either ENUMCS_SRGB or ENUMCS_GRAY.

1.1. mj2_to_frames FROM_J2K.mj2 FROM_J2K.yuv
     ===========================================
     The input file should be refused because the enumcs is not SYCC
      but SRGB or GRAY.

     Currently BMP files are created using all three components.

1.2. extract_j2k_from_mj2 FROM_J2K.mj2 output/FROM_J2K_[0:n-1]
     =========================================================
     OK: enumcs SYCC is correct.

2. frames_to_mj2 -i FROM_YUV.yuv -o FROM_YUV.mj2
====================================================
   enumcs: ENUMCS_SYCC.

2.1. mj2_to_frames FROM_YUV.mj2 FROM_YUV.yuv
     ===========================================
     OK: enumcs SYCC is correct.

2.2. extract_j2k_from_mj2 FROM_YUV.mj2 output/FROM_YUV
     ==================================================
     The input file should be refused because the enumcs is SYCC
      instead of SRGB or GRAY.

     Currently J2K files are created.

     Using one of these J2K files, e.g. FROM_YUV_00000.j2k:

     j2k_to_image -i FROM_YUV_00000.j2k -o FROM_YUV_00000.bmp

      The BMP file uses component[0] only.

     j2k_to_image -i FROM_YUV_00000.j2k -o FROM_YUV_00000.pnm

      For each component a PNM file is created.

     j2k_to_image -i FROM_YUV_00000.j2k -o FROM_YUV_00000.png

      Refused.

     j2k_to_image -i FROM_YUV_00000.j2k -o FROM_YUV_00000.tga

      Refused.

     j2k_to_image -i FROM_YUV_00000.j2k -o FROM_YUV_00000.tif

      Refused.

The attached patch corrects the code in the mj2 directory.

As the values for ENUMCS_GRAY and ENUMCS_SRGB are wrong, I have
put the three values into openjpeg.h: one file, one change.

The correct values are:

#define ENUMCS_SRGB 16
#define ENUMCS_GRAY 17
#define ENUMCS_SYCC 18

winfried

  openjpeg-branch15-r1626-2-MJ2.dif.gz
10K Download

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Mathieu Malaterre  
View profile  
 More options Apr 23 2012, 9:23 am
From: Mathieu Malaterre <mathieu.malate...@gmail.com>
Date: Mon, 23 Apr 2012 15:23:59 +0200
Local: Mon, Apr 23 2012 9:23 am
Subject: Re: [OpenJPEG] MJ2 binaries revisited in branch15
Applied:

http://code.google.com/p/openjpeg/source/detail?r=1640

Thanks

--
Mathieu

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »